CVE-2022-41722

NameCVE-2022-41722
DescriptionA 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".
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
golang-1.15 (PTS)bullseye1.15.15-1~deb11u4vulnerable
golang-1.19 (PTS)bookworm1.19.8-2fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
golang-1.11source(unstable)(unfixed)unimportant
golang-1.15source(unstable)(unfixed)unimportant
golang-1.19sourceexperimental1.19.6-1
golang-1.19source(unstable)1.19.6-2unimportant
golang-1.20source(unstable)1.20.1-1unimportant

Notes

https://groups.google.com/g/golang-announce/c/V0aBFqaFs_E
Only affects code cross compiled on Debian for Windows binaries

Search for package or bug name: Reporting problems