ADVISORIES

Red Hat VEX

RHVEX-CVE-2018-18074

python-requests: Redirect from HTTPS to HTTP does not remove Authorization header

Low No fix available CVE-2018-18074

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

EcosystemPackageAffected versions
Red Hat:enterprise_linux:6python-requests
All versions, will not be fixed
Red Hat:enterprise_linux:8python-virtualenv
All versions, no fix yet
Red Hat:enterprise_linux:8python-virtualenv-doc
All versions, no fix yet
Red Hat:enterprise_linux:8python2-virtualenv
All versions, no fix yet
Red Hat:enterprise_linux:8python3-virtualenv
All versions, no fix yet

References