CVE-2018-18074: Insufficiently Protected Credentials in Requests
(updated )
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.
References
- access.redhat.com/errata/RHSA-2019:2035
- bugs.debian.org/910766
- github.com/advisories/GHSA-x84v-xcm2-53pg
- github.com/pypa/advisory-database/tree/main/vulns/requests/PYSEC-2018-28.yaml
- github.com/requests/requests
- github.com/requests/requests/commit/c45d7c49ea75133e52ab22a8e9e13173938e36ff
- github.com/requests/requests/issues/4716
- github.com/requests/requests/pull/4718
- nvd.nist.gov/vuln/detail/CVE-2018-18074
- usn.ubuntu.com/3790-1
- usn.ubuntu.com/3790-2
- www.oracle.com/security-alerts/cpujul2022.html
Code Behaviors & Features
Detect and mitigate CVE-2018-18074 with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →