CVE-2022-41722
Published: 28 February 2023
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".
Notes
Author | Note |
---|---|
litios | This vulnerability can only be exploited in Windows. Binaries cross-compiled in Ubuntu are affected if they are later on used in Windows. |
Priority
Status
Package | Release | Status |
---|---|---|
golang-1.20 Launchpad, Ubuntu, Debian |
focal |
Not vulnerable
(Windows-specific)
|
kinetic |
Does not exist
|
|
trusty |
Ignored
(end of standard support)
|
|
upstream |
Not vulnerable
(debian: Windows-specific)
|
|
xenial |
Ignored
(end of standard support)
|
|
bionic |
Does not exist
|
|
jammy |
Not vulnerable
(Windows-specific)
|
|
lunar |
Not vulnerable
(Windows-specific)
|
|
mantic |
Not vulnerable
(Windows-specific)
|
|
golang-1.19 Launchpad, Ubuntu, Debian |
lunar |
Not vulnerable
(Windows-specific)
|
kinetic |
Ignored
(end of life, was needs-triage)
|
|
bionic |
Does not exist
|
|
focal |
Does not exist
|
|
jammy |
Does not exist
|
|
trusty |
Ignored
(end of standard support)
|
|
upstream |
Not vulnerable
(debian: Windows-specific)
|
|
xenial |
Ignored
(end of standard support)
|
|
mantic |
Does not exist
|
Severity score breakdown
Parameter | Value |
---|---|
Base score | 7.5 |
Attack vector | Network |
Attack complexity | Low |
Privileges required | None |
User interaction | None |
Scope | Unchanged |
Confidentiality | High |
Integrity impact | None |
Availability impact | None |
Vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |