Directory Traversal Affecting go1.18-doc package, versions <1.18.3-150000.1.20.1
Threat Intelligence
EPSS
0.16% (54th
percentile)
Do your applications use this vulnerable package?
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applications- Snyk ID SNYK-SLES154-GO118DOC-2863531
- published 9 Jun 2022
- disclosed 7 Jun 2022
Introduced: 7 Jun 2022
CVE-2022-29804 Open this link in a new tabHow to fix?
Upgrade SLES:15.4 go1.18-doc to version 1.18.3-150000.1.20.1 or higher.
NVD Description
Note: Versions mentioned in the description apply only to the upstream go1.18-doc package and not the go1.18-doc package as distributed by SLES.
See How to fix? for SLES:15.4 relevant fixed versions and status.
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://www.suse.com/security/cve/CVE-2022-29804.html
- https://bugzilla.suse.com/1200137
- 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
- https://go.dev/cl/401595
- https://go.dev/issue/52476
- https://groups.google.com/g/golang-announce
- https://groups.google.com/g/golang-announce/c/TzIC9-t8Ytg
CVSS Scores
version 3.1