SecurityContext

CVE-2018-18074: Requests - Information Disclosure

  • Cve: CVE-2018-18074
  • Name: Requests - Information Disclosure
  • Description: 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.
  • Impact: Remote attackers can sniff network traffic to discover sensitive credentials, leading to potential unauthorized access.
  • Remediation: Update to Requests version 2.20.0 or later.
  • Vulnerability type: misconfiguration
  • Vulnerability impact: information_disclosure
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: high
  • Cvss score: 7.5
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
  • Epss score: 0.06925
  • Epss percentile: 0.94255
  • Assignee: [email protected]
  • Published at: 2018-10-09T17:29:01Z
  • Age in days: 2968
  • Modified at: 2026-06-17T01:46:44Z
  • Patch available: yes
  • Public exploits total: 3
  • References total: 10
  • Products total: 6
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2018-18074
  • Nvd status: modified
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
  • Not known: requirements

Cwe

IdName
CWE-522Insufficiently Protected Credentials

Hackerone

  • Reports: 1
  • Rank: 5211

Public exploits

UrlSourceAdded date
https://bugs.debian.org/910766nvd2018-10-09
https://github.com/requests/requests/issues/4716nvd2018-10-09
https://github.com/mlbrilliance/aurora-demo-lockfilepoc-in-github2026-05-11

References

Same in every row:

  • Source: nvd
UrlTags
https://bugs.debian.org/910766Exploit, Issue Tracking, Patch, Third Party Advisory
https://github.com/requests/requests/commit/c45d7c49ea75133e52ab22a8e9e13173938e36ffPatch, Third Party Advisory
https://github.com/requests/requests/issues/4716Exploit, Patch, Third Party Advisory
https://github.com/requests/requests/pull/4718Patch, Third Party Advisory
http://docs.python-requests.org/en/master/community/updates/#release-and-version-historyRelease Notes, Third Party Advisory
http://lists.opensuse.org/opensuse-security-announce/2019-07/msg00024.htmlMailing List, Third Party Advisory
https://access.redhat.com/errata/RHSA-2019:2035Third Party Advisory
https://usn.ubuntu.com/3790-1/Third Party Advisory
https://usn.ubuntu.com/3790-2/Third Party Advisory
https://www.oracle.com/security-alerts/cpujul2022.html

Products

Same in every row:

  • Platform bound: no
  • Sources: nvd
ProductAffectedUrl
python:requests< 2.20.0/v1/products/python/requests
canonical:ubuntu_linux= 18.10, = 18.04, = 16.04, = 14.04/v1/products/canonical/ubuntu_linux
redhat:enterprise_linux_desktop= 7.0/v1/products/redhat/enterprise_linux_desktop
opensuse:leap= 15.1/v1/products/opensuse/leap
redhat:enterprise_linux_server= 7.0/v1/products/redhat/enterprise_linux_server
redhat:enterprise_linux_workstation= 7.0/v1/products/redhat/enterprise_linux_workstation

Projects

RepositoryLink kindsIndexedUrl
requests/requestscommit, issues, package, pullyes/v1/repositories/requests/requests

Index

  • Repositories: 4375
  • Repositories high signal: 2602
  • Packages: 1

Exploitation

  • Public exploit: yes
  • Public exploit count: 3
  • Public exploit first date: 2018-10-09
  • Remote: yes
  • Hackerone reports: 1
  • Exposed hosts: 21216412
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since