← Back

CVE-2022-41722

nvd nist
Published: Feb 28, 2023Modified: Nov 21, 2024

JSON object

Loading...
7.5
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Exploitability: 3.9 / Impact: 3.6
Source: NVD

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

Affected (2)

Products: Golang: Go
1 product
Go
Configuration A
2 vulnerable · 1 platform
Vulnerable SoftwareAffected Versions
Golang
Before 1.19.6
Version 1.20.0
Running on/withPlatform Versions
Microsoft
Windows
All versions

References (8)

Source: security@golang.org
Issue Tracking
Source: security@golang.org
Issue Tracking
Source: security@golang.org
Mailing ListVendor Advisory
Source: security@golang.org
Vendor Advisory
Source: af854a3a-2127-422b-91ae-364da2661108
Issue Tracking
Source: af854a3a-2127-422b-91ae-364da2661108
Issue Tracking
Source: af854a3a-2127-422b-91ae-364da2661108
Mailing ListVendor Advisory
Source: af854a3a-2127-422b-91ae-364da2661108
Vendor Advisory

Timeline

No history available yet.