Insufficiently Protected Credentials Affecting requests package, versions <2.18.4-2ubuntu0.1+esm2


Severity

Recommended
medium

Based on Ubuntu security rating.

Threat Intelligence

EPSS
0.06% (20th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UBUNTU1804-REQUESTS-10336284
  • published12 Jun 2025
  • disclosed9 Jun 2025

Introduced: 9 Jun 2025

CVE-2024-47081  (opens in a new tab)
CWE-522  (opens in a new tab)

How to fix?

Upgrade Ubuntu:18.04 requests to version 2.18.4-2ubuntu0.1+esm2 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream requests package and not the requests package as distributed by Ubuntu. See How to fix? for Ubuntu:18.04 relevant fixed versions and status.

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.

CVSS Base Scores

version 3.1