VDB

CVE-2018-18074

CVE-2018-18074 PUBLISHED CVSS 7.5 HIGH

Insufficiently Protected Credentials in Requests

Reported by mitre · Published October 9, 2018

requests is fixed in c45d7c49ea75133e52ab22a8e9e13173938e36ff and 2.20.0 (PyPI)

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
requestsPyPIc45d7c49ea75133e52ab22a8e9e13173938e36ff, 2.20.0
python-virtualenvAmazon Linux15.1.0-4.amzn2
python-requestsAmazon Linux2.6.0-7.amzn2
requestsUbuntu:18.04:LTS2.18.4-2ubuntu0.1
requestspython2.20.0
python-pipUbuntu:18.04:LTS9.0.1-2.3~ubuntu1.18.04.2
requestsUbuntu:16.04:LTS2.9.1-3ubuntu0.1
requestsUbuntu:14.04:LTS2.2.1-1ubuntu0.4

Risk scores

CVSS 3.1
7.5
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Affected products

VendorProductVersions
n/an/an/a
amazon:2python-virtualenv0
amazon:2python-requests0
PyPIrequests0
n/an/a*

Timeline

  • Oct 9, 2018 CVE Published
  • Apr 14, 2021 EPSS Score (30 in total, the first dated here)
  • Feb 4, 2026 CVE Updated
  • Mar 6, 2026 Distribution Patch (84 in total, the first dated here)
  • Mar 6, 2026 Security Advisory (90 in total, the first dated here)
  • Sep 22, 2026 Coalition ESS Score

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2018-18074
vulnetix vdb fixes CVE-2018-18074

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2018-18074/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›