High severity · published Aug 9, 2022
CVE-2022-29804
Path traversal via Clean on Windows in path/filepath
7.5
CVSS
2.4%
EPSS
No
On KEV
Description
Incorrect 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.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
None
Confidentiality
High
Integrity
None
Availability
None
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)2.4% · higher than 84% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
PA
path/filepath · Go standard library
before 1.17.11; 1.18.0-0 before 1.18.3 · source: vendor
GO
GO · Golang
before 1.17.11; 1.18.0 before 1.18.3 · source: NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2022-29804
CVE.org
https://www.cve.org/CVERecord?id=CVE-2022-29804
go.dev
https://go.dev/cl/401595
go.dev
https://go.dev/issue/52476
go.googlesource.com
https://go.googlesource.com/go/+/9cd1818a7d019c02fa4898b3e45a323e35033290
groups.google.com
https://groups.google.com/g/golang-announce/c/TzIC9-t8Ytg/m/IWz5T6x7AAAJ
pkg.go.dev
https://pkg.go.dev/vuln/GO-2022-0533
More from path/filepath
7.5
CVE-2022-30632
Stack exhaustion on crafted paths in path/filepath
