{"cve":"CVE-2018-18074","nvd":{"published":"2018-10-09T17:29:01.897","modified":"2026-06-17T01:46:44.620","status":"Modified","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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","score":7.5},"cwes":["CWE-522"],"references":["http://docs.python-requests.org/en/master/community/updates/#release-and-version-history","http://lists.opensuse.org/opensuse-security-announce/2019-07/msg00024.html","https://access.redhat.com/errata/RHSA-2019:2035","https://bugs.debian.org/910766","https://github.com/requests/requests/commit/c45d7c49ea75133e52ab22a8e9e13173938e36ff"],"products":["canonical:ubuntu_linux","opensuse:leap","python:requests","redhat:enterprise_linux_desktop","redhat:enterprise_linux_server","redhat:enterprise_linux_workstation"],"source":"nvd","synced_at":"2026-10-19T20:53:14.491561039+00:00"},"epss":{"cve":"CVE-2018-18074","score":0.06925,"percentile":0.94105,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-x84v-xcm2-53pg","url":"https://osv.dev/vulnerability/GHSA-x84v-xcm2-53pg","summary":"Insufficiently Protected Credentials in Requests","modified":"2024-10-21T21:42:55.896669Z","packages":[{"ecosystem":"PyPI","name":"requests","purl":"pkg:pypi/requests","ranges":["<2.20.0"],"fixed":["2.20.0"]}]},{"id":"PYSEC-2018-28","url":"https://osv.dev/vulnerability/PYSEC-2018-28","summary":"","modified":"2023-11-08T04:00:04.815794Z","packages":[{"ecosystem":"PyPI","name":"requests","purl":"pkg:pypi/requests","ranges":["<2.20.0"],"fixed":["2.20.0"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}