CVE-2018-25091

Publication date 15 October 2023

Last updated 24 July 2024


Ubuntu priority

Cvss 3 Severity Score

6.1 · Medium

Score breakdown

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).

Read the notes from the security team

Status

Package Ubuntu Release Status
python-pip 24.10 oracular
Needs evaluation
24.04 LTS noble
Needs evaluation
23.10 mantic
Fixed 23.2+dfsg-1ubuntu0.1
23.04 lunar
Fixed 23.0.1+dfsg-1ubuntu0.2
22.04 LTS jammy
Fixed 22.0.2+dfsg-1ubuntu0.4
20.04 LTS focal
Fixed 20.0.2-5ubuntu1.10
18.04 LTS bionic
16.04 LTS xenial
14.04 LTS trusty Ignored end of ESM support, was needs-triage
python-urllib3 24.10 oracular
Not affected
24.04 LTS noble
Not affected
23.10 mantic
Not affected
23.04 lunar
Not affected
22.04 LTS jammy
Not affected
20.04 LTS focal
Not affected
18.04 LTS bionic
16.04 LTS xenial
14.04 LTS trusty Ignored end of ESM support, was needs-triage

Get expanded security coverage with Ubuntu Pro

Reduce your average CVE exposure time from 98 days to 1 day with expanded CVE patching, ten-years security maintenance and optional support for the full stack of open-source applications. Free for personal use.

Get Ubuntu Pro

Notes


mdeslaur

On focal and earlier, the python-pip package bundles python-urllib3 binaries when built. After updating python-urllib3, a no-change rebuild of python-pip is required. On jammy and later, python-urllib3 is bundled in the python-pip package and needs to be patched.


sbeattie

According to Debian, this issue exists because of an incomplete fix for CVE-2018-20060 (which was case-sensitive)

Severity score breakdown

Parameter Value
Base score 6.1 · Medium
Attack vector Network
Attack complexity Low
Privileges required None
User interaction Required
Scope Changed
Confidentiality Low
Integrity impact Low
Availability impact None
Vector CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N