Red Hat VEX
RHVEX-CVE-2018-18074
python-requests: Redirect from HTTPS to HTTP does not remove Authorization header
Details
A credentials-exposure flaw was found in python-requests, where if a request with authentication is redirected (302) from an HTTPS endpoint to an HTTP endpoint on the same host, the Authorization header is not stripped and the credentials can be read in plain text. A man-in-the-middle attacker could exploit this flaw to obtain a user's valid credentials.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Red Hat:enterprise_linux:6 | python-requests | All versions, will not be fixed |
| Red Hat:enterprise_linux:8 | python-virtualenv | All versions, no fix yet |
| Red Hat:enterprise_linux:8 | python-virtualenv-doc | All versions, no fix yet |
| Red Hat:enterprise_linux:8 | python2-virtualenv | All versions, no fix yet |
| Red Hat:enterprise_linux:8 | python3-virtualenv | All versions, no fix yet |