CVE Database›Document archive›CVE-2018-18074

CVE-2018-18074

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

Loading…

Severity

Low

Red Hat Product Security

2.6

CVSS 3.0

Review impact separately from score.

Published · June 29, 2018

Updated · February 27, 2026

Description

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.

CVSS score applicability

The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.

Mitigation

No mitigation is specified in collected source.

CVSS / CWE

CVSS 3.0 · 2.6
CVSS:3.0/AV:A/AC:H/PR:N/UI:R/S:U/C:L/I:N/A:N

CWE-522 · Insufficiently Protected Credentials