cve.bz

CVE-2018-25091 python urllib3: Open Redirect

6.1 mediumEPSS 0.6%Fix available

Medium (6.1) in python urllib3. EPSS 0.6% estimated probability of exploitation activity in the next 30 days. Fixed in urllib3 1.24.2.

On this page
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).

Severity

CVSS 3.1

6.1 medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
EPSS
0.6% (unchanged from 0.6% a week ago; 0.6% 30 days ago) estimated probability of exploitation activity in the next 30 days; 49th percentile. Scored 2026-11-24. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2024-09-16. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-601 URL Redirection to Untrusted Site (Open Redirect)
OWASP Top 10
A01:2025 Broken Access Control
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2018-25091 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2018-25091?via=ask-ai-copy and https://cve.bz/cve/CVE-2018-25091?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2018-25091 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
python:urllib3before 1.24.2

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-gwvm-45gx-3cf8PyPIurllib3<1.24.21.24.2
PYSEC-2023-207PyPIurllib3<1.24.21.24.2

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian10python-urllib31.24.1-1+deb10u1DLA-3610-1
Debian12, 13, 14python-urllib31.25.6-4DEBIAN-CVE-2018-25091
Ubuntu20.04:LTSpython-pip20.0.2-5ubuntu1.10USN-6473-2
Ubuntu20.04:LTSpython-urllib31.25.8-2ubuntu0.3USN-6473-1
Ubuntu22.04:LTSpython-pip22.0.2+dfsg-1ubuntu0.4USN-6473-2
Ubuntu22.04:LTSpython-urllib31.26.5-1~exp1ubuntu0.1USN-6473-1
UbuntuPro:14.04:LTSpython-pip, python-urllib3no fix listedUBUNTU-CVE-2018-25091
UbuntuPro:16.04:LTSpython-pip8.1.1-2ubuntu0.6+esm6UBUNTU-CVE-2018-25091 USN-6473-2
UbuntuPro:16.04:LTSpython-urllib31.13.1-2ubuntu0.16.04.4+esm1UBUNTU-CVE-2018-25091 USN-6473-1
UbuntuPro:18.04:LTSpython-pip9.0.1-2.3~ubuntu1.18.04.8+esm2UBUNTU-CVE-2018-25091 USN-6473-2
UbuntuPro:18.04:LTSpython-urllib31.22-1ubuntu0.18.04.2+esm1UBUNTU-CVE-2018-25091 USN-6473-1
Red Hatenterprise_linux:8::appstreamaardvark-dns2:1.10.0-1.module+el8.10.0+21209+52deeb51RHSA-2024:2988
Red Hatenterprise_linux:8::appstreambuildah, buildah-tests, buildah-debuginfo and 2 more2:1.33.6-2.module+el8.10.0+21371+46937eceRHSA-2024:2988
Red Hatenterprise_linux:8::appstreamcockpit-podman0:84.1-1.module+el8.10.0+21373+0d273fdfRHSA-2024:2988
Red Hatenterprise_linux:8::appstreamconmon, conmon-debuginfo, conmon-debugsource3:2.1.10-1.module+el8.10.0+21077+98b84d8aRHSA-2024:2988
Red Hatenterprise_linux:8::appstreamcontainer-selinux2:2.229.0-2.module+el8.10.0+21196+3f0abbcaRHSA-2024:2988
Red Hatenterprise_linux:8::appstreamcontainernetworking-plugins, containernetworking-plugins-debuginfo, containernetworking-plugins-debugsource1:1.4.0-2.module+el8.10.0+21366+f9cb49f8RHSA-2024:2988
Red Hatenterprise_linux:8::appstreamcontainers-common2:1-81.module+el8.10.0+21340+c6c7475aRHSA-2024:2988
Red Hatenterprise_linux:8::appstreamcrit, criu, criu-libs and 5 more0:3.18-4.module+el8.9.0+20326+387084d0RHSA-2024:2988
Red Hatenterprise_linux:8::appstreamcrun, crun-debuginfo, crun-debugsource0:1.14.3-2.module+el8.10.0+21340+c6c7475aRHSA-2024:2988
Red Hatenterprise_linux:8::appstreamfuse-overlayfs, fuse-overlayfs-debuginfo, fuse-overlayfs-debugsource0:1.13-1.module+el8.10.0+20412+95ee28e2RHSA-2024:2988
Red Hatenterprise_linux:8::appstreamlibslirp, libslirp-devel, libslirp-debuginfo and 1 more0:4.4.0-1.module+el8.9.0+20326+387084d0RHSA-2024:2988
Red Hatenterprise_linux:8::appstreamnetavark2:1.10.3-1.module+el8.10.0+21306+6be40ce7RHSA-2024:2988
8 more for Red Hat in the JSON and on Red Hat's page.
SUSEOpenStack Cloud 9, OpenStack Cloud Crowbar 9python-urllib31.23-3.25.1SUSE-SU-2023:4352-1
Rocky Linux8aardvark-dns2:1.10.0-1.module+el8.10.0+1815+5fe7415eRLSA-2024:2988
Rocky Linux8aardvark-dns2:1.10.0-1.module+el8.10.0+1825+623b0c20RLSA-2024:2988
Rocky Linux8aardvark-dns2:1.10.0-1.module+el8.10.0+1843+6892ab28RLSA-2024:2988
Rocky Linux8aardvark-dns2:1.10.0-1.module+el8.10.0+1872+2e18eb19RLSA-2024:2988
Rocky Linux8cockpit-podman0:84.1-1.module+el8.10.0+1815+5fe7415eRLSA-2024:2988
Rocky Linux8cockpit-podman0:84.1-1.module+el8.10.0+1825+623b0c20RLSA-2024:2988
Rocky Linux8cockpit-podman0:84.1-1.module+el8.10.0+1843+6892ab28RLSA-2024:2988
Rocky Linux8cockpit-podman0:84.1-1.module+el8.10.0+1872+2e18eb19RLSA-2024:2988
Rocky Linux8cockpit-podman0:84.1-1.module+el8.10.0+1874+ce489889RLSA-2024:2988
Rocky Linux8cockpit-podman0:84.1-1.module+el8.10.0+1880+8e896d1bRLSA-2024:2988
Rocky Linux8cockpit-podman0:84.1-1.module+el8.10.0+1896+b18fa106RLSA-2024:2988
Rocky Linux8cockpit-podman0:84.1-1.module+el8.10.0+1948+4b5cd4a9RLSA-2024:2988
73 more for Rocky Linux in the JSON.

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; Rocky Linux's errata, BSD-3-Clause. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

