{"id":"CVE-2018-18074","aliases":["GHSA-x84v-xcm2-53pg","PYSEC-2018-28"],"url":"https://o3.security/vulnerability/CVE-2018-18074","summary":"Insufficiently Protected Credentials in Requests","details":"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":"2018-10-09T17:29:01.897Z","modified":"2026-07-08T05:52:24.698477685Z","cvss":{"score":7.5,"severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"},"epss":null,"cisaKev":null,"exploitsKnown":2,"affectedPackages":[{"ecosystem":"PyPI","name":"requests","fixedVersion":"2.20.0"}],"fix":{"url":"https://github.com/requests/requests/commit/c45d7c49ea75133e52ab22a8e9e13173938e36ff","label":"requests/requests@c45d7c4"},"references":[{"type":"WEB","url":"https://www.oracle.com/security-alerts/cpujul2022.html"},{"type":"ADVISORY","url":"http://docs.python-requests.org/en/master/community/updates/#release-and-version-history"},{"type":"ADVISORY","url":"http://lists.opensuse.org/opensuse-security-announce/2019-07/msg00024.html"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2019:2035"},{"type":"ADVISORY","url":"https://usn.ubuntu.com/3790-1/"},{"type":"ADVISORY","url":"https://usn.ubuntu.com/3790-2/"},{"type":"FIX","url":"https://bugs.debian.org/910766"},{"type":"FIX","url":"https://github.com/requests/requests/commit/c45d7c49ea75133e52ab22a8e9e13173938e36ff"},{"type":"FIX","url":"https://github.com/requests/requests/issues/4716"},{"type":"FIX","url":"https://github.com/requests/requests/pull/4718"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-07-08T05:52:24.698477685Z"}}