Feed
7.5HIGH
CVE-2018-18074Insufficiently Protected Credentials in Requests
A high-severity vulnerability reachable over the network, needing no privileges and no user interaction. EPSS estimates a 6.9% chance of exploitation in the next 30 days. A fixed version is named.
- Exploited in the wild
- Not in KEV
- EPSS
- 6.9%
- percentile 95%
- Fix
- Named by a source
- CVE published 9 Oct 2018
Reference
None of the "Needs attention" rules apply right now.
EPSS 6.9% (+7) · Network attack vector (+10) · No privileges required (+5) · No user interaction (+5)
Immediate actions
- requests (PyPI): upgrade to 2.20.0 or later on your release line.
- Patch: https://github.com/requests/requests/commit/c45d7c49ea75133e52ab22a8e9e13173938e36ff
- Commit / pull request: https://github.com/requests/requests/pull/4718
Who should check
requests (PyPI) pkg:pypi/requests
- Affected< 2.20.0Fixed in2.20.0OSV (PYSEC-2018-28)
Confirmed facts
- CVSS
- 7.5 HIGH (version 3.1)
- Score from
- GitHub Advisory Database (GHSA-x84v-xcm2-53pg)
- Attack vector
- network
- Attack complexity
- low
- Privileges required
- none
- User interaction
- none
- Weakness
- CWE-522
Unknowns
- We show one CVSS score. Other sources may score this CVE differently.
Advisory text
Quoted from the source advisory (untrusted)The Requests package through 2.19.1 before 2018-09-14 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.
Update history
No events recorded. Our history starts on 1 Jan 2025.
References
- advisoryhttps://nvd.nist.gov/vuln/detail/CVE-2018-18074
- otherhttps://github.com/requests/requests/issues/4716
- commit / pull requesthttps://github.com/requests/requests/pull/4718
- patchhttps://github.com/requests/requests/commit/c45d7c49ea75133e52ab22a8e9e13173938e36ff
- advisoryhttps://access.redhat.com/errata/RHSA-2019:2035
- otherhttps://bugs.debian.org/910766
- otherhttps://github.com/pypa/advisory-database/tree/main/vulns/requests/PYSEC-2018-28.yaml
- otherhttps://github.com/requests/requests
- otherhttps://usn.ubuntu.com/3790-1
- otherhttps://usn.ubuntu.com/3790-2
- otherhttps://www.oracle.com/security-alerts/cpujul2022.html
- otherhttp://docs.python-requests.org/en/master/community/updates/#release-and-version-history
- otherhttp://lists.opensuse.org/opensuse-security-announce/2019-07/msg00024.html
- otherhttps://usn.ubuntu.com/3790-1/
- otherhttps://usn.ubuntu.com/3790-2/
- advisoryhttps://github.com/advisories/GHSA-x84v-xcm2-53pg
Sources
- EPSS by FIRST.org, Free to use, attribution requested. Scores generated by Empirical Security.
- GHSA-x84v-xcm2-53pg (GitHub Advisory Database), CC BY 4.0.
- PYSEC-2018-28 (PyPA Advisory Database), CC BY 4.0.
- OSV.dev, Per database.
This page is our own presentation: records are shortened, normalised and merged. Licences
Last checked: kev 29 min ago · osv 29 min ago · nvd 29 min ago · epss 28 min ago · JSON · ask via MCP: explain_vulnerability
Also known as GHSA-x84v-xcm2-53pg, PYSEC-2018-28