{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2022-41722","assignerOrgId":"1bb62c36-49e3-4200-9d77-64a1400537cc","state":"PUBLISHED","assignerShortName":"Go","dateReserved":"2022-09-28T17:00:06.610Z","datePublished":"2023-02-28T17:19:41.324Z","dateUpdated":"2025-03-07T17:58:57.055Z"},"containers":{"cna":{"providerMetadata":{"orgId":"1bb62c36-49e3-4200-9d77-64a1400537cc","shortName":"Go","dateUpdated":"2023-06-12T19:05:50.152Z"},"title":"Path traversal on Windows in path/filepath","descriptions":[{"lang":"en","value":"A path traversal vulnerability exists in filepath.Clean on Windows. On Windows, the filepath.Clean function could transform an invalid path such as \"a/../c:/b\" into the valid path \"c:\\b\". This transformation of a relative (if invalid) path into an absolute path could enable a directory traversal attack. After fix, the filepath.Clean function transforms this path into the relative (but still invalid) path \".\\c:\\b\"."}],"affected":[{"vendor":"Go standard library","product":"path/filepath","collectionURL":"https://pkg.go.dev","packageName":"path/filepath","versions":[{"version":"0","lessThan":"1.19.6","status":"affected","versionType":"semver"},{"version":"1.20.0-0","lessThan":"1.20.1","status":"affected","versionType":"semver"}],"platforms":["windows"],"programRoutines":[{"name":"Clean"},{"name":"Abs"},{"name":"Dir"},{"name":"EvalSymlinks"},{"name":"Glob"},{"name":"IsLocal"},{"name":"Join"},{"name":"Rel"},{"name":"Walk"},{"name":"WalkDir"}],"defaultStatus":"unaffected"}],"problemTypes":[{"descriptions":[{"lang":"en","description":"CWE-22: Improper Limitation of a Pathname to a Restricted\nDirectory (\"Path Traversal\")\n"}]}],"references":[{"url":"https://go.dev/issue/57274"},{"url":"https://go.dev/cl/468123"},{"url":"https://groups.google.com/g/golang-announce/c/V0aBFqaFs_E"},{"url":"https://pkg.go.dev/vuln/GO-2023-1568"}],"credits":[{"lang":"en","value":"RyotaK (https://ryotak.net)"}]},"adp":[{"providerMetadata":{"orgId":"af854a3a-2127-422b-91ae-364da2661108","shortName":"CVE","dateUpdated":"2024-08-03T12:49:43.602Z"},"title":"CVE Program Container","references":[{"url":"https://go.dev/issue/57274","tags":["x_transferred"]},{"url":"https://go.dev/cl/468123","tags":["x_transferred"]},{"url":"https://groups.google.com/g/golang-announce/c/V0aBFqaFs_E","tags":["x_transferred"]},{"url":"https://pkg.go.dev/vuln/GO-2023-1568","tags":["x_transferred"]}]},{"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2025-03-07T17:58:38.218567Z","id":"CVE-2022-41722","options":[{"Exploitation":"none"},{"Automatable":"yes"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"title":"CISA ADP Vulnrichment","providerMetadata":{"orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","shortName":"CISA-ADP","dateUpdated":"2025-03-07T17:58:57.055Z"}}]}}