cve.bz

CVE-2022-41722

7.5 highEPSS 1.7%

High (7.5) in golang go. EPSS 1.7% chance of exploitation in the next 30 days. Fixed in stdlib 1.19.6, 1.20.1.

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".

Severity

CVSS 3.1

7.5 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
EPSS
1.7% chance of exploitation in the next 30 days; higher than 76% of CVEs (scores of 2026-10-31)
CWE
CWE-22
Published
Modified
Record from
the NVD, synced

Affected

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GO-2023-1568Gostdlib<1.19.6
>=1.20.0-0 <1.20.1
1.19.6, 1.20.1

References

Check your stackJSON