CVEfocus › CVE database › CVE-2022-32190

CVE-2022-32190Failure to strip relative path components in net/url

CVSS 7.5 HighEPSS 1.5% (higher than 74% of CVEs)Published 2022-09-13Updated 2024-08-03Assigner: Go

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.

What to do

Fixed builds are available from Alpine, Debian, Go: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

11Fixed
5Fix pending
134Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 22.04golang-1.17Not affected
vulnerable_code_not_present
Ubuntu 22.04golang-1.18Not affected
vulnerable_code_not_present
Ubuntu 20.04golang-1.13Not affected
vulnerable_code_not_present
Ubuntu 20.04golang-1.14Not affected
vulnerable_code_not_present
Ubuntu 20.04golang-1.18Not affected
vulnerable_code_not_present
Ubuntu 18.04golang-1.10Not affected
vulnerable_code_not_present
Ubuntu 18.04golang-1.8Not affected
vulnerable_code_not_present
Ubuntu 18.04golang-1.9Not affected
vulnerable_code_not_present
Ubuntu 16.04golang-1.10Fix pending
Ubuntu 16.04golang-1.13Fix pending
Ubuntu 16.04golang-1.6Fix pending
Ubuntu 14.04golang-1.10Fix pending
Ubuntu 14.04golang-1.6Fix pending
Debian 12golang-1.19Fixed1.19.1-1DEBIAN-CVE-2022-32190
Red Hat Enterprise Linux 9buildahNot affected
Red Hat Enterprise Linux 9buildah-testsNot affected
Red Hat Enterprise Linux 9butaneNot affected
Red Hat Enterprise Linux 9conmonNot affected
Red Hat Enterprise Linux 9containernetworking-pluginsNot affected
Red Hat Enterprise Linux 9git-lfsNot affected
Red Hat Enterprise Linux 9go-toolsetNot affected
Red Hat Enterprise Linux 9golangNot affected
Red Hat Enterprise Linux 9golang-binNot affected
Red Hat Enterprise Linux 9golang-docsNot affected
Red Hat Enterprise Linux 9golang-miscNot affected
Red Hat Enterprise Linux 9golang-raceNot affected
Red Hat Enterprise Linux 9golang-srcNot affected
Red Hat Enterprise Linux 9golang-testsNot affected
Red Hat Enterprise Linux 9grafanaNot affected
Red Hat Enterprise Linux 9grafana-pcpNot affected
Red Hat Enterprise Linux 9grafana-selinuxNot affected
Red Hat Enterprise Linux 9ignitionNot affected
Red Hat Enterprise Linux 9ignition-edgeNot affected
Red Hat Enterprise Linux 9ignition-grubNot affected
Red Hat Enterprise Linux 9ignition-validateNot affected
Red Hat Enterprise Linux 9osbuild-composerNot affected
Red Hat Enterprise Linux 9osbuild-composer-coreNot affected
Red Hat Enterprise Linux 9osbuild-composer-dnf-jsonNot affected
Red Hat Enterprise Linux 9osbuild-composer-workerNot affected
Red Hat Enterprise Linux 9podmanNot affected
Red Hat Enterprise Linux 9podman-catatonitNot affected
Red Hat Enterprise Linux 9podman-dockerNot affected
Red Hat Enterprise Linux 9podman-gvproxyNot affected
Red Hat Enterprise Linux 9podman-pluginsNot affected
Red Hat Enterprise Linux 9podman-remoteNot affected
Red Hat Enterprise Linux 9podman-testsNot affected
Red Hat Enterprise Linux 9rsyslogNot affected
Red Hat Enterprise Linux 9rsyslog-cryptoNot affected
Red Hat Enterprise Linux 9rsyslog-docNot affected
Red Hat Enterprise Linux 9rsyslog-elasticsearchNot affected
Red Hat Enterprise Linux 9rsyslog-gnutlsNot affected
Red Hat Enterprise Linux 9rsyslog-gssapiNot affected
Red Hat Enterprise Linux 9rsyslog-kafkaNot affected
Red Hat Enterprise Linux 9rsyslog-logrotateNot affected
Red Hat Enterprise Linux 9rsyslog-mmauditNot affected
Red Hat Enterprise Linux 9rsyslog-mmfieldsNot affected
Red Hat Enterprise Linux 9rsyslog-mmjsonparseNot affected
Red Hat Enterprise Linux 9rsyslog-mmkubernetesNot affected
Red Hat Enterprise Linux 9rsyslog-mmnormalizeNot affected
Red Hat Enterprise Linux 9rsyslog-mmsnmptrapdNot affected
Red Hat Enterprise Linux 9rsyslog-mysqlNot affected
Red Hat Enterprise Linux 9rsyslog-omamqp1Not affected
Red Hat Enterprise Linux 9rsyslog-opensslNot affected
Red Hat Enterprise Linux 9rsyslog-pgsqlNot affected
Red Hat Enterprise Linux 9rsyslog-relpNot affected
Red Hat Enterprise Linux 9rsyslog-snmpNot affected
Red Hat Enterprise Linux 9rsyslog-udpspoofNot affected
Red Hat Enterprise Linux 9runcNot affected
Red Hat Enterprise Linux 9skopeoNot affected
Red Hat Enterprise Linux 9skopeo-testsNot affected
Red Hat Enterprise Linux 9toolboxNot affected
Red Hat Enterprise Linux 9toolbox-testsNot affected
Red Hat Enterprise Linux 9weldr-clientNot affected
Red Hat Enterprise Linux 8buildahNot affected
Red Hat Enterprise Linux 8buildah-testsNot affected
Red Hat Enterprise Linux 8conmonNot affected
Red Hat Enterprise Linux 8containernetworking-pluginsNot affected
Red Hat Enterprise Linux 8containers-commonNot affected
Red Hat Enterprise Linux 8git-lfsNot affected
Red Hat Enterprise Linux 8go-toolsetNot affected
Red Hat Enterprise Linux 8golangNot affected
Red Hat Enterprise Linux 8golang-binNot affected
Red Hat Enterprise Linux 8golang-docsNot affected
Red Hat Enterprise Linux 8golang-miscNot affected
Red Hat Enterprise Linux 8golang-raceNot affected
Red Hat Enterprise Linux 8golang-srcNot affected
Red Hat Enterprise Linux 8golang-testsNot affected
Red Hat Enterprise Linux 8grafanaNot affected
Red Hat Enterprise Linux 8grafana-azure-monitorNot affected
Red Hat Enterprise Linux 8grafana-cloudwatchNot affected
Red Hat Enterprise Linux 8grafana-elasticsearchNot affected
Red Hat Enterprise Linux 8grafana-graphiteNot affected
Red Hat Enterprise Linux 8grafana-influxdbNot affected
Red Hat Enterprise Linux 8grafana-lokiNot affected
Red Hat Enterprise Linux 8grafana-mssqlNot affected
Red Hat Enterprise Linux 8grafana-mysqlNot affected
Red Hat Enterprise Linux 8grafana-opentsdbNot affected
Red Hat Enterprise Linux 8grafana-pcpNot affected
Red Hat Enterprise Linux 8grafana-postgresNot affected
Red Hat Enterprise Linux 8grafana-prometheusNot affected
Red Hat Enterprise Linux 8grafana-selinuxNot affected
Red Hat Enterprise Linux 8grafana-stackdriverNot affected
Red Hat Enterprise Linux 8osbuild-composerNot affected
Red Hat Enterprise Linux 8osbuild-composer-coreNot affected
Red Hat Enterprise Linux 8osbuild-composer-dnf-jsonNot affected
Red Hat Enterprise Linux 8osbuild-composer-workerNot affected
Red Hat Enterprise Linux 8podmanNot affected
Red Hat Enterprise Linux 8podman-catatonitNot affected
Red Hat Enterprise Linux 8podman-dockerNot affected
Red Hat Enterprise Linux 8podman-gvproxyNot affected
Red Hat Enterprise Linux 8podman-manpagesNot affected
Red Hat Enterprise Linux 8podman-pluginsNot affected
Red Hat Enterprise Linux 8podman-remoteNot affected
Red Hat Enterprise Linux 8podman-testsNot affected
Red Hat Enterprise Linux 8rsyslogNot affected
Red Hat Enterprise Linux 8rsyslog-cryptoNot affected
Red Hat Enterprise Linux 8rsyslog-docNot affected
Red Hat Enterprise Linux 8rsyslog-elasticsearchNot affected
Red Hat Enterprise Linux 8rsyslog-gnutlsNot affected
Red Hat Enterprise Linux 8rsyslog-gssapiNot affected
Red Hat Enterprise Linux 8rsyslog-kafkaNot affected
Red Hat Enterprise Linux 8rsyslog-mmauditNot affected
Red Hat Enterprise Linux 8rsyslog-mmfieldsNot affected
Red Hat Enterprise Linux 8rsyslog-mmjsonparseNot affected
Red Hat Enterprise Linux 8rsyslog-mmkubernetesNot affected
Red Hat Enterprise Linux 8rsyslog-mmnormalizeNot affected
Red Hat Enterprise Linux 8rsyslog-mmsnmptrapdNot affected
Red Hat Enterprise Linux 8rsyslog-mysqlNot affected
Red Hat Enterprise Linux 8rsyslog-omamqp1Not affected
Red Hat Enterprise Linux 8rsyslog-opensslNot affected
Red Hat Enterprise Linux 8rsyslog-pgsqlNot affected
Red Hat Enterprise Linux 8rsyslog-relpNot affected
Red Hat Enterprise Linux 8rsyslog-snmpNot affected
Red Hat Enterprise Linux 8rsyslog-udpspoofNot affected
Red Hat Enterprise Linux 8runcNot affected
Red Hat Enterprise Linux 8skopeoNot affected
Red Hat Enterprise Linux 8skopeo-testsNot affected
Red Hat Enterprise Linux 8toolboxNot affected
Red Hat Enterprise Linux 8toolbox-testsNot affected
Red Hat Enterprise Linux 8weldr-clientNot affected
Alpine Linux 3.24goFixed1.19.1-r0ALPINE-CVE-2022-32190
Alpine Linux 3.23goFixed1.19.1-r0ALPINE-CVE-2022-32190
Alpine Linux 3.22goFixed1.19.1-r0ALPINE-CVE-2022-32190
Alpine Linux 3.21goFixed1.19.1-r0ALPINE-CVE-2022-32190
Alpine Linux 3.20goFixed1.19.1-r0ALPINE-CVE-2022-32190
Alpine Linux 3.19goFixed1.19.1-r0ALPINE-CVE-2022-32190
Alpine Linux 3.18goFixed1.19.1-r0ALPINE-CVE-2022-32190
Alpine Linux 3.17goFixed1.19.1-r0ALPINE-CVE-2022-32190
Alpine Linux 3.16goFixed1.18.6-r0ALPINE-CVE-2022-32190
Go librarystdlibFixed1.19.1GO-2022-0988

What the vendor says

As published in the CVE record by Go, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.