Vulnerability in Python Requests
CVE-2018-18074
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.
Published · last modified .
CVSS v3 metric
CVSS v3 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.
EPSS exploit prediction
EPSS: 0.069 (94.1th percentile), scored .
Low probability of exploitation in the next 30 days, but still tracked. 94th percentile — 94.1% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.074 · newest: 0.069 · change: -0.005
Affected products
- Python Requests
- Canonical Ubuntu Linux — versions 14.04, 16.04, 18.04
- openSUSE Leap — versions 15.1
- Red Hat Enterprise Linux Desktop — versions 7.0
- Red Hat Enterprise Linux Server — versions 7.0
- Red Hat Enterprise Linux Workstation — versions 7.0
Weakness classification (CWE)
Public proof-of-concept exploits
References
- usn.ubuntu.com/3790-1/ (vendor-advisory, Third Party Advisory)
- usn.ubuntu.com/3790-2/ (vendor-advisory, Third Party Advisory)
- lists.opensuse.org/opensuse-security-announce/2019-07/msg00024.html (vendor-advisory, Mailing List, Third Party Advisory)
- access.redhat.com/errata/RHSA-2019:2035 (vendor-advisory, Third Party Advisory)
- www.oracle.com/security-alerts/cpujul2022.html
- docs.python-requests.org/en/master/community/updates/ (Third Party Advisory, Release Notes)
- bugs.debian.org/910766 (Exploit, Patch, Third Party Advisory, Issue Tracking)
- github.com/requests/requests/commit/c45d7c49ea75133e52ab22a8e9e13173938e36ff (Patch, Third Party Advisory)
- github.com/requests/requests/issues/4716 (Exploit, Patch, Third Party Advisory)
- github.com/requests/requests/pull/4718 (Patch, Third Party Advisory)
Frequently asked questions
- What is CVE-2018-18074?
- CVE-2018-18074 is a high-severity vulnerability in Python Requests, classified under Insufficiently Protected Credentials. CVSS score: 7.5/10. Published 2018-10-09.
- How severe is CVE-2018-18074?
- High severity. CVSS v3 base score is 7.5 out of 10.
- Is CVE-2018-18074 known to be exploited?
- 26 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.