Amazon Linux 2 Security Advisory: ALAS2-2025-2907
Advisory Released Date: 2025-06-24
Advisory Updated Date: 2025-06-24
Requests is a HTTP library. Due to a URL parsing issue, Requests releases prior to 2.32.4 may leak .netrc credentials to third parties for specific maliciously-crafted URLs. Users should upgrade to version 2.32.4 to receive a fix. For older versions of Requests, use of the .netrc file can be disabled with `trust_env=False` on one's Requests Session. (CVE-2024-47081)
Affected Packages:
python-requests
Note:
This advisory is applicable to Amazon Linux 2 (AL2) Core repository. Visit this FAQ section for the difference between AL2 Core and AL2 Extras advisories.
Issue Correction:
Run yum update python-requests to update your system.
noarch:
python-requests-2.6.0-10.amzn2.0.7.noarch
src:
python-requests-2.6.0-10.amzn2.0.7.src