CVE-2022-32190
golang: net/url: JoinPath does not strip relative path components in all circumstances
Overview
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: OX vulnerability database
Severity
7.5 · HIGH
CVSS 3.1 base score, scored by NVD.
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- None
- Availability
- None
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Weakness: CWE-22
Affected packages · 2
Operating systems · 154 fixes
Oracle Linux 1 release · 3 packages
fixed 3
go-toolset
golang
delve
| Release | Package | Fixed in |
|---|---|---|
| 8 | go-toolset | 1.19.4-1.module+el8.7.0+20922+47ac84ba |
| 8 | golang +6 | 1.19.4-2.0.1.module+el8.7.0+20922+47ac84ba |
| 8 | delve | 1.9.1-1.0.1.module+el8.7.0+20922+47ac84ba |
Photon OS 1 release · 1 package
fixed 1
go
| Release | Package | Fixed in |
|---|---|---|
| 5.0 | go | 1.26.3-1.ph5 |
Red Hat 4 releases · 93 packages
eol 2
wont fix 2
affected 1
fixed 132
heketi
go-toolset-7-golang
cri-tools
golang
collectd-libpod-stats
toolbox
+87
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| heketi +2 | eol | — | |
| go-toolset-7-golang +9 | wont fix | — | |
| 7 | cri-tools +3 | affected | — |
| 7 | golang +2 | eol | — |
| 8 | collectd-libpod-stats +4 | wont fix | — |
| 8 | toolbox | 0:0.1.0-1.rhaos4.12.el8 | RHSA-2022:7398 |
131 more rows
SUSE Linux Enterprise 1 release · 1 package
fixed 1
go1-19
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 15.4 | go1-19 +2 | 1.19.1-150000.1.9.1 | SUSE-SU-2022:3326-1 |
alpine 4 releases · 1 package
fixed 4
go
| Release | Package | Fixed in |
|---|---|---|
| 3.22 | go | 1.19.1-r0 |
| 3.23 | go | 1.19.1-r0 |
| 3.24 | go | 1.19.1-r0 |
| edge | go | 1.19.1-r0 |
amazon linux 1 release · 1 package
fixed 1
golang
| Release | Package | Fixed in |
|---|---|---|
| 2023 | golang +7 | 1.19.3-2.amzn2023.0.2 |
chainguard 1 release · 1 package
fixed 1
kubeflow-katib
| Release | Package | Fixed in |
|---|---|---|
| kubeflow-katib | 0.19.0-r40 |
debian 1 release · 1 package
fixed 1
golang-1-19
| Release | Package | Fixed in |
|---|---|---|
| 12 | golang-1-19 | 1.19.1-1 |
echo 1 release · 1 package
fixed 1
golang-1-19
| Release | Package | Fixed in |
|---|---|---|
| golang-1-19 | 1.19.1-1 |
openSUSE 1 release · 1 package
fixed 1
go1-19
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Tumbleweed | go1-19 +2 | 1.19.1-1.1 | openSUSE-SU-2024:12310-1 |
root.io debian 1 release · 1 package
fixed 1
rootio-golang-1-19
| Release | Package | Fixed in |
|---|---|---|
| 12 | rootio-golang-1-19 | 1.19.1-1 |
seal Red Hat 1 release · 1 package
fixed 1
python-jinja2
| Release | Package | Fixed in |
|---|---|---|
| 7 | python-jinja2 +1 | 2.7.2-4.el7+sp999 |
wolfi 1 release · 1 package
fixed 1
kubeflow-katib
| Release | Package | Fixed in |
|---|---|---|
| kubeflow-katib | 0.19.0-r40 |
References
- access.redhat.com https://access.redhat.com/security/cve/CVE-2022-32190
- go.dev https://go.dev/cl/423514
- go.dev https://go.dev/issue/54385
- groups.google.com https://groups.google.com/g/golang-announce/c/x49AQzIVX-s
- groups.google.com https://groups.google.com/g/golang-announce/c/x49AQzIVX-s/m/0tgO0pjiBQAJ
- linux.oracle.com https://linux.oracle.com/cve/CVE-2022-32190.html
- linux.oracle.com https://linux.oracle.com/errata/ELSA-2023-18908.html
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2022-32190
- pkg.go.dev https://pkg.go.dev/vuln/GO-2022-0988
- www.cve.org https://www.cve.org/CVERecord?id=CVE-2022-32190
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.