CVE-2024-47081

MEDIUM5.3EPSS 0.21%

Requests vulnerable to .netrc credentials leak via malicious URLs

發布日:2025/6/9修改日:2026/2/4
也稱為:GHSA-9hjg-9r4m-mvj7ALPINE-CVE-2024-47081CGA-62pf-wv72-jrw9

描述

### Impact 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. ### Workarounds For older versions of Requests, use of the .netrc file can be disabled with `trust_env=False` on your Requests Session ([docs](https://requests.readthedocs.io/en/latest/api/#requests.Session.trust_env)). ### References https://github.com/psf/requests/pull/6965 https://seclists.org/fulldisclosure/2025/Jun/2

受影響套件(3)

CVSS 分數

來源版本嚴重程度向量
osvCVSS 3.1MEDIUM5.3CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:N/A:N

參考連結(14)