CVE-2024-47081
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.
Description as published by the source, in English.
Key facts
- Published
- 2025-06-09
- Last modified
- 2026-06-17
- Assigned by
- security-advisories@github.com
- CVSS vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:N/A:N- Scored by
- security-advisories@github.com
- Probability of exploitation
-
0.8 %
higher than 54 %
of all known vulnerabilities
EPSS, next 30 days, model v2026.06.15 - Fix available
- Not registered in the sources
Affected products
| Vendor | Product | Versions | Status |
|---|---|---|---|
| requests (PyPI) | < 2.32.4 | Affected |
Weakness type
-
CWE-522: Insufficiently Protected Credentials
The product transmits or stores authentication credentials, but it uses an insecure method that is susceptible to unauthorized interception and/or retrieval.
Attack techniques
Derived through the weakness type: CVE to CWE to CAPEC to ATT&CK. This shows which techniques the weakness class is historically used for. It does not assert that this vulnerability has been exploited that way.
- T1021: Remote Services
- T1021.002: SMB/Windows Admin Shares
- T1078: Valid Accounts
- T1110.004: Credential Stuffing
- T1114.002: Remote Email Collection
- T1133: External Remote Services
- T1543: Create or Modify System Process
- T1550.002: Pass the Hash
- T1550.003: Pass the Ticket
- T1552.004: Private Keys
- T1558: Steal or Forge Kerberos Tickets
- T1558.003: Kerberoasting
References
- https://github.com/psf/requests/commit/96ba401c1296ab1dda74a2365ef36d88f7d144ef
- https://github.com/psf/requests/pull/6965
- https://github.com/psf/requests/security/advisories/GHSA-9hjg-9r4m-mvj7
- https://requests.readthedocs.io/en/latest/api/#requests.Session.trust_env
- https://seclists.org/fulldisclosure/2025/Jun/2
- http://seclists.org/fulldisclosure/2025/Jun/2
- http://www.openwall.com/lists/oss-security/2025/06/03/11
- http://www.openwall.com/lists/oss-security/2025/06/03/9
- http://www.openwall.com/lists/oss-security/2025/06/04/1
- http://www.openwall.com/lists/oss-security/2025/06/04/6
Related at Berigo
Articles
-
An unauthenticated request could read files off a GitLab server
Same product
2026-09-26
On 10 September 2026 GitLab patched a CVSS 10.0 flaw that, under certain conditions, let an unauthenticated user read files from the server. A day la…
-
The Netherlands proposes a law widening intelligence service powers
Same product
2026-09-03
The Dutch government presented a bill on 28 August 2026 that gives the intelligence services AIVD and MIVD greater freedom of action, according to Du…
-
Four flaws in the ServiceNow AI Platform need no login to exploit
Same product
2026-09-01
ServiceNow has fixed four vulnerabilities in its AI Platform, and three of them carry the maximum score of 10.0. All four can be exploited remotely w…
-
Attackers are letting npm mirrors host their fake Cloudflare page
Same product
2026-08-27
OX Security has identified 24 malicious npm packages that all carry the same fake Cloudflare page. Installing them does no harm, but mirrors such as …
Services
-
DPO as a Service
Berigo offers DPO as a Service, an independent data protection officer function that meets the requirements of GDPR Articles 37 to 39, without the ne…
-
Establish documented GDPR compliance and privacy governance
Practical GDPR compliance and a privacy information management system under ISO/IEC 27701. From a bounded gap assessment to full implementation and c…
Does this affect you?
A vulnerability matters only if you run the product, in an affected version, somewhere an attacker can reach.