{"id":"CVE-2018-18074","published":"2018-10-09T15:00:00Z","modified":"2024-08-05T11:01:14Z","title":"The Requests package before 2.20.0 for Python sends an HTTP Authorization header to an http URI upon receiving a…","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.06925,"percentile":0.94248,"provenance":"source"},"cwes":[],"references":[{"url":"https://usn.ubuntu.com/3790-1/","tags":["vendor-advisory","x_refsource_UBUNTU"]},{"url":"https://usn.ubuntu.com/3790-2/","tags":["vendor-advisory","x_refsource_UBUNTU"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2019-07/msg00024.html","tags":["vendor-advisory","x_refsource_SUSE"]},{"url":"https://access.redhat.com/errata/RHSA-2019:2035","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://www.oracle.com/security-alerts/cpujul2022.html","tags":["x_refsource_MISC"]},{"url":"http://docs.python-requests.org/en/master/community/updates/#release-and-version-history","tags":["x_refsource_CONFIRM"]},{"url":"https://bugs.debian.org/910766","tags":["x_refsource_MISC"]},{"url":"https://github.com/requests/requests/commit/c45d7c49ea75133e52ab22a8e9e13173938e36ff","tags":["x_refsource_MISC"]},{"url":"https://github.com/requests/requests/issues/4716","tags":["x_refsource_MISC"]},{"url":"https://github.com/requests/requests/pull/4718","tags":["x_refsource_MISC"]}],"priority":{"score":23.8,"factors":[{"name":"EPSS percentile","points":18.85},{"name":"Public exploit code","points":5.0}]},"exploitSources":{"pocGithub":{"count":1,"skipped":0,"earliest":"2026-05-11","earliestUrl":"https://github.com/mlbrilliance/aurora-demo-lockfile","repos":[{"name":"mlbrilliance/aurora-demo-lockfile","url":"https://github.com/mlbrilliance/aurora-demo-lockfile","stars":0,"created":"2026-05-11"}]},"first":{"date":"2026-05-11","source":"PoC-in-GitHub","url":"https://github.com/mlbrilliance/aurora-demo-lockfile"},"provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"requests","vulnerableRanges":["<2.20.0"],"patched":["2.20.0"],"from":["GHSA-x84v-xcm2-53pg","PYSEC-2018-28"],"provenance":"source"}],"summary":{"text":"The flaw lies in the Requests package for Python, in versions before 2.20.0, where its redirect handling is affected. When the library receives a same-hostname redirect from an https URL to an http URL, it sends the HTTP Authorization header over the unencrypted http connection, so an attacker positioned to observe network traffic can capture the credentials.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T20:59:34Z"},"euvd":{"id":"EUVD-2018-0131","exploited":false,"provenance":"source"}}