Name | CVE-2018-18074 |
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. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
Debian Bugs | 910766 |
Vulnerable and fixed packages
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|
requests (PTS) | jessie, jessie (lts) | 2.4.3-6+deb8u1 | vulnerable |
| stretch (lts), stretch | 2.12.4-1+deb9u1 | vulnerable |
| buster (security), buster, buster (lts) | 2.21.0-1+deb10u1 | fixed |
| bullseye | 2.25.1+dfsg-2 | fixed |
| bookworm | 2.28.1+dfsg-1 | fixed |
| sid, trixie | 2.32.3+dfsg-1 | fixed |
The information below is based on the following data on fixed versions.
Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
---|
requests | source | wheezy | (not affected) | | | |
requests | source | (unstable) | 2.20.0-1 | low | | 910766 |
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)