CVE-2018-18074

Publication date 9 October 2018

Last updated 18 August 2025


Ubuntu priority

Cvss 3 Severity Score

7.5 · High

Score breakdown

Description

The Requests package before 2.20.0 for Python sends an HTTP Authorization header to an http URI upon receiving a same-hostname https-to-http redirect, which makes it easier for remote attackers to discover credentials by sniffing the network.

Read the notes from the security team

Status

Package Ubuntu Release Status
requests 26.10 stonking
Fixed in 2.18.4-2ubuntu0.18.10.1
26.04 LTS resolute
Fixed in 2.18.4-2ubuntu0.18.10.1
25.10 questing
Fixed in 2.18.4-2ubuntu0.18.10.1
25.04 plucky
Fixed in 2.18.4-2ubuntu0.18.10.1
24.10 oracular
Fixed in 2.18.4-2ubuntu0.18.10.1
24.04 LTS noble
Fixed in 2.18.4-2ubuntu0.18.10.1
23.10 mantic
Fixed in 2.18.4-2ubuntu0.18.10.1
23.04 lunar
Fixed in 2.18.4-2ubuntu0.18.10.1
22.10 kinetic
Fixed in 2.18.4-2ubuntu0.18.10.1
22.04 LTS jammy
Fixed in 2.18.4-2ubuntu0.18.10.1
21.10 impish
Fixed in 2.18.4-2ubuntu0.18.10.1
21.04 hirsute
Fixed in 2.18.4-2ubuntu0.18.10.1
20.10 groovy
Fixed in 2.18.4-2ubuntu0.18.10.1
20.04 LTS focal
Fixed in 2.18.4-2ubuntu0.18.10.1
18.10 cosmic
Fixed in 2.18.4-2ubuntu0.18.10.1
18.04 LTS bionic
Fixed in 2.18.4-2ubuntu0.1
16.04 LTS xenial
Fixed in 2.9.1-3ubuntu0.1
14.04 LTS trusty
Fixed in 2.2.1-1ubuntu0.4
python-pip 26.10 stonking
Not affected
26.04 LTS resolute
Not affected
25.10 questing
Not affected
25.04 plucky
Not affected
24.10 oracular
Not affected
24.04 LTS noble
Not affected
23.10 mantic
Not affected
23.04 lunar
Not affected
22.10 kinetic
Not affected
22.04 LTS jammy
Not affected
21.10 impish
Not affected
21.04 hirsute
Not affected
20.10 groovy
Not affected
20.04 LTS focal
Not affected
18.04 LTS bionic
Fixed in 9.0.1-2.3~ubuntu1.18.04.2
16.04 LTS xenial
Vulnerable
14.04 LTS trusty
Not affected

Notes


sbeattie

python-pip needs to a no-change rebuild to pull in the python-requests update for the copy embedded in python-pip-whl

Patch details

For informational purposes only. We recommend not to cherry-pick updates. How can I get the fixes?

Package Patch details
requests

Severity score breakdown

CVSS version: CVSS v3.0

Base score 7.5 · High

Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N


Access our resources on patching vulnerabilities