VDB
Sign up
—

PYSEC-2018-28

Quick fix

PYSEC-2018-28 — requests: upgrade to the fixed version with the command below.

pip install --upgrade 'requests>=c45d7c49ea75133e52ab22a8e9e13173938e36ff'

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.

Are you affected?

Enter the version of the package you're using.

Affected packages

PyPI/requests
Introduced in: 0Fixed in: c45d7c49ea75133e52ab22a8e9e13173938e36ff
Fixpip install --upgrade 'requests>=c45d7c49ea75133e52ab22a8e9e13173938e36ff'

References