{"schema_version":"1.7.3","id":"BIT-golang-2022-29804","published":"2024-03-06T11:00:46.305Z","modified":"2025-05-20T10:02:07.006Z","aliases":["CVE-2022-29804","GO-2022-0533"],"summary":"Path traversal via Clean on Windows in path/filepath","details":"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":[{"package":{"name":"golang","ecosystem":"Bitnami","purl":"pkg:bitnami/golang"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.17.11"},{"introduced":"1.18.0"},{"fixed":"1.18.3"}]}],"database_specific":{"source":"https://github.com/bitnami/vulndb/tree/main/data/golang/BIT-golang-2022-29804.json"},"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"}]}],"references":[{"type":"WEB","url":"https://go.dev/cl/401595"},{"type":"WEB","url":"https://go.dev/issue/52476"},{"type":"WEB","url":"https://go.googlesource.com/go/+/9cd1818a7d019c02fa4898b3e45a323e35033290"},{"type":"WEB","url":"https://groups.google.com/g/golang-announce/c/TzIC9-t8Ytg/m/IWz5T6x7AAAJ"},{"type":"WEB","url":"https://pkg.go.dev/vuln/GO-2022-0533"},{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-29804"}],"database_specific":{"cpes":["cpe:2.3:a:golang:go:*:*:*:*:*:*:*:*"],"severity":"High"}}