Ubuntu CVE Tracker
UBUNTU-CVE-2018-18074
Details
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.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Ubuntu:14.04:LTS | requests | All versions before 2.2.1-1ubuntu0.4 (fixed in 2.2.1-1ubuntu0.4) |
| Ubuntu:16.04:LTS | requests | All versions before 2.9.1-3ubuntu0.1 (fixed in 2.9.1-3ubuntu0.1) |
| Ubuntu:Pro:16.04:LTS | python-pip | All versions, no fix listed |
| Ubuntu:18.04:LTS | python-pip | All versions before 9.0.1-2.3~ubuntu1.18.04.2 (fixed in 9.0.1-2.3~ubuntu1.18.04.2) |
| Ubuntu:18.04:LTS | requests | All versions before 2.18.4-2ubuntu0.1 (fixed in 2.18.4-2ubuntu0.1) |
References
- https://ubuntu.com/security/CVE-2018-18074
- https://github.com/requests/requests/commit/c45d7c49ea75133e52ab22a8e9e13173938e36ff
- https://github.com/requests/requests/issues/4716
- https://github.com/requests/requests/pull/4718
- https://ubuntu.com/security/notices/USN-3790-1
- https://ubuntu.com/security/notices/USN-3790-2
- https://www.cve.org/CVERecord?id=CVE-2018-18074