GitHub Advisoryadvisory · PyPI
GHSA-x84v-xcm2-53pg Insufficiently Protected Credentials in Requests
HIGH
Official page ↗
- Aliases
- CVE-2018-18074
- Ecosystem
- PyPI
- Packages
- requests
- Severity
- High
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- Weaknesses
- CWE-522
- Reviewed
- 2020-06-16
Affected packages
• PyPI requests: < 2.20.0 → fixed in 2.20.0
Description
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.
Related
Alias · CVE (1)
- 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… vulnerability
Weakness · CWE (1)
- CWE-522 Insufficiently Protected Credentials weakness
References
- https://nvd.nist.gov/vuln/detail/CVE-2018-18074 advisory
- https://github.com/requests/requests/issues/4716 web
- https://github.com/requests/requests/pull/4718 web
- https://github.com/requests/requests/commit/c45d7c49ea75133e52ab22a8e9e13173938e36ff web
- https://access.redhat.com/errata/RHSA-2019:2035 web
- https://bugs.debian.org/910766 web
- https://github.com/pypa/advisory-database/tree/main/vulns/requests/PYSEC-2018-28.yaml web
- https://github.com/requests/requests package
- https://usn.ubuntu.com/3790-1 web
- https://usn.ubuntu.com/3790-2 web
- https://www.oracle.com/security-alerts/cpujul2022.html web
- http://docs.python-requests.org/en/master/community/updates/#release-and-version-history web
- http://lists.opensuse.org/opensuse-security-announce/2019-07/msg00024.html web