This is only exploitable if a redirect differs in host, port, or scheme. Due to the credential exposure in the authorization header, the confidentiality is highly impacted, but there is no proof that the integrity is affected in any way.

Red Hat's mitigation

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 8container-tools:rhel8-8100020240227110532.82888897Fixed 2024-05-22RHSA-2024:2988
Red Hat Ansible Automation Platform 2python-urllib3Affected
Red Hat Certification for Red Hat Enterprise Linux 8redhat-certification-baremetal-containerNot affected
Red Hat Developer Hub 1rhdh/rhdh-hub-rhel9Not affected
Red Hat Enterprise Linux 6python-urllib3Out of support scope
Red Hat Enterprise Linux 7python-pipOut of support scope
Red Hat Enterprise Linux 7python-s3transferOut of support scope
Red Hat Enterprise Linux 7python-urllib3Out of support scope
Red Hat Enterprise Linux 7resource-agentsOut of support scope
Red Hat Enterprise Linux 8inkscape:flatpak/python2-pipNot affected
Red Hat Enterprise Linux 8python27:2.7/python2-pipNot affected
Red Hat Enterprise Linux 8python27:2.7/python-urllib3Not affected
Red Hat Enterprise Linux 8python3.11-pipNot affected
Red Hat Enterprise Linux 8python39:3.9/python3x-pipNot affected
Red Hat Enterprise Linux 8python39:3.9/python-urllib3Not affected
Red Hat Enterprise Linux 8python-pipNot affected
Red Hat Enterprise Linux 8python-urllib3Not affected
Red Hat Enterprise Linux 9fence-agentsNot affected
Red Hat Enterprise Linux 9python3.11-pipNot affected
Red Hat Enterprise Linux 9python-pipNot affected
12 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2018-25091.

Attack patterns (CAPEC)

  • CAPEC-178 Cross-Site Flashing Likelihood: Medium · Severity: Medium

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON