{ "id": "CVE-2022-41722", "sourceIdentifier": "security@golang.org", "published": "2023-02-28T18:15:09.887", "lastModified": "2023-11-07T03:52:55.580", "vulnStatus": "Modified", "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\"." } ], "metrics": { "cvssMetricV31": [ { "source": "nvd@nist.gov", "type": "Primary", "cvssData": { "version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "NONE", "availabilityImpact": "NONE", "baseScore": 7.5, "baseSeverity": "HIGH" }, "exploitabilityScore": 3.9, "impactScore": 3.6 } ] }, "weaknesses": [ { "source": "nvd@nist.gov", "type": "Primary", "description": [ { "lang": "en", "value": "CWE-22" } ] } ], "configurations": [ { "operator": "AND", "nodes": [ { "operator": "OR", "negate": false, "cpeMatch": [ { "vulnerable": false, "criteria": "cpe:2.3:o:microsoft:windows:-:*:*:*:*:*:*:*", "matchCriteriaId": "A2572D17-1DE6-457B-99CC-64AFD54487EA" } ] }, { "operator": "OR", "negate": false, "cpeMatch": [ { "vulnerable": true, "criteria": "cpe:2.3:a:golang:go:*:*:*:*:*:*:*:*", "versionEndExcluding": "1.19.6", "matchCriteriaId": "2219CF76-6D17-487E-9B67-BC49E4743528" }, { "vulnerable": true, "criteria": "cpe:2.3:a:golang:go:1.20.0:-:*:*:*:*:*:*", "matchCriteriaId": "B78574DF-045C-4A26-B0F5-8C082B24D9FD" } ] } ] } ], "references": [ { "url": "https://go.dev/cl/468123", "source": "security@golang.org", "tags": [ "Issue Tracking" ] }, { "url": "https://go.dev/issue/57274", "source": "security@golang.org", "tags": [ "Issue Tracking" ] }, { "url": "https://groups.google.com/g/golang-announce/c/V0aBFqaFs_E", "source": "security@golang.org", "tags": [ "Mailing List", "Vendor Advisory" ] }, { "url": "https://pkg.go.dev/vuln/GO-2023-1568", "source": "security@golang.org", "tags": [ "Vendor Advisory" ] } ] }