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
Link | Resource |
---|---|
https://go.googlesource.com/go/+/9cd1818a7d019c02fa4898b3e45a323e35033290 | Mailing List Patch Vendor Advisory |
https://groups.google.com/g/golang-announce/c/TzIC9-t8Ytg/m/IWz5T6x7AAAJ | Mailing List Release Notes |
https://pkg.go.dev/vuln/GO-2022-0533 | Patch Vendor Advisory |
https://go.dev/cl/401595 | Patch Vendor Advisory |
https://go.dev/issue/52476 | Patch Vendor Advisory |
Configurations
Configuration 1 (hide)
AND |
|
Information
Published : 2022-08-10 13:15
Updated : 2023-02-28 06:56
NVD link : CVE-2022-29804
Mitre link : CVE-2022-29804
JSON object : View
CWE
CWE-22
Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
Products Affected
golang
- go
microsoft
- windows