CVE-2022-41722 Details
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".
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Mar 7, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://go.dev/cl/468123 | CVE | Issue Tracking |
| https://go.dev/issue/57274 | CVE | Issue Tracking |
| https://groups.google.com/g/golang-announce/c/V0aBFqaFs_E | CVE | Mailing ListVendor Advisory |
| https://pkg.go.dev/vuln/GO-2023-1568 | CVE | Vendor Advisory |
| https://go.dev/cl/468123 | [email protected] | Issue Tracking |
| https://go.dev/issue/57274 | [email protected] | Issue Tracking |
| https://groups.google.com/g/golang-announce/c/V0aBFqaFs_E | [email protected] | Mailing ListVendor Advisory |
| https://pkg.go.dev/vuln/GO-2023-1568 | [email protected] | Vendor Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-22 | Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| golang go | < 1.19.6 1.20.0 - |
CPE
Remediation
| |
| microsoft windows | All versions |
CPE
Remediation
| |
Change History
6 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Nov 21, 2024 | CVE Modified | CVE |
| May 14, 2024 | CVE Modified | [email protected] |
| Nov 7, 2023 | CVE Modified | [email protected] |
| Mar 10, 2023 | Initial Analysis | [email protected] |