Description (CNA)
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.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| Go standard library / path/filepath | affected 0 before 1.17.11; affected 1.18.0-0 before 1.18.3 |
CWE
No CWE identifiers supplied.
References
- https://go.dev/cl/401595
- https://go.googlesource.com/go/+/9cd1818a7d019c02fa4898b3e45a323e35033290
- https://go.dev/issue/52476
- https://groups.google.com/g/golang-announce/c/TzIC9-t8Ytg/m/IWz5T6x7AAAJ
- https://pkg.go.dev/vuln/GO-2022-0533
ADP enrichment
No English description supplied.