CVE-2024-47081 Details
Description
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.
A vulnerability in the PSF Requests library prior to version 2.32.4 allows for the unintentional leakage of .netrc credentials to third parties. This issue arises from improper URL parsing, which can be exploited by sending requests to specifically crafted URLs that redirect to an attacker-controlled domain. When the request is made, credentials intended for the original domain can be leaked to the attacker.
Users are advised to upgrade to Requests version 2.32.4 or later. For those unable to upgrade, the .netrc file can be disabled by setting 'trust_env=False' on the Requests Session.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Jun 9, 2025CISA-ADP
Assessed Jun 9, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| http://seclists.org/fulldisclosure/2025/Jun/2 | CVE | ExploitMailing ListRemedy |
| http://www.openwall.com/lists/oss-security/2025/06/03/11 | CVE | Mailing ListTechnical Description |
| http://www.openwall.com/lists/oss-security/2025/06/03/9 | CVE | AdvisoryExploitMailing ListRemedy |
| http://www.openwall.com/lists/oss-security/2025/06/04/1 | CVE | Mailing ListTechnical Description |
| http://www.openwall.com/lists/oss-security/2025/06/04/6 | CVE | Mailing ListTechnical Description |
| https://github.com/psf/requests/commit/96ba401c1296ab1dda74a2365ef36d88f7d144ef | [email protected] | Source CodeVendor |
| https://github.com/psf/requests/pull/6965 | [email protected] | Issue TrackingVendor |
| https://github.com/psf/requests/security/advisories/GHSA-9hjg-9r4m-mvj7 | [email protected] | AdvisoryRemedyVendor |
| https://requests.readthedocs.io/en/latest/api/#requests.Session.trust_env | [email protected] | Vendor |
| https://seclists.org/fulldisclosure/2025/Jun/2 | [email protected] | ExploitMailing ListRemedy |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-522 | Insufficiently Protected Credentials | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| PSF requests | All versions |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Jun 9, 2025 | New CVE Received | [email protected] |
| Jun 9, 2025 | CVE Modified | CVE |
Volerion