← Back to CVEs
CVE-2022-41722
HIGH7.5
Description
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".
CVE Details
CVSS v3.1 Score7.5
SeverityHIGH
CVSS VectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Attack VectorNETWORK
ComplexityLOW
Privileges RequiredNONE
User InteractionNONE
Published2/28/2023
Last Modified11/21/2024
Sourcenvd
Honeypot Sightings0
Affected Products
golang:gomicrosoft:windows
Weaknesses (CWE)
CWE-22
References
https://go.dev/cl/468123(security@golang.org)
https://go.dev/issue/57274(security@golang.org)
https://groups.google.com/g/golang-announce/c/V0aBFqaFs_E(security@golang.org)
https://pkg.go.dev/vuln/GO-2023-1568(security@golang.org)
https://go.dev/cl/468123(af854a3a-2127-422b-91ae-364da2661108)
https://go.dev/issue/57274(af854a3a-2127-422b-91ae-364da2661108)
https://groups.google.com/g/golang-announce/c/V0aBFqaFs_E(af854a3a-2127-422b-91ae-364da2661108)
https://pkg.go.dev/vuln/GO-2023-1568(af854a3a-2127-422b-91ae-364da2661108)
IOC Correlations
No correlations recorded
This product uses data from the NVD API but is not endorsed or certified by the NVD.