Requests: Information Leak — GLSA 202309-08

A vulnerability has been discovered in Requests which could result in the disclosure of plaintext secrets.

Affected packages

dev-python/requests on all architectures
Affected versions < 2.31.0
Unaffected versions >= 2.31.0

Background

Requests is an HTTP library for human beings.

Description

Requests is vulnerable to potentially leaking Proxy-Authorization headers to destination servers, specifically during redirects to an HTTPS origin with authentication credentials encoded into the URL.

Impact

Users' proxy authentication secrets could be disclosed to parties beyond the used HTTP proxy server.

Workaround

There is no known workaround at this time.

Resolution

All Requests users should upgrade to the latest version:

 # emerge --sync
 # emerge --ask --oneshot --verbose ">=dev-python/requests-2.31.0"
 

References

Release date
September 17, 2023

Latest revision
September 17, 2023: 1

Severity
low

Exploitable
remote

Bugzilla entries