CVE-2022-41722

golang-1.19: A path traversal vulnerability exists in filepath.Clean on Windows

CVE-2022-41722 is fixed in 9 products on 1 platform, first by DEBIAN-CVE-2022-41722, released February 28, 2023. It is not reported as exploited. Patch Radar priority: High.

High
CVSS
7.5
high
Exploitation
None reported
No vendor assessment
CISA KEV
Not listed
Not in the Known Exploited Vulnerabilities catalog
EPSS
0.0168
77th percentile

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

Where it's fixed

ProductFixed inFixReleased
Linux
golang · amzn 2023 1.19.8-1.amzn2023.0.1 ALAS2023-2023-175 Apr 27, 2023
golang-1.19 · Debian 12.15 (bookworm) 1.19.6-2 DEBIAN-CVE-2022-41722 Feb 28, 2023
golang-bin · amzn 2023 1.19.8-1.amzn2023.0.1 ALAS2023-2023-175 Apr 27, 2023
golang-docs · amzn 2023 1.19.8-1.amzn2023.0.1 ALAS2023-2023-175 Apr 27, 2023
golang-misc · amzn 2023 1.19.8-1.amzn2023.0.1 ALAS2023-2023-175 Apr 27, 2023
golang-race · amzn 2023 1.19.8-1.amzn2023.0.1 ALAS2023-2023-175 Apr 27, 2023
golang-shared · amzn 2023 1.19.8-1.amzn2023.0.1 ALAS2023-2023-175 Apr 27, 2023
golang-src · amzn 2023 1.19.8-1.amzn2023.0.1 ALAS2023-2023-175 Apr 27, 2023
golang-tests · amzn 2023 1.19.8-1.amzn2023.0.1 ALAS2023-2023-175 Apr 27, 2023

Patch Radar data is free to use with attribution. Terms and how to credit it.

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.