{"id":"CVE-2022-29804","published":"2022-08-09T00:00:00Z","modified":"2024-08-03T06:33:42Z","title":"Path traversal via Clean on Windows in path/filepath","vendor":"Go standard library","product":"path/filepath","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.02392,"percentile":0.84379,"provenance":"source"},"cwes":[],"references":[{"url":"https://go.dev/cl/401595","tags":[]},{"url":"https://go.googlesource.com/go/+/9cd1818a7d019c02fa4898b3e45a323e35033290","tags":[]},{"url":"https://go.dev/issue/52476","tags":[]},{"url":"https://groups.google.com/g/golang-announce/c/TzIC9-t8Ytg/m/IWz5T6x7AAAJ","tags":[]},{"url":"https://pkg.go.dev/vuln/GO-2022-0533","tags":[]}],"priority":{"score":16.9,"factors":[{"name":"EPSS percentile","points":16.88}]},"vendorSlug":"go-standard-library","affectedVersions":[{"vendor":"Go standard library","product":"path/filepath","versions":["< 1.17.11",">= 1.18.0-0, < 1.18.3"]}],"affected":[{"ecosystem":"Go","package":"stdlib","vulnerableRanges":["<1.17.11",">=1.18.0-0, <1.18.3"],"patched":["1.17.11","1.18.3"],"from":["GO-2022-0533"],"provenance":"source"}],"summary":{"text":"The flaw is in the Clean function of the path/filepath package in the Go standard library on Windows, where certain invalid paths are incorrectly converted into valid absolute paths. An attacker who can supply a crafted path to an affected Go build can potentially perform a directory traversal.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:33:52Z"},"euvd":{"id":"EUVD-2022-34125","exploited":false,"provenance":"source"}}