Name | CVE-2022-41722 |
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". |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|---|---|---|
golang-1.11 (PTS) | buster (security), buster, buster (lts) | 1.11.6-1+deb10u7 | vulnerable |
golang-1.15 (PTS) | bullseye | 1.15.15-1~deb11u4 | vulnerable |
golang-1.19 (PTS) | bookworm | 1.19.8-2 | fixed |
golang-1.7 (PTS) | stretch (security), stretch (lts), stretch | 1.7.4-2+deb9u5 | vulnerable |
The information below is based on the following data on fixed versions.
Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
---|---|---|---|---|---|---|
golang-1.11 | source | (unstable) | (unfixed) | unimportant | ||
golang-1.15 | source | (unstable) | (unfixed) | unimportant | ||
golang-1.19 | source | experimental | 1.19.6-1 | |||
golang-1.19 | source | (unstable) | 1.19.6-2 | unimportant | ||
golang-1.20 | source | (unstable) | 1.20.1-1 | unimportant | ||
golang-1.7 | source | (unstable) | (unfixed) | unimportant |
https://groups.google.com/g/golang-announce/c/V0aBFqaFs_E
Only affects code cross compiled on Debian for Windows binaries