CVE-2022-32190 json
Failure to strip relative path components in net/url
published 2022-09-12 4 y ago modified 2026-09-08 2 mo ago also BIT-golang-2022-32190 , EUVD-2022-53402 , GO-2022-0988
- cvss
- 7.5
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 2.3%
- EPSS 2.3% chance of exploitation in 30 days, percentile 83%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- bitnami golang 1.19.1
- go stdlib 1.19.1
- Go standard library net/url 1.19.1
- golang-1.19 Debian 12 1.19.1-1
debian advisories DEBIAN-CVE-2022-32190
- perf openshift 4.12 4.18.0-372.59.1.el8_6
- runc openshift 4.12 3:1.1.6-4.rhaos4.12.el8
- conmon openshift 4.12 2:2.1.2-4.rhaos4.12.el8
- conmon openshift 4.12 2:2.1.2-5.rhaos4.12.el9
- kernel openshift 4.12 4.18.0-372.59.1.el8_6
- podman openshift 4.12 3:4.2.0-6.1.rhaos4.12.el8
- podman openshift 4.12 3:4.2.0-7.rhaos4.12.el9
- skopeo openshift 4.12 2:1.9.4-3.1.rhaos4.12.el8
red hat advisories RHSA-2023:3613RHSA-2023:3204RHSA-2022:7398RHBA-2023:0568
- go1.19 SLE Module for Development Tools 15 SP4, SLE Module for Development Tools 15 SP3, openSUSE Leap 15.4 +1 more 1.19.1-150000.1.9.1
suse advisories SUSE-SU-2022:3326-1
- go1.19 openSUSE Tumbleweed 1.19.1-1.1
opensuse advisories openSUSE-SU-2024:12310-1
- go Alpine 3.16 1.18.6-r0
- go Alpine 3.24, Alpine 3.23, Alpine 3.22 +5 more 1.19.1-r0
alpine advisories ALPINE-CVE-2022-32190
Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- go.dev/cl/423514 patch
- go.dev/issue/54385 advisory
- pkg.go.dev/vuln/GO-2022-0988 advisory
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2022-32190 updated cvss 7.5
golang: net/url: JoinPath does not strip relative path components in all circumstances
-
Red Hat mirror registry for Red Hat OpenShift mirror-registry-container Red Hat Node HealthCheck Operator workload-availability/node-healthcheck-rhel8-operator Red Hat Node Maintenance Operator workload-availability/node-maintenance-rhel8-operatoraffected: no fix available
-
Red Hat OpenShift Developer Tools and Services odo, helmaffected: no fix available “Fix deferred”
-
Red Hat OpenShift Pipelines openshift-pipelines-client Red Hat OpenShift Serverless openshift-serverless-clients, openshift-serverless-1/kn-client-kn-rhel9affected: no fix planned “Will not fix”
-
Red Hat 3scale API Management Platform 2 3scale-amp26/3scale-operator Red Hat Ansible Automation Platform 2 receptor, openshift-clientsaffected: no fix available
-
Red Hat Application Interconnect 1.0 skupper-cli, skupper-routeraffected: no fix available, no fix planned “Will not fix”
-
Red Hat Ceph Storage 3 golang, golang-bin, golang-srcaffected: no fix planned “Out of support scope”
-
Red Hat Ceph Storage 5 rhceph/rhceph-5-dashboard-rhel8 Red Hat Openshift Data Foundation 4 mcg Red Hat OpenShift Dev Spaces devspaces/devspaces-rhel8-operator Red Hat OpenShift distributed tracing 2 rhosdt/jaeger-agent-rhel8 Red Hat OpenShift GitOps openshift-gitops-kam, openshift-gitops-1/gitops-rhel8 Red Hat OpenShift on AWS rosaaffected: no fix available
-
Red Hat Openshift Sandboxed Containers openshift-sandboxed-containers/osc-rhel8-operator Red Hat OpenStack Platform 16.2 qpid-proton-c, golang-qpid-apache, python3-qpid-proton, collectd-libpod-stats, rhosp-rhel8/osp-director-operatoraffected: no fix planned “Will not fix”
show 15 moreshow fewer
-
Red Hat Storage 3 golang, heketi, golang-bin, golang-src, golang-misc, golang-tests, +3 moreaffected: no fix planned “Out of support scope”
-
Red Hat Web Terminal web-terminal-exec-container Red Hat Self Node Remediation Operator workload-availability/self-node-remediation-rhel8-operatoraffected: no fix available
-
Red Hat Service Telemetry Framework 1.4 for RHEL 8 stf/sg-core-rhel8affected: no fix planned “Will not fix”
-
Red Hat Service Telemetry Framework 1.5 stf/sg-core-rhel8affected: no fix available
-
Red Hat CNV 4.13 for RHEL 7 kubevirt 4.13.0-1469.el7, kubevirt-virtctl 4.13.0-1469.el7, kubevirt-virtctl-redistributable 4.13.0-1469.el7 Red Hat CNV 4.13 for RHEL 8 kubevirt 4.13.0-1469.el8, kubevirt-virtctl 4.13.0-1469.el8, kubevirt-virtctl-redistributable 4.13.0-1469.el8 Red Hat CNV 4.13 for RHEL 9 kubevirt 4.13.0-1469.el9, kubevirt-virtctl 4.13.0-1469.el9, kubevirt-virtctl-redistributable 4.13.0-1469.el9, container-native-virtualization/virt-api-rhel9 v4.13.0--2022-101182fixed: vendor fix RHSA-2023:3204
-
Red Hat Migration Toolkit for Virtualization 2.4 migration-toolkit-virtualization/mtv-controller-rhel9 2.4.3-5fixed: vendor fix RHBA-2023:6109
-
Red Hat OpenShift API for Data Protection 1.1 oadp/oadp-velero-rhel8 1.1.1-20fixed: vendor fix RHSA-2022:8634
-
Red Hat OSSO 1.1 for RHEL 8 openshift-secondary-scheduler-operator/secondary-scheduler-operator-rhel8 v1.1-26fixed: vendor fix RHSA-2023:0584
-
Red Hat Quay v3 quay/clair-rhel8 v3.8.11-3, quay/quay-rhel8 v3.8.11-13, quay/quay-builder-rhel8 v3.8.11-4, quay/quay-operator-rhel8 v3.8.11-3, quay/quay-operator-bundle v3.8.11-20, quay/quay-bridge-operator-rhel8 v3.8.11-3, +4 morefixed: vendor fix RHBA-2023:4275
-
Red Hat Ceph Storage 6.1 Tools rhceph/rhceph-6-dashboard-rhel9 6-75fixed: vendor fix RHSA-2023:3642
-
Red Hat Migration Toolkit 1.7 rhmtc/openshift-velero-plugin-rhel8 v1.7.7-3fixed: vendor fix RHSA-2023:0693
-
Red Hat OpenShift Container Platform 4.12 ovn22.12 22.12.0-18.el8fdp, perf 4.18.0-372.43.1.el8_6, runc 1.1.4-1.rhaos4.12.el8, runc 1.1.6-4.rhaos4.12.el8, kernel 4.18.0-372.43.1.el8_6, podman 4.2.0-7.rhaos4.12.el9, +419 morefixed: vendor fix RHBA-2023:0568
-
Red Hat RHODF 4.13 for RHEL 9 odf4/cephcsi-rhel9 v4.13.0-35fixed: vendor fix RHSA-2023:3742
-
Red Hat RHOL 5.6 for RHEL 8 openshift-logging/logging-loki-rhel8 v2.7.1-8fixed: vendor fix RHSA-2023:0264
-
Red Hat CNV 4.13 for RHEL 9 container-native-virtualization/virtio-win-rhel9 v4.13.0--2022-101182, container-native-virtualization/kubemacpool-rhel9 v4.13.0--2022-101182, container-native-virtualization/virt-handler-rhel9 v4.13.0--2022-101182, container-native-virtualization/bridge-marker-rhel9 v4.13.0--2022-101182, container-native-virtualization/multus-dynamic-networks-rhel9 v4.13.0-37, container-native-virtualization/virt-launcher-rhel9 v4.13.0--2022-101182, +39 more Red Hat Custom Metric Autoscaler operator for Red Hat Openshift custom-metrics-autoscaler/custom-metrics-autoscaler-rhel8 Red Hat Ironic content for Red Hat OpenShift Container Platform 4.12 tox 3.23.0-2.el9.1, crudini 0.9.3-4.el9, pysnmp 4.4.12-6.el9, future 0.18.2-9.el9.1, subunit 1.4.0-6.el9.1, pyflakes 2.2.0-3.el9.1, +451 more Red Hat Migration Toolkit for Virtualization 2.4 migration-toolkit-virtualization/mtv-ui-rhel8 2.4.3-2, migration-toolkit-virtualization/mtv-api-rhel9 2.4.3-5, migration-toolkit-virtualization/mtv-rhel8-operator 2.4.3-3, migration-toolkit-virtualization/mtv-virt-v2v-rhel9 2.4.3-4, migration-toolkit-virtualization/mtv-operator-bundle 2.4.3-12, migration-toolkit-virtualization/mtv-validation-rhel9 2.4.3-5, +7 more Red Hat OpenShift API for Data Protection 1.1 oadp/oadp-rhel8-operator 1.1.1-22, oadp/oadp-operator-bundle 1.1.1-41, oadp/oadp-mustgather-rhel8 1.1.1-29, oadp/oadp-velero-plugin-rhel8 1.1.1-16, oadp/oadp-velero-plugin-for-aws-rhel8 1.1.1-16, oadp/oadp-velero-plugin-for-csi-rhel8 1.1.1-23, +5 morenot affected: vulnerable code not present
14 more not affected in the full advisory
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
2.30% chance of exploitation in the next 30 days, higher than 83% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| OSV | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| bitnami | golang | >=1.19.0-0, <1.19.1 |
1.19.1 |
| go | stdlib | >=1.19.0-0, <1.19.1 |
1.19.1 |
Affected products
- Go standard library net/url
Classification
- Weakness
-
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory
References
-
go.dev
/issue/54385
issue-tracking, patch, vendor-advisory, advisory, report
-
go.dev
/cl/423514
patch, release-notes
-
pkg.go.dev
/vuln/GO-2022-0988
issue-tracking, patch, vendor-advisory, advisory
-
groups.google.com
/g/golang-announce/c/x49AQzIVX-s
mailing-list, third-party-advisory, advisory, web
-
nvd.nist.gov
/vuln/detail/CVE-2022-32190
web
Sources
- CVE List CVE-2022-32190
- NVD CVE-2022-32190
- OSV BIT-golang-2022-32190
- OSV GO-2022-0988
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
CPEs and fixed versions use Anchore's correction of NVD's data: Improve version ranges to indicate fix.