CVE-2018-25091
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
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.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.04 | python-urllib3 | Not affected vulnerable_code_not_present | ||
| Ubuntu 25.10 | python-pip | Not affected vulnerable_code_not_present | ||
| Ubuntu 25.10 | python-urllib3 | Not affected vulnerable_code_not_present | ||
| Ubuntu 24.04 | python-urllib3 | Not affected vulnerable_code_not_present | ||
| Ubuntu 22.04 | python-urllib3 | Not affected vulnerable_code_not_present | ||
| Ubuntu 18.04 | python-pip | Fix pending | 9.0.1-2.3~ubuntu1.18.04.8+esm2 (Ubuntu Pro) | UBUNTU-CVE-2018-25091 |
| Ubuntu 18.04 | python-urllib3 | Fix pending | 1.22-1ubuntu0.18.04.2+esm1 (Ubuntu Pro) | UBUNTU-CVE-2018-25091 |
| Ubuntu 16.04 | python-pip | Fix pending | 8.1.1-2ubuntu0.6+esm6 (Ubuntu Pro) | UBUNTU-CVE-2018-25091 |
| Ubuntu 16.04 | python-urllib3 | Fix pending | 1.13.1-2ubuntu0.16.04.4+esm1 (Ubuntu Pro) | UBUNTU-CVE-2018-25091 |
| Ubuntu 14.04 | python-pip | Fix pending | UBUNTU-CVE-2018-25091 | |
| Ubuntu 14.04 | python-urllib3 | Fix pending | UBUNTU-CVE-2018-25091 | |
| Debian 14 | python-urllib3 | Fixed | 1.25.6-4 | DEBIAN-CVE-2018-25091 |
| Debian 13 | python-urllib3 | Fixed | 1.25.6-4 | DEBIAN-CVE-2018-25091 |
| Debian 12 | python-urllib3 | Fixed | 1.25.6-4 | DEBIAN-CVE-2018-25091 |
| Red Hat Enterprise Linux 9 | fence-agents | Not affected | ||
| Red Hat Enterprise Linux 9 | fence-agents-aliyun | Not affected | ||
| Red Hat Enterprise Linux 9 | fence-agents-all | Not affected | ||
| Red Hat Enterprise Linux 9 | fence-agents-amt-ws | Not affected | ||
| Red Hat Enterprise Linux 9 | fence-agents-apc | Not affected | ||
| Red Hat Enterprise Linux 9 | fence-agents-apc-snmp | Not affected | ||
| Red Hat Enterprise Linux 9 | fence-agents-aws | Not affected | ||
| Red Hat Enterprise Linux 9 | fence-agents-azure-arm | Not affected | ||
| Red Hat Enterprise Linux 9 | fence-agents-bladecenter | Not affected | ||
| Red Hat Enterprise Linux 9 | fence-agents-brocade | Not affected | ||
| Red Hat Enterprise Linux 9 | fence-agents-cisco-mds | Not affected | ||
| Red Hat Enterprise Linux 9 | fence-agents-cisco-ucs | Not affected | ||
| Red Hat Enterprise Linux 9 | fence-agents-common | Not affected | ||
| Red Hat Enterprise Linux 9 | fence-agents-compute | Not affected | ||
| Red Hat Enterprise Linux 9 | fence-agents-drac5 | Not affected | ||
| Red Hat Enterprise Linux 9 | fence-agents-eaton-snmp | Not affected | ||
| Red Hat Enterprise Linux 9 | fence-agents-emerson | Not affected | ||
| Red Hat Enterprise Linux 9 | fence-agents-eps | Not affected | ||
| Red Hat Enterprise Linux 9 | fence-agents-gce | Not affected | ||
| Red Hat Enterprise Linux 9 | fence-agents-heuristics-ping | Not affected | ||
| Red Hat Enterprise Linux 9 | fence-agents-hpblade | Not affected | ||
| Red Hat Enterprise Linux 9 | fence-agents-ibm-powervs | Not affected | ||
| Red Hat Enterprise Linux 9 | fence-agents-ibm-vpc | Not affected | ||
| Red Hat Enterprise Linux 9 | fence-agents-ibmblade | Not affected | ||
| Red Hat Enterprise Linux 9 | fence-agents-ifmib | Not affected | ||
| Red Hat Enterprise Linux 9 | fence-agents-ilo-moonshot | Not affected | ||
| Red Hat Enterprise Linux 9 | fence-agents-ilo-mp | Not affected | ||
| Red Hat Enterprise Linux 9 | fence-agents-ilo-ssh | Not affected | ||
| Red Hat Enterprise Linux 9 | fence-agents-ilo2 | Not affected | ||
| Red Hat Enterprise Linux 9 | fence-agents-intelmodular | Not affected | ||
| Red Hat Enterprise Linux 9 | fence-agents-ipdu | Not affected | ||
| Red Hat Enterprise Linux 9 | fence-agents-ipmilan | Not affected | ||
| Red Hat Enterprise Linux 9 | fence-agents-kdump | Not affected | ||
| Red Hat Enterprise Linux 9 | fence-agents-kubevirt | Not affected | ||
| Red Hat Enterprise Linux 9 | fence-agents-lpar | Not affected | ||
| Red Hat Enterprise Linux 9 | fence-agents-mpath | Not affected | ||
| Red Hat Enterprise Linux 9 | fence-agents-nutanix-ahv | Not affected | ||
| Red Hat Enterprise Linux 9 | fence-agents-openstack | Not affected | ||
| Red Hat Enterprise Linux 9 | fence-agents-redfish | Not affected | ||
| Red Hat Enterprise Linux 9 | fence-agents-rhevm | Not affected | ||
| Red Hat Enterprise Linux 9 | fence-agents-rsa | Not affected | ||
| Red Hat Enterprise Linux 9 | fence-agents-rsb | Not affected | ||
| Red Hat Enterprise Linux 9 | fence-agents-sbd | Not affected | ||
| Red Hat Enterprise Linux 9 | fence-agents-scsi | Not affected | ||
| Red Hat Enterprise Linux 9 | fence-agents-virsh | Not affected | ||
| Red Hat Enterprise Linux 9 | fence-agents-vmware-rest | Not affected | ||
| Red Hat Enterprise Linux 9 | fence-agents-vmware-soap | Not affected | ||
| Red Hat Enterprise Linux 9 | fence-agents-wti | Not affected | ||
| Red Hat Enterprise Linux 9 | fence-agents-zvm | Not affected | ||
| Red Hat Enterprise Linux 9 | fence-virt | Not affected | ||
| Red Hat Enterprise Linux 9 | fence-virtd | Not affected | ||
| Red Hat Enterprise Linux 9 | fence-virtd-cpg | Not affected | ||
| Red Hat Enterprise Linux 9 | fence-virtd-libvirt | Not affected | ||
| Red Hat Enterprise Linux 9 | fence-virtd-multicast | Not affected | ||
| Red Hat Enterprise Linux 9 | fence-virtd-serial | Not affected | ||
| Red Hat Enterprise Linux 9 | fence-virtd-tcp | Not affected | ||
| Red Hat Enterprise Linux 9 | ha-cloud-support | Not affected | ||
| Red Hat Enterprise Linux 9 | python-pip | Not affected | ||
| Red Hat Enterprise Linux 9 | python-urllib3 | Not affected | ||
| Red Hat Enterprise Linux 9 | python3-pip | Not affected | ||
| Red Hat Enterprise Linux 9 | python3-pip-wheel | Not affected | ||
| Red Hat Enterprise Linux 9 | python3-urllib3 | Not affected | ||
| Red Hat Enterprise Linux 9 | python3.11-pip | Not affected | ||
| Red Hat Enterprise Linux 9 | python3.11-pip-wheel | Not affected | ||
| Red Hat Enterprise Linux 8 | aardvark-dns | Fixed | 2:1.10.0-1.module+el8.10.0+21209+52deeb51 | RHSA-2024:2988 |
| Red Hat Enterprise Linux 8 | buildah | Fixed | 2:1.33.6-2.module+el8.10.0+21371+46937ece | RHSA-2024:2988 |
| Red Hat Enterprise Linux 8 | buildah-tests | Fixed | 2:1.33.6-2.module+el8.10.0+21371+46937ece | RHSA-2024:2988 |
| Red Hat Enterprise Linux 8 | cockpit-podman | Fixed | 0:84.1-1.module+el8.10.0+21373+0d273fdf | RHSA-2024:2988 |
| Red Hat Enterprise Linux 8 | conmon | Fixed | 3:2.1.10-1.module+el8.10.0+21077+98b84d8a | RHSA-2024:2988 |
| Red Hat Enterprise Linux 8 | container-selinux | Fixed | 2:2.229.0-2.module+el8.10.0+21196+3f0abbca | RHSA-2024:2988 |
| Red Hat Enterprise Linux 8 | containernetworking-plugins | Fixed | 1:1.4.0-2.module+el8.10.0+21366+f9cb49f8 | RHSA-2024:2988 |
| Red Hat Enterprise Linux 8 | containers-common | Fixed | 2:1-81.module+el8.10.0+21340+c6c7475a | RHSA-2024:2988 |
| Red Hat Enterprise Linux 8 | crit | Fixed | 0:3.18-4.module+el8.9.0+20326+387084d0 | RHSA-2024:2988 |
| Red Hat Enterprise Linux 8 | criu | Fixed | 0:3.18-4.module+el8.9.0+20326+387084d0 | RHSA-2024:2988 |
| Red Hat Enterprise Linux 8 | criu-devel | Fixed | 0:3.18-4.module+el8.9.0+20326+387084d0 | RHSA-2024:2988 |
| Red Hat Enterprise Linux 8 | criu-libs | Fixed | 0:3.18-4.module+el8.9.0+20326+387084d0 | RHSA-2024:2988 |
| Red Hat Enterprise Linux 8 | crun | Fixed | 0:1.14.3-2.module+el8.10.0+21340+c6c7475a | RHSA-2024:2988 |
| Red Hat Enterprise Linux 8 | fuse-overlayfs | Fixed | 0:1.13-1.module+el8.10.0+20412+95ee28e2 | RHSA-2024:2988 |
| Red Hat Enterprise Linux 8 | libslirp | Fixed | 0:4.4.0-1.module+el8.9.0+20326+387084d0 | RHSA-2024:2988 |
| Red Hat Enterprise Linux 8 | libslirp-devel | Fixed | 0:4.4.0-1.module+el8.9.0+20326+387084d0 | RHSA-2024:2988 |
| Red Hat Enterprise Linux 8 | netavark | Fixed | 2:1.10.3-1.module+el8.10.0+21306+6be40ce7 | RHSA-2024:2988 |
| Red Hat Enterprise Linux 8 | oci-seccomp-bpf-hook | Fixed | 0:1.2.10-1.module+el8.10.0+20565+a40ba0e5 | RHSA-2024:2988 |
| Red Hat Enterprise Linux 8 | platform-python-pip | Not affected | ||
| Red Hat Enterprise Linux 8 | podman | Fixed | 3:4.9.4-0.1.module+el8.10.0+21350+ea09fba1 | RHSA-2024:2988 |
| Red Hat Enterprise Linux 8 | podman-catatonit | Fixed | 3:4.9.4-0.1.module+el8.10.0+21350+ea09fba1 | RHSA-2024:2988 |
| Red Hat Enterprise Linux 8 | podman-docker | Fixed | 3:4.9.4-0.1.module+el8.10.0+21350+ea09fba1 | RHSA-2024:2988 |
| Red Hat Enterprise Linux 8 | podman-gvproxy | Fixed | 3:4.9.4-0.1.module+el8.10.0+21350+ea09fba1 | RHSA-2024:2988 |
| Red Hat Enterprise Linux 8 | podman-plugins | Fixed | 3:4.9.4-0.1.module+el8.10.0+21350+ea09fba1 | RHSA-2024:2988 |
| Red Hat Enterprise Linux 8 | podman-remote | Fixed | 3:4.9.4-0.1.module+el8.10.0+21350+ea09fba1 | RHSA-2024:2988 |
| Red Hat Enterprise Linux 8 | podman-tests | Fixed | 3:4.9.4-0.1.module+el8.10.0+21350+ea09fba1 | RHSA-2024:2988 |
| Red Hat Enterprise Linux 8 | python-pip | Not affected | ||
| Red Hat Enterprise Linux 8 | python-podman | Fixed | 0:4.9.0-1.module+el8.10.0+21196+3f0abbca | RHSA-2024:2988 |
| Red Hat Enterprise Linux 8 | python-urllib3 | Not affected | ||
| Red Hat Enterprise Linux 8 | python2-pip | Not affected | ||
| Red Hat Enterprise Linux 8 | python2-pip-wheel | Not affected | ||
| Red Hat Enterprise Linux 8 | python3-criu | Fixed | 0:3.18-4.module+el8.9.0+20326+387084d0 | RHSA-2024:2988 |
| Red Hat Enterprise Linux 8 | python3-pip | Not affected | ||
| Red Hat Enterprise Linux 8 | python3-pip-wheel | Not affected | ||
| Red Hat Enterprise Linux 8 | python3-podman | Fixed | 0:4.9.0-1.module+el8.10.0+21196+3f0abbca | RHSA-2024:2988 |
| Red Hat Enterprise Linux 8 | python3-urllib3 | Not affected | ||
| Red Hat Enterprise Linux 8 | python3.11-pip | Not affected | ||
| Red Hat Enterprise Linux 8 | python3.11-pip-wheel | Not affected | ||
| Red Hat Enterprise Linux 8 | python38-pip | Not affected | ||
| Red Hat Enterprise Linux 8 | python38-pip-wheel | Not affected | ||
| Red Hat Enterprise Linux 8 | python39-pip | Not affected | ||
| Red Hat Enterprise Linux 8 | python39-pip-wheel | Not affected | ||
| Red Hat Enterprise Linux 8 | python3x-pip | Not affected | ||
| Red Hat Enterprise Linux 8 | runc | Fixed | 1:1.1.12-1.module+el8.10.0+21251+62b7388c | RHSA-2024:2988 |
| Red Hat Enterprise Linux 8 | skopeo | Fixed | 2:1.14.3-0.1.module+el8.10.0+21251+62b7388c | RHSA-2024:2988 |
| Red Hat Enterprise Linux 8 | skopeo-tests | Fixed | 2:1.14.3-0.1.module+el8.10.0+21251+62b7388c | RHSA-2024:2988 |
| Red Hat Enterprise Linux 8 | slirp4netns | Fixed | 0:1.2.3-1.module+el8.10.0+21306+6be40ce7 | RHSA-2024:2988 |
| Red Hat Enterprise Linux 8 | toolbox | Fixed | 0:0.0.99.5-2.module+el8.10.0+21341+ff0b5f89 | RHSA-2024:2988 |
| Red Hat Enterprise Linux 8 | toolbox-tests | Fixed | 0:0.0.99.5-2.module+el8.10.0+21341+ff0b5f89 | RHSA-2024:2988 |
| Red Hat Enterprise Linux 8 | udica | Fixed | 0:0.2.6-20.module+el8.9.0+20326+387084d0 | RHSA-2024:2988 |
| Red Hat Enterprise Linux 7 | python-pip | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 7 | python-s3transfer | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 7 | python-urllib3 | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 7 | python3-pip | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 7 | resource-agents | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 7 | resource-agents-aliyun | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 7 | resource-agents-gcp | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 7 | resource-agents-sap | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 7 | resource-agents-sap-hana | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 7 | resource-agents-sap-hana-scaleout | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 7 | sap-cluster-connector | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | python-urllib3 | Will not fix Out of support scope | ||
| Rocky Linux 8 | aardvark-dns | Fixed | 2:1.10.0-1.module+el8.10.0+1825+623b0c20 | RLSA-2024:2988 |
| Rocky Linux 8 | cockpit-podman | Fixed | 0:84.1-1.module+el8.10.0+1948+4b5cd4a9 | RLSA-2024:2988 |
| Rocky Linux 8 | conmon | Fixed | 3:2.1.10-1.module+el8.10.0+1880+8e896d1b | RLSA-2024:2988 |
| Rocky Linux 8 | container-selinux | Fixed | 2:2.229.0-2.module+el8.10.0+1948+4b5cd4a9 | RLSA-2024:2988 |
| Rocky Linux 8 | containernetworking-plugins | Fixed | 1:1.4.0-2.module+el8.10.0+1825+623b0c20 | RLSA-2024:2988 |
| Rocky Linux 8 | containers-common | Fixed | 2:1-81.module+el8.10.0+1825+623b0c20 | RLSA-2024:2988 |
| Rocky Linux 8 | crun | Fixed | 0:1.14.3-2.module+el8.10.0+1948+4b5cd4a9 | RLSA-2024:2988 |
| Rocky Linux 8 | fuse-overlayfs | Fixed | 0:1.13-1.module+el8.10.0+1815+5fe7415e | RLSA-2024:2988 |
| Rocky Linux 8 | libslirp | Fixed | 0:4.4.0-1.module+el8.9.0+1445+07728297 | RLSA-2024:2988 |
| Rocky Linux 8 | netavark | Fixed | 2:1.10.3-1.module+el8.10.0+1896+b18fa106 | RLSA-2024:2988 |
| Rocky Linux 8 | oci-seccomp-bpf-hook | Fixed | 0:1.2.10-1.module+el8.10.0+1948+4b5cd4a9 | RLSA-2024:2988 |
| Rocky Linux 8 | python-podman | Fixed | 0:4.9.0-1.module+el8.10.0+1825+623b0c20 | RLSA-2024:2988 |
| Rocky Linux 8 | runc | Fixed | 1:1.1.12-1.module+el8.10.0+1825+623b0c20 | RLSA-2024:2988 |
| Rocky Linux 8 | slirp4netns | Fixed | 0:1.2.3-1.module+el8.10.0+1896+b18fa106 | RLSA-2024:2988 |
| Rocky Linux 8 | toolbox | Fixed | 0:0.0.99.5-2.module+el8.10.0+1948+4b5cd4a9.rocky.0.2 | RLSA-2024:2988 |
| PyPI library | urllib3 | Fixed | 1.24.2 | GHSA-gwvm-45gx-3cf8 |
References
- https://github.com/urllib3/urllib3/issues/1510
- https://github.com/urllib3/urllib3/commit/adb358f8e06865406d1f05e581a16cbea2136fbc
- https://github.com/urllib3/urllib3/compare/1.24.1...1.24.2
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.