CVEfocus › CVE database › CVE-2018-25091

CVE-2018-25091

CVSS 6.1 MediumEPSS 0.6% (higher than 49% of CVEs)Published 2023-10-15Updated 2024-09-16Assigner: mitre

urllib3 before 1.24.2 does not remove the authorization HTTP header when following a cross-origin redirect (i.e., a redirect that differs in host, port, or scheme). This can allow for credentials in the authorization header to be exposed to unintended hosts or transmitted in cleartext. NOTE: this issue exists because of an incomplete fix for CVE-2018-20060 (which was case-sensitive).

What to do

Fixed builds are available from Debian, PyPI, Red Hat, Rocky Linux: 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

54Fixed
6Fix pending
12Will not fix
84Not 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 26.04python-urllib3Not affected
vulnerable_code_not_present
Ubuntu 25.10python-pipNot affected
vulnerable_code_not_present
Ubuntu 25.10python-urllib3Not affected
vulnerable_code_not_present
Ubuntu 24.04python-urllib3Not affected
vulnerable_code_not_present
Ubuntu 22.04python-urllib3Not affected
vulnerable_code_not_present
Ubuntu 18.04python-pipFix pending9.0.1-2.3~ubuntu1.18.04.8+esm2 (Ubuntu Pro)UBUNTU-CVE-2018-25091
Ubuntu 18.04python-urllib3Fix pending1.22-1ubuntu0.18.04.2+esm1 (Ubuntu Pro)UBUNTU-CVE-2018-25091
Ubuntu 16.04python-pipFix pending8.1.1-2ubuntu0.6+esm6 (Ubuntu Pro)UBUNTU-CVE-2018-25091
Ubuntu 16.04python-urllib3Fix pending1.13.1-2ubuntu0.16.04.4+esm1 (Ubuntu Pro)UBUNTU-CVE-2018-25091
Ubuntu 14.04python-pipFix pendingUBUNTU-CVE-2018-25091
Ubuntu 14.04python-urllib3Fix pendingUBUNTU-CVE-2018-25091
Debian 14python-urllib3Fixed1.25.6-4DEBIAN-CVE-2018-25091
Debian 13python-urllib3Fixed1.25.6-4DEBIAN-CVE-2018-25091
Debian 12python-urllib3Fixed1.25.6-4DEBIAN-CVE-2018-25091
Red Hat Enterprise Linux 9fence-agentsNot affected
Red Hat Enterprise Linux 9fence-agents-aliyunNot affected
Red Hat Enterprise Linux 9fence-agents-allNot affected
Red Hat Enterprise Linux 9fence-agents-amt-wsNot affected
Red Hat Enterprise Linux 9fence-agents-apcNot affected
Red Hat Enterprise Linux 9fence-agents-apc-snmpNot affected
Red Hat Enterprise Linux 9fence-agents-awsNot affected
Red Hat Enterprise Linux 9fence-agents-azure-armNot affected
Red Hat Enterprise Linux 9fence-agents-bladecenterNot affected
Red Hat Enterprise Linux 9fence-agents-brocadeNot affected
Red Hat Enterprise Linux 9fence-agents-cisco-mdsNot affected
Red Hat Enterprise Linux 9fence-agents-cisco-ucsNot affected
Red Hat Enterprise Linux 9fence-agents-commonNot affected
Red Hat Enterprise Linux 9fence-agents-computeNot affected
Red Hat Enterprise Linux 9fence-agents-drac5Not affected
Red Hat Enterprise Linux 9fence-agents-eaton-snmpNot affected
Red Hat Enterprise Linux 9fence-agents-emersonNot affected
Red Hat Enterprise Linux 9fence-agents-epsNot affected
Red Hat Enterprise Linux 9fence-agents-gceNot affected
Red Hat Enterprise Linux 9fence-agents-heuristics-pingNot affected
Red Hat Enterprise Linux 9fence-agents-hpbladeNot affected
Red Hat Enterprise Linux 9fence-agents-ibm-powervsNot affected
Red Hat Enterprise Linux 9fence-agents-ibm-vpcNot affected
Red Hat Enterprise Linux 9fence-agents-ibmbladeNot affected
Red Hat Enterprise Linux 9fence-agents-ifmibNot affected
Red Hat Enterprise Linux 9fence-agents-ilo-moonshotNot affected
Red Hat Enterprise Linux 9fence-agents-ilo-mpNot affected
Red Hat Enterprise Linux 9fence-agents-ilo-sshNot affected
Red Hat Enterprise Linux 9fence-agents-ilo2Not affected
Red Hat Enterprise Linux 9fence-agents-intelmodularNot affected
Red Hat Enterprise Linux 9fence-agents-ipduNot affected
Red Hat Enterprise Linux 9fence-agents-ipmilanNot affected
Red Hat Enterprise Linux 9fence-agents-kdumpNot affected
Red Hat Enterprise Linux 9fence-agents-kubevirtNot affected
Red Hat Enterprise Linux 9fence-agents-lparNot affected
Red Hat Enterprise Linux 9fence-agents-mpathNot affected
Red Hat Enterprise Linux 9fence-agents-nutanix-ahvNot affected
Red Hat Enterprise Linux 9fence-agents-openstackNot affected
Red Hat Enterprise Linux 9fence-agents-redfishNot affected
Red Hat Enterprise Linux 9fence-agents-rhevmNot affected
Red Hat Enterprise Linux 9fence-agents-rsaNot affected
Red Hat Enterprise Linux 9fence-agents-rsbNot affected
Red Hat Enterprise Linux 9fence-agents-sbdNot affected
Red Hat Enterprise Linux 9fence-agents-scsiNot affected
Red Hat Enterprise Linux 9fence-agents-virshNot affected
Red Hat Enterprise Linux 9fence-agents-vmware-restNot affected
Red Hat Enterprise Linux 9fence-agents-vmware-soapNot affected
Red Hat Enterprise Linux 9fence-agents-wtiNot affected
Red Hat Enterprise Linux 9fence-agents-zvmNot affected
Red Hat Enterprise Linux 9fence-virtNot affected
Red Hat Enterprise Linux 9fence-virtdNot affected
Red Hat Enterprise Linux 9fence-virtd-cpgNot affected
Red Hat Enterprise Linux 9fence-virtd-libvirtNot affected
Red Hat Enterprise Linux 9fence-virtd-multicastNot affected
Red Hat Enterprise Linux 9fence-virtd-serialNot affected
Red Hat Enterprise Linux 9fence-virtd-tcpNot affected
Red Hat Enterprise Linux 9ha-cloud-supportNot affected
Red Hat Enterprise Linux 9python-pipNot affected
Red Hat Enterprise Linux 9python-urllib3Not affected
Red Hat Enterprise Linux 9python3-pipNot affected
Red Hat Enterprise Linux 9python3-pip-wheelNot affected
Red Hat Enterprise Linux 9python3-urllib3Not affected
Red Hat Enterprise Linux 9python3.11-pipNot affected
Red Hat Enterprise Linux 9python3.11-pip-wheelNot affected
Red Hat Enterprise Linux 8aardvark-dnsFixed2:1.10.0-1.module+el8.10.0+21209+52deeb51RHSA-2024:2988
Red Hat Enterprise Linux 8buildahFixed2:1.33.6-2.module+el8.10.0+21371+46937eceRHSA-2024:2988
Red Hat Enterprise Linux 8buildah-testsFixed2:1.33.6-2.module+el8.10.0+21371+46937eceRHSA-2024:2988
Red Hat Enterprise Linux 8cockpit-podmanFixed0:84.1-1.module+el8.10.0+21373+0d273fdfRHSA-2024:2988
Red Hat Enterprise Linux 8conmonFixed3:2.1.10-1.module+el8.10.0+21077+98b84d8aRHSA-2024:2988
Red Hat Enterprise Linux 8container-selinuxFixed2:2.229.0-2.module+el8.10.0+21196+3f0abbcaRHSA-2024:2988
Red Hat Enterprise Linux 8containernetworking-pluginsFixed1:1.4.0-2.module+el8.10.0+21366+f9cb49f8RHSA-2024:2988
Red Hat Enterprise Linux 8containers-commonFixed2:1-81.module+el8.10.0+21340+c6c7475aRHSA-2024:2988
Red Hat Enterprise Linux 8critFixed0:3.18-4.module+el8.9.0+20326+387084d0RHSA-2024:2988
Red Hat Enterprise Linux 8criuFixed0:3.18-4.module+el8.9.0+20326+387084d0RHSA-2024:2988
Red Hat Enterprise Linux 8criu-develFixed0:3.18-4.module+el8.9.0+20326+387084d0RHSA-2024:2988
Red Hat Enterprise Linux 8criu-libsFixed0:3.18-4.module+el8.9.0+20326+387084d0RHSA-2024:2988
Red Hat Enterprise Linux 8crunFixed0:1.14.3-2.module+el8.10.0+21340+c6c7475aRHSA-2024:2988
Red Hat Enterprise Linux 8fuse-overlayfsFixed0:1.13-1.module+el8.10.0+20412+95ee28e2RHSA-2024:2988
Red Hat Enterprise Linux 8libslirpFixed0:4.4.0-1.module+el8.9.0+20326+387084d0RHSA-2024:2988
Red Hat Enterprise Linux 8libslirp-develFixed0:4.4.0-1.module+el8.9.0+20326+387084d0RHSA-2024:2988
Red Hat Enterprise Linux 8netavarkFixed2:1.10.3-1.module+el8.10.0+21306+6be40ce7RHSA-2024:2988
Red Hat Enterprise Linux 8oci-seccomp-bpf-hookFixed0:1.2.10-1.module+el8.10.0+20565+a40ba0e5RHSA-2024:2988
Red Hat Enterprise Linux 8platform-python-pipNot affected
Red Hat Enterprise Linux 8podmanFixed3:4.9.4-0.1.module+el8.10.0+21350+ea09fba1RHSA-2024:2988
Red Hat Enterprise Linux 8podman-catatonitFixed3:4.9.4-0.1.module+el8.10.0+21350+ea09fba1RHSA-2024:2988
Red Hat Enterprise Linux 8podman-dockerFixed3:4.9.4-0.1.module+el8.10.0+21350+ea09fba1RHSA-2024:2988
Red Hat Enterprise Linux 8podman-gvproxyFixed3:4.9.4-0.1.module+el8.10.0+21350+ea09fba1RHSA-2024:2988
Red Hat Enterprise Linux 8podman-pluginsFixed3:4.9.4-0.1.module+el8.10.0+21350+ea09fba1RHSA-2024:2988
Red Hat Enterprise Linux 8podman-remoteFixed3:4.9.4-0.1.module+el8.10.0+21350+ea09fba1RHSA-2024:2988
Red Hat Enterprise Linux 8podman-testsFixed3:4.9.4-0.1.module+el8.10.0+21350+ea09fba1RHSA-2024:2988
Red Hat Enterprise Linux 8python-pipNot affected
Red Hat Enterprise Linux 8python-podmanFixed0:4.9.0-1.module+el8.10.0+21196+3f0abbcaRHSA-2024:2988
Red Hat Enterprise Linux 8python-urllib3Not affected
Red Hat Enterprise Linux 8python2-pipNot affected
Red Hat Enterprise Linux 8python2-pip-wheelNot affected
Red Hat Enterprise Linux 8python3-criuFixed0:3.18-4.module+el8.9.0+20326+387084d0RHSA-2024:2988
Red Hat Enterprise Linux 8python3-pipNot affected
Red Hat Enterprise Linux 8python3-pip-wheelNot affected
Red Hat Enterprise Linux 8python3-podmanFixed0:4.9.0-1.module+el8.10.0+21196+3f0abbcaRHSA-2024:2988
Red Hat Enterprise Linux 8python3-urllib3Not affected
Red Hat Enterprise Linux 8python3.11-pipNot affected
Red Hat Enterprise Linux 8python3.11-pip-wheelNot affected
Red Hat Enterprise Linux 8python38-pipNot affected
Red Hat Enterprise Linux 8python38-pip-wheelNot affected
Red Hat Enterprise Linux 8python39-pipNot affected
Red Hat Enterprise Linux 8python39-pip-wheelNot affected
Red Hat Enterprise Linux 8python3x-pipNot affected
Red Hat Enterprise Linux 8runcFixed1:1.1.12-1.module+el8.10.0+21251+62b7388cRHSA-2024:2988
Red Hat Enterprise Linux 8skopeoFixed2:1.14.3-0.1.module+el8.10.0+21251+62b7388cRHSA-2024:2988
Red Hat Enterprise Linux 8skopeo-testsFixed2:1.14.3-0.1.module+el8.10.0+21251+62b7388cRHSA-2024:2988
Red Hat Enterprise Linux 8slirp4netnsFixed0:1.2.3-1.module+el8.10.0+21306+6be40ce7RHSA-2024:2988
Red Hat Enterprise Linux 8toolboxFixed0:0.0.99.5-2.module+el8.10.0+21341+ff0b5f89RHSA-2024:2988
Red Hat Enterprise Linux 8toolbox-testsFixed0:0.0.99.5-2.module+el8.10.0+21341+ff0b5f89RHSA-2024:2988
Red Hat Enterprise Linux 8udicaFixed0:0.2.6-20.module+el8.9.0+20326+387084d0RHSA-2024:2988
Red Hat Enterprise Linux 7python-pipWill not fix
Out of support scope
Red Hat Enterprise Linux 7python-s3transferWill not fix
Out of support scope
Red Hat Enterprise Linux 7python-urllib3Will not fix
Out of support scope
Red Hat Enterprise Linux 7python3-pipWill not fix
Out of support scope
Red Hat Enterprise Linux 7resource-agentsWill not fix
Out of support scope
Red Hat Enterprise Linux 7resource-agents-aliyunWill not fix
Out of support scope
Red Hat Enterprise Linux 7resource-agents-gcpWill not fix
Out of support scope
Red Hat Enterprise Linux 7resource-agents-sapWill not fix
Out of support scope
Red Hat Enterprise Linux 7resource-agents-sap-hanaWill not fix
Out of support scope
Red Hat Enterprise Linux 7resource-agents-sap-hana-scaleoutWill not fix
Out of support scope
Red Hat Enterprise Linux 7sap-cluster-connectorWill not fix
Out of support scope
Red Hat Enterprise Linux 6python-urllib3Will not fix
Out of support scope
Rocky Linux 8aardvark-dnsFixed2:1.10.0-1.module+el8.10.0+1825+623b0c20RLSA-2024:2988
Rocky Linux 8cockpit-podmanFixed0:84.1-1.module+el8.10.0+1948+4b5cd4a9RLSA-2024:2988
Rocky Linux 8conmonFixed3:2.1.10-1.module+el8.10.0+1880+8e896d1bRLSA-2024:2988
Rocky Linux 8container-selinuxFixed2:2.229.0-2.module+el8.10.0+1948+4b5cd4a9RLSA-2024:2988
Rocky Linux 8containernetworking-pluginsFixed1:1.4.0-2.module+el8.10.0+1825+623b0c20RLSA-2024:2988
Rocky Linux 8containers-commonFixed2:1-81.module+el8.10.0+1825+623b0c20RLSA-2024:2988
Rocky Linux 8crunFixed0:1.14.3-2.module+el8.10.0+1948+4b5cd4a9RLSA-2024:2988
Rocky Linux 8fuse-overlayfsFixed0:1.13-1.module+el8.10.0+1815+5fe7415eRLSA-2024:2988
Rocky Linux 8libslirpFixed0:4.4.0-1.module+el8.9.0+1445+07728297RLSA-2024:2988
Rocky Linux 8netavarkFixed2:1.10.3-1.module+el8.10.0+1896+b18fa106RLSA-2024:2988
Rocky Linux 8oci-seccomp-bpf-hookFixed0:1.2.10-1.module+el8.10.0+1948+4b5cd4a9RLSA-2024:2988
Rocky Linux 8python-podmanFixed0:4.9.0-1.module+el8.10.0+1825+623b0c20RLSA-2024:2988
Rocky Linux 8runcFixed1:1.1.12-1.module+el8.10.0+1825+623b0c20RLSA-2024:2988
Rocky Linux 8slirp4netnsFixed0:1.2.3-1.module+el8.10.0+1896+b18fa106RLSA-2024:2988
Rocky Linux 8toolboxFixed0:0.0.99.5-2.module+el8.10.0+1948+4b5cd4a9.rocky.0.2RLSA-2024:2988
PyPI libraryurllib3Fixed1.24.2GHSA-gwvm-45gx-3cf8

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.