CVE-2022-29804
Dashboard / Vulnerabilities / CVE-2022-29804
CVE-2022-29804
Published: 9 Aug 2022Last Modified: 12 Aug 2026
Summary: Path traversal via Clean on Windows in path/filepath
Details: 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.
References: https://go.dev/cl/401595, https://go.dev/issue/52476, https://go.googlesource.com/go/+/9cd1818a7d019c02fa4898b3e45a323e35033290, https://groups.google.com/g/golang-announce/c/TzIC9-t8Ytg/m/IWz5T6x7AAAJ, https://pkg.go.dev, https://pkg.go.dev/vuln/GO-2022-0533, https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/29xxx/CVE-2022-29804.json, https://nvd.nist.gov/vuln/detail/CVE-2022-29804
Affected packages
Package
Name:
Purl:
Affected ranges
Affected versions
go1.17.10
go1.17.9
go1.17.8
go1.17.7
go1.17.6
go1.17.5
go1.17.4
go1.17.3
go1.17.2
go1.17.1
go1.17
Common Vulnerability Scoring System
Attack Vector
Network
Adjacent
Local
Physical
Privileges Required
None
Low
High
User Interaction
None
Required
Scope
Unchanged
Changed
Confidentiality
None
Low
High
Integrity
None
Low
High
Availability
None
Low
High
