CVE-2018-18074

Summary

CVECVE-2018-18074
StatePUBLIC
Assigner[email protected]
Source PriorityCVE Program / NVD first with legacy fallback
Published2018-10-09 17:29:00 UTC
Updated2022-07-25 18:15:00 UTC
DescriptionThe 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.

Risk And Classification

Problem Types: CWE-522

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Operating System Canonical Ubuntu Linux 14.04 All All All
Operating System Canonical Ubuntu Linux 14.04 All All All
Operating System Canonical Ubuntu Linux 16.04 All All All
Operating System Canonical Ubuntu Linux 18.04 All All All
Operating System Canonical Ubuntu Linux 18.10 All All All
Operating System Canonical Ubuntu Linux 14.04 All All All
Operating System Canonical Ubuntu Linux 16.04 All All All
Operating System Canonical Ubuntu Linux 18.04 All All All
Operating System Canonical Ubuntu Linux 18.10 All All All
Operating System Opensuse Leap 15.1 All All All
Application Python Requests All All All All
Application Python-requests Requests All All All All
Operating System Redhat Enterprise Linux Desktop 7.0 All All All
Operating System Redhat Enterprise Linux Server 7.0 All All All
Operating System Redhat Enterprise Linux Workstation 7.0 All All All

References

ReferenceSourceLinkTags
[security-announce] openSUSE-SU-2019:1754-1: moderate: Security update f SUSE lists.opensuse.org
Merge pull request #4718 from bmerry/fix-4716 · requests/requests@c45d7c4 · GitHub MISC github.com Patch, Third Party Advisory
#910766 - requests: CVE-2018-18074 - Debian Bug report logs MISC bugs.debian.org Exploit, Issue Tracking, Patch, Third Party Advisory
Community Updates — Requests 2.25.1 documentation CONFIRM docs.python-requests.org Release Notes, Third Party Advisory
Strip Authorization header whenever root URL changes by bmerry · Pull Request #4718 · psf/requests · GitHub MISC github.com Patch, Third Party Advisory
USN-3790-2: Requests vulnerability | Ubuntu security notices UBUNTU usn.ubuntu.com Third Party Advisory
USN-3790-1: Requests vulnerability | Ubuntu security notices UBUNTU usn.ubuntu.com Third Party Advisory
Should Authorization header be cleared in https -> http redirect? · Issue #4716 · psf/requests · GitHub MISC github.com Exploit, Patch, Third Party Advisory
Oracle Critical Patch Update Advisory - July 2022 N/A www.oracle.com
Red Hat Customer Portal REDHAT access.redhat.com
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Legacy QID Mappings

  • 159655 Oracle Enterprise Linux Security Update for python27:2.7 (ELSA-2020-1605)
  • 296079 Oracle Solaris 11.4 Support Repository Update (SRU) 15.5.0 Missing (CPUOCT2019)
  • 377327 Alibaba Cloud Linux Security Update for python-pip (ALINUX3-SA-2022:0103)
  • 377434 Alibaba Cloud Linux Security Update for python-requests (ALINUX2-SA-2019:0090)
  • 377494 Alibaba Cloud Linux Security Update for python-virtualenv (ALINUX2-SA-2020:0029)
  • 377534 Alibaba Cloud Linux Security Update for python-pip (ALINUX2-SA-2020:0030)
  • 752089 SUSE Enterprise Linux Security Update for python-requests (SUSE-SU-2022:1448-1)
  • 752164 SUSE Enterprise Linux Security Update for python-requests (SUSE-SU-2022:1819-1)
  • 940120 AlmaLinux Security Update for python27:2.7 (ALSA-2020:1605)
  • 980797 Python (pip) Security Update for requests (GHSA-x84v-xcm2-53pg)
© CVE.report 2026 |

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

CVE.report and Source URL Uptime Status status.cve.report