CVE-2018-18074

NameCVE-2018-18074
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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
Debian Bugs910766

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
requests (PTS)jessie, jessie (lts)2.4.3-6+deb8u1vulnerable
stretch (lts), stretch2.12.4-1+deb9u1vulnerable
buster (security), buster, buster (lts)2.21.0-1+deb10u1fixed
bullseye2.25.1+dfsg-2fixed
bookworm2.28.1+dfsg-1fixed
sid, trixie2.32.3+dfsg-1fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
requestssourcewheezy(not affected)
requestssource(unstable)2.20.0-1low910766

Notes

[stretch] - requests <no-dsa> (Minor issue)
[jessie] - requests <postponed> (Minor issue)
https://github.com/requests/requests/issues/4716
https://github.com/requests/requests/pull/4718
https://github.com/requests/requests/commit/c45d7c49ea75133e52ab22a8e9e13173938e36ff
[wheezy] - requests <not-affected> (Vulnerable code not present, in model.py the whole URL will be compared already)

Search for package or bug name: Reporting problems