Skip to main content
CVE-2024-47081VulnerabilityPublished Updated

Requests is a HTTP library. Due to a URL parsing issue, Requests releases prior to 2.32.4 may leak .netrc credentials

Affects requestsSource GCVE Database

0
Compare
Authoritative record:CVE-2024-47081· Medium 5.3

Not known to be exploited · CVSS 5.3 Medium · fixed in 2.2.1-1ubuntu0.4+esm1 : update requests when convenient.

Data as of 24 Nov 2026, 19:40 UTC

CVSS 3.1 base score
5.3Medium
How severe the flaw is on the 0–10 CVSS scale.
Patch
Available – fixed in 2.2.1-1ubuntu0.4+esm1, 2.9.1-3ubuntu0.1+esm2, 2.18.4-2ubuntu0.1+esm2 +6
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:N/A:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 9 Jun 2025

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 23 Nov 2026.

What to do

Upgrade to a fixed release listed under Affected software.

Affected software

ProductAffectedFixed in
Ubuntu 25.10requestspkg:deb/ubuntu/requests?arch=source&distro=questingOther threatsAffected
  • <2.32.3+dfsg-5ubuntu2
Fixed in
  • 2.32.3+dfsg-5ubuntu2
Ubuntu 24.04 LTSpython-pippkg:deb/ubuntu/python-pip?arch=source&distro=nobleOther threatsAffected
  • <24.0+dfsg-1ubuntu1.3
Fixed in
  • 24.0+dfsg-1ubuntu1.3
Ubuntu 24.04 LTSrequestspkg:deb/ubuntu/requests?arch=source&distro=nobleOther threatsAffected
  • <2.31.0+dfsg-1ubuntu1.1
Fixed in
  • 2.31.0+dfsg-1ubuntu1.1
Ubuntu 22.04 LTSpython-pippkg:deb/ubuntu/python-pip?arch=source&distro=jammyOther threatsAffected
  • <22.0.2+dfsg-1ubuntu0.7
Fixed in
  • 22.0.2+dfsg-1ubuntu0.7
Ubuntu 22.04 LTSrequestspkg:deb/ubuntu/requests?arch=source&distro=jammyOther threatsAffected
  • <2.25.1+dfsg-2ubuntu0.3
Fixed in
  • 2.25.1+dfsg-2ubuntu0.3
Ubuntu Pro 20.04 LTSrequestspkg:deb/ubuntu/requests?arch=source&distro=esm-infra/focalOther threatsAffected
  • <2.22.0-2ubuntu1.1+esm1
Fixed in
  • 2.22.0-2ubuntu1.1+esm1

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

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.

References

Community reviews

Loading reviews…