CVEvulnerability
CVE-2022-29804
7.5 HIGH
Official page ↗
- Status
- Modified
- Published
- 2022-08-10
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.1 ([email protected])
- 7.5 HIGH — CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- Weaknesses
- CWE-22
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.
Affected configurations
• golang go (< 1.17.11)
• golang go (>= 1.18.0 < 1.18.3)
Related
Weakness · CWE (1)
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory weakness
References
- https://go.dev/cl/401595 go.dev
- https://go.dev/issue/52476 go.dev
- https://go.googlesource.com/go/+/9cd1818a7d019c02fa4898b3e45a323e35033290 go.googlesource.com
- https://groups.google.com/g/golang-announce/c/TzIC9-t8Ytg/m/IWz5T6x7AAAJ groups.google.com
- https://pkg.go.dev/vuln/GO-2022-0533 pkg.go.dev
- https://go.dev/cl/401595 go.dev
- https://go.dev/issue/52476 go.dev
- https://go.googlesource.com/go/+/9cd1818a7d019c02fa4898b3e45a323e35033290 go.googlesource.com
- https://groups.google.com/g/golang-announce/c/TzIC9-t8Ytg/m/IWz5T6x7AAAJ groups.google.com
- https://pkg.go.dev/vuln/GO-2022-0533 pkg.go.dev