Advisory

GHSA-x84v-xcm2-53pg

Also known as: CVE-2018-18074, PYSEC-2018-28

Summary

Insufficiently Protected Credentials in Requests

Details

The Requests package through 2.19.1 before 2018-09-14 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.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2018-10-29 19:06 UTC
Modified
2024-10-21 21:42 UTC

Affected packages and fixes

requests

PyPI · All systems

Affected

  • introduced 0, fixed 2.20.0 (ecosystem)

Fixed versions

2.20.0

Fix

  • Fixed version 2.20.0
    pip install --upgrade requests==2.20.0

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences