CVE-2022-29804
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.
- Score
- CVSS 3.1 7.5 High
- Status
- Modified - security@golang.org
- Published
- 2022-08-10
- Last modified
- 2024-08-03
- Weaknesses
- CWE-22
Affected products
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/vuln/GO-2022-0533