# CVE-2018-18074

- Priority: **Prioritise**
- Reason: Public exploit (GitHub, Date unknown)
- Next step: Check applicability and the vendor advisory: no fix release is recorded here
- Status: published
- Published: 2018-10-09 · Modified: 2024-08-05
- Aliases: MGASA-2018-0475, SUSE-SU-2019:1487-1, SUSE-SU-2019:2027-1, SUSE-SU-2019:2047-1, SUSE-SU-2020:0555-1, SUSE-SU-2022:1448-1, SUSE-SU-2022:1819-1, GHSA-x84v-xcm2-53pg, PYSEC-2018-28, RHSA-2019:2035, UBUNTU-CVE-2018-18074, USN-3790-1, DEBIAN-CVE-2018-18074, openSUSE-SU-2019:1754-1
- Record: https://cvemate.com/vulnerability/CVE-2018-18074 · JSON: https://cvemate.com/vulnerability/CVE-2018-18074/json

## 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.
```

## Signals

- CVSS: 7.5 high (v3.1, NVD) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- EPSS: 6.925%, percentile 94.264%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 2 (github, reference)

## Affected (first 20 of 125)

- canonical ubuntu\_linux: 14.04 \| 16.04 \| 18.04 \| 18.10
- debian requests (Debian): \< 2.20.0-1
- ubuntu python-pip (Ubuntu): All versions (No fix recorded) \| \< 9.0.1-2.3~ubuntu1.18.04.2
- ubuntu requests (Ubuntu): \< 2.2.1-1ubuntu0.4 \| \< 2.9.1-3ubuntu0.1 \| \< 2.18.4-2ubuntu0.1
- mageia python-requests (Mageia): \< 2.11.1-2.1.mga6
- opensuse leap: 15.1
- PyPI requests (PyPI): \< c45d7c49ea75133e52ab22a8e9e13173938e36ff \| \< 2.20.0
- python requests: \< 2.20.0
- redhat enterprise\_linux\_desktop: 7.0
- redhat enterprise\_linux\_server: 7.0
- redhat enterprise\_linux\_workstation: 7.0
- opensuse python-requests-test&distro=openSUSE Leap 15.1 (openSUSE): \< 2.20.1-lp151.2.3.1
- opensuse python-requests&distro=openSUSE Leap 15.1 (openSUSE): \< 2.20.1-lp151.2.3.1
- redhat python-requests (Red Hat): \< 0:2.6.0-5.el7
- suse python-asn1crypto&distro=HPE Helion OpenStack 8 (SUSE Linux Enterprise): \< 0.24.0-2.5.1
- suse python-asn1crypto&distro=SUSE Enterprise Storage 5 (SUSE Linux Enterprise): \< 0.24.0-2.5.1
- suse python-asn1crypto&distro=SUSE Linux Enterprise High Availability Extension 12 SP1 (SUSE Linux Enterprise): \< 0.24.0-2.5.1
- suse python-asn1crypto&distro=SUSE Linux Enterprise Server 12 SP1-LTSS (SUSE Linux Enterprise): \< 0.24.0-2.5.1
- suse python-asn1crypto&distro=SUSE Linux Enterprise Server 12 SP2-BCL (SUSE Linux Enterprise): \< 0.24.0-2.5.1
- suse python-asn1crypto&distro=SUSE Linux Enterprise Server 12 SP2-LTSS (SUSE Linux Enterprise): \< 0.24.0-2.5.1

## References (first 20 of 39)

- <https://usn.ubuntu.com/3790-1/>
- <https://usn.ubuntu.com/3790-2/>
- <http://lists.opensuse.org/opensuse-security-announce/2019-07/msg00024.html>
- <https://access.redhat.com/errata/RHSA-2019:2035>
- <https://www.oracle.com/security-alerts/cpujul2022.html>
- <http://docs.python-requests.org/en/master/community/updates/#release-and-version-history>
- <https://bugs.debian.org/910766>
- <https://github.com/requests/requests/commit/c45d7c49ea75133e52ab22a8e9e13173938e36ff>
- <https://github.com/requests/requests/issues/4716>
- <https://github.com/requests/requests/pull/4718>
- <https://advisories.mageia.org/MGASA-2018-0475.html>
- <https://bugs.mageia.org/show_bug.cgi?id=23694>
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/thread/ODR7ZTGPEISZ35PPEJLPU5CAE5D23CXV/>
- <https://www.suse.com/support/update/announcement/2019/suse-su-20191487-1/>
- <https://bugzilla.suse.com/1111622>
- <https://www.suse.com/security/cve/CVE-2018-18074>
- <https://www.suse.com/support/update/announcement/2019/suse-su-20192027-1/>
- <https://www.suse.com/support/update/announcement/2019/suse-su-20192047-1/>
- <https://www.suse.com/support/update/announcement/2020/suse-su-20200555-1/>
- <https://bugzilla.suse.com/1122668>

---

Data as of 2026-12-05T03:46:20.098Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
