{"id":"CVE-2018-18074","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.","aliases":["GHSA-x84v-xcm2-53pg","PYSEC-2018-28"],"modified":"2026-04-16T06:20:47.719159089Z","published":"2018-10-09T17:29:01.897Z","related":["ALBA-2019:3693","ALSA-2020:1605","SUSE-FU-2022:0444-1","SUSE-FU-2022:0445-1","SUSE-SU-2019:1487-1","SUSE-SU-2019:1487-2","SUSE-SU-2019:2027-1","SUSE-SU-2019:2047-1","SUSE-SU-2020:0555-1","SUSE-SU-2020:1792-1","SUSE-SU-2022:1448-1","SUSE-SU-2022:1819-1","openSUSE-SU-2019:1754-1","openSUSE-SU-2024:11266-1","openSUSE-SU-2024:13999-1"],"references":[{"type":"WEB","url":"https://www.oracle.com/security-alerts/cpujul2022.html"},{"type":"ADVISORY","url":"https://usn.ubuntu.com/3790-1/"},{"type":"ADVISORY","url":"https://usn.ubuntu.com/3790-2/"},{"type":"ADVISORY","url":"http://lists.opensuse.org/opensuse-security-announce/2019-07/msg00024.html"},{"type":"ADVISORY","url":"http://docs.python-requests.org/en/master/community/updates/#release-and-version-history"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2019:2035"},{"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"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/psf/requests","events":[{"introduced":"0"},{"fixed":"bd840450c0d1e9db3bf62382c15d96378cc3a056"},{"fixed":"c45d7c49ea75133e52ab22a8e9e13173938e36ff"}],"database_specific":{"versions":[{"introduced":"0"},{"fixed":"2.20.0"}]}}],"versions":["2.0","v0.10.0","v0.10.1","v0.10.2","v0.10.3","v0.10.4","v0.10.5","v0.10.6","v0.10.7","v0.10.8","v0.11.1","v0.12.0","v0.12.1","v0.13.0","v0.13.1","v0.13.2","v0.13.3","v0.13.4","v0.13.5","v0.13.6","v0.13.7","v0.13.9","v0.14.0","v0.14.1","v0.14.2","v0.2.0","v0.2.1","v0.2.2","v0.2.3","v0.2.4","v0.3.0","v0.3.2","v0.3.3","v0.3.4","v0.4.0","v0.4.1","v0.5.0","v0.5.1","v0.6.3","v0.6.4","v0.8.8","v0.8.9","v0.9.0","v0.9.1","v0.9.3","v1.0.0","v1.0.1","v1.0.2","v1.0.3","v1.0.4","v1.1.0","v1.2.0","v1.2.1","v1.2.2","v1.2.3","v2.0","v2.0.0","v2.0.1","v2.1.0","v2.10.0","v2.11.0","v2.11.1","v2.12.0","v2.12.1","v2.12.2","v2.12.3","v2.12.4","v2.12.5","v2.14.0","v2.14.1","v2.14.2","v2.15.0","v2.15.1","v2.16.0","v2.16.1","v2.16.2","v2.16.3","v2.16.4","v2.16.5","v2.17.0","v2.17.1","v2.17.3","v2.18.2","v2.18.3","v2.19.0","v2.19.1","v2.2.0","v2.2.1","v2.3.0","v2.4.0","v2.4.1","v2.4.2","v2.4.3","v2.5.0","v2.5.1","v2.5.2","v2.6.0","v2.8.0","v2.8.1","v2.9.0","v2.9.1","v2.9.2"],"database_specific":{"unresolved_ranges":[{"events":[{"introduced":"0"},{"last_affected":"14.04"}]},{"events":[{"introduced":"0"},{"last_affected":"16.04"}]},{"events":[{"introduced":"0"},{"last_affected":"18.04"}]},{"events":[{"introduced":"0"},{"last_affected":"18.10"}]},{"events":[{"introduced":"0"},{"last_affected":"15.1"}]},{"events":[{"introduced":"0"},{"last_affected":"7.0"}]},{"events":[{"introduced":"0"},{"last_affected":"7.0"}]},{"events":[{"introduced":"0"},{"last_affected":"7.0"}]}],"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2018-18074.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"}]}