CVE-2022-29804

Summary

CVECVE-2022-29804
StatePUBLIC
Assigner[email protected]
Source PriorityCVE Program / NVD first with legacy fallback
Published2022-08-10 20:15:00 UTC
Updated2023-11-07 03:46:00 UTC
DescriptionIncorrect conversion of certain invalid paths to valid, absolute paths in Clean in path/filepath before Go 1.17.11 and Go 1.18.3 on Windows allows potential directory traversal attack.

Risk And Classification

Problem Types: CWE-22

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Application Golang Go All All All All
Operating System Microsoft Windows - All All All

References

ReferenceSourceLinkTags
go.dev/cl/401595 go.dev
9cd1818a7d019c02fa4898b3e45a323e35033290 - go - Git at Google go.googlesource.com
GO-2022-0533 - Go Packages pkg.go.dev
[security] Go 1.18.3 and Go 1.17.11 are released groups.google.com
golang-announce - Google Groups MISC groups.google.com
path/filepath: Clean(`.\c:`) returns `c:` on Windows · Issue #52476 · golang/go · GitHub MISC go.dev
[security] Go 1.18.3 and Go 1.17.11 are released CONFIRM groups.google.com
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Legacy QID Mappings

  • 159981 Oracle Enterprise Linux Security Update for go-toolset:ol8addon (ELSA-2022-17956)
  • 159984 Oracle Enterprise Linux Security Update for ol8addon (ELSA-2022-17957)
  • 378599 Splunk Enterprise Third Party Package Updates for June (SVD-2023-0613)
  • 378883 Splunk Enterprise August Third Party Package Updates (SVD-2023-0808)
  • 502459 Alpine Linux Security Update for go
  • 672294 EulerOS Security Update for golang (EulerOS-SA-2022-2651)
  • 672302 EulerOS Security Update for golang (EulerOS-SA-2022-2683)
  • 672320 EulerOS Security Update for golang (EulerOS-SA-2022-2710)
  • 672362 EulerOS Security Update for golang (EulerOS-SA-2022-2766)
  • 672365 EulerOS Security Update for golang (EulerOS-SA-2022-2731)
  • 690876 Free Berkeley Software Distribution (FreeBSD) Security Update for go (15888c7e-e659-11ec-b7fe-10c37b4ac2ea)
  • 753266 SUSE Enterprise Linux Security Update for go1.18 (SUSE-SU-2022:2005-1)
  • 753436 SUSE Enterprise Linux Security Update for go1.17 (SUSE-SU-2022:2004-1)
  • 754047 SUSE Enterprise Linux Security Update for go1.18-openssl (SUSE-SU-2023:2312-1)
© CVE.report 2026 |

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

CVE.report and Source URL Uptime Status status.cve.report