Name | CVE-2022-32190 |
Description | JoinPath and URL.JoinPath do not remove ../ path elements appended to a relative path. For example, JoinPath("https://go.dev", "../go") returns the URL "https://go.dev/../go", despite the JoinPath documentation stating that ../ path elements are removed from the result. |
Source | CVE (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 Package | Release | Version | Status |
---|
golang (PTS) | jessie, jessie (lts) | 2:1.3.3-1+deb8u5 | fixed |
golang-1.11 (PTS) | buster (security), buster, buster (lts) | 1.11.6-1+deb10u7 | fixed |
golang-1.15 (PTS) | bullseye | 1.15.15-1~deb11u4 | fixed |
golang-1.19 (PTS) | bookworm | 1.19.8-2 | fixed |
golang-1.7 (PTS) | stretch (security), stretch (lts), stretch | 1.7.4-2+deb9u5 | fixed |
The information below is based on the following data on fixed versions.
Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
---|
golang | source | (unstable) | (not affected) | | | |
golang-1.11 | source | (unstable) | (not affected) | | | |
golang-1.15 | source | (unstable) | (not affected) | | | |
golang-1.17 | unknown | (unstable) | (not affected) | | | |
golang-1.18 | source | (unstable) | (not affected) | | | |
golang-1.19 | source | (unstable) | 1.19.1-1 | | | |
golang-1.7 | source | (unstable) | (not affected) | | | |
Notes
- golang-1.18 <not-affected> (Vulnerable code introduced in 1.19)
- golang-1.17 <not-affected> (Vulnerable code introduced in 1.19)
- golang-1.15 <not-affected> (Vulnerable code introduced in 1.19)
- golang-1.11 <not-affected> (Vulnerable code introduced in 1.19)
https://groups.google.com/g/golang-announce/c/x49AQzIVX-s
https://github.com/golang/go/issues/54385
https://github.com/golang/go/commit/28335508913a46e05ef0c04a18e8a1a6beb775ec (go1.19.1)
- golang <not-affected> (Vulnerable code introduced in 1.19)
- golang-1.7 <not-affected> (Vulnerable code introduced in 1.19)