cve.bz

CVE-2024-47081 psf requests: Insufficiently Protected Credentials

5.3 mediumEPSS 1.0%Fix available

Medium (5.3) in psf requests. EPSS 1.0% estimated probability of exploitation activity in the next 30 days. Fixed in requests 2.32.4.

On this page
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.

Severity

CVSS 3.1

5.3 medium
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:N/A:N
EPSS
1.0% (unchanged from 1.0% a week ago; 1.0% 30 days ago) estimated probability of exploitation activity in the next 30 days; 64th percentile. Scored 2026-11-24. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2025-06-09. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-522 Insufficiently Protected Credentials
OWASP Top 10
A06:2025 Insecure Design
Published
Modified
NVD analysis
Deferred: the NVD does not plan to analyze it
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2024-47081 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2024-47081?via=ask-ai-copy and https://cve.bz/cve/CVE-2024-47081?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2024-47081 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
psf requests< 2.32.4

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-9hjg-9r4m-mvj7PyPIrequests<2.32.42.32.4
PYSEC-2026-1872PyPIrequests<2.32.42.32.4

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12requestsno fix listedDEBIAN-CVE-2024-47081
Debian13requests2.32.3+dfsg-5+deb13u1DEBIAN-CVE-2024-47081
Debian14requests2.32.4+dfsg-1DEBIAN-CVE-2024-47081
Ubuntu22.04:LTSpython-pip22.0.2+dfsg-1ubuntu0.7UBUNTU-CVE-2024-47081 USN-7762-1
Ubuntu22.04:LTSrequests2.25.1+dfsg-2ubuntu0.3UBUNTU-CVE-2024-47081 USN-7568-1
Ubuntu24.04:LTSpython-pip24.0+dfsg-1ubuntu1.3UBUNTU-CVE-2024-47081 USN-7762-1
Ubuntu24.04:LTSrequests2.31.0+dfsg-1ubuntu1.1UBUNTU-CVE-2024-47081 USN-7568-1
Ubuntu25.10requests2.32.3+dfsg-5ubuntu2UBUNTU-CVE-2024-47081
UbuntuPro:14.04:LTSrequests2.2.1-1ubuntu0.4+esm1UBUNTU-CVE-2024-47081 USN-7568-1
UbuntuPro:16.04:LTSrequests2.9.1-3ubuntu0.1+esm2UBUNTU-CVE-2024-47081 USN-7568-1
UbuntuPro:18.04:LTSrequests2.18.4-2ubuntu0.1+esm2UBUNTU-CVE-2024-47081 USN-7568-1
UbuntuPro:20.04:LTSrequests2.22.0-2ubuntu1.1+esm1UBUNTU-CVE-2024-47081 USN-7568-1
Red Hatenterprise_linux:8::appstreamfence-agents, fence-agents-all, fence-agents-apc and 46 more0:4.2.1-129.el8_10.14RHSA-2025:14750
Red Hatenterprise_linux:8::baseospython-requests, python3-requests0:2.20.0-6.el8_10RHSA-2025:13234
Red Hatenterprise_linux:8::highavailability, enterprise_linux:8::resilientstoragefence-agents-aws, fence-agents-gce, fence-agents-aliyun and 8 more0:4.2.1-129.el8_10.14RHSA-2025:14750
Red Hatenterprise_linux:8::highavailability, enterprise_linux:8::resilientstorageresource-agents, resource-agents-gcp, resource-agents-paf and 4 more0:4.9.0-54.el8_10.16RHSA-2025:14999
Red Hatenterprise_linux:9::appstreampython3-requests+socks, python3-requests+security0:2.25.1-10.el9_6RHSA-2025:12519
Red Hatenterprise_linux:9::baseospython-requests, python3-requests0:2.25.1-10.el9_6RHSA-2025:12519
Red Hatenterprise_linux:10.0python-requests, python3-requests0:2.32.4-1.el10_0RHSA-2025:13604
Red Hatrhel_aus:8.2::baseospython-requests, python3-requests0:2.20.0-3.el8_2RHSA-2025:15723
Red Hatrhel_aus:8.4::appstreamfence-agents, fence-agents-all, fence-agents-apc and 44 more0:4.2.1-65.el8_4.21RHSA-2025:15622
Red Hatrhel_aus:8.4::baseos, rhel_eus_long_life:8.4::baseospython-requests, python3-requests0:2.20.0-3.el8_4RHSA-2025:15691
Red Hatrhel_aus:8.4::highavailability, rhel_eus_long_life:8.4::highavailabilityfence-agents-aws, fence-agents-gce, fence-agents-aliyun and 6 more0:4.2.1-65.el8_4.21RHSA-2025:15622
Red Hatrhel_aus:8.4::highavailability, rhel_eus_long_life:8.4::highavailabilityresource-agents, resource-agents-gcp, resource-agents-aliyun and 3 more0:4.1.1-90.el8_4.20RHSA-2025:15618
10 more for Red Hat in the JSON and on Red Hat's page.
SUSELinux Enterprise Micro 5.1, Linux Enterprise Micro 5.2, Linux Enterprise Micro 5.3 and 4 morepython-requests2.25.1-150300.3.15.1SUSE-SU-2025:01998-1
SUSELinux Enterprise Module for Public Cloud 12, Linux Enterprise Server LTSS Extended Security 12 SP5python-requests2.24.0-8.23.1SUSE-SU-2025:01999-1
SUSELinux Enterprise Module for Public Cloud 15 SP4, Linux Enterprise Module for Python 3 15 SP6, Linux Enterprise Module for Python 3 15 SP7python-requests2.31.0-150400.6.18.1SUSE-SU-2025:02205-1
SUSELinux Enterprise Server LTSS Extended Security 12 SP5python3-requests2.24.0-8.20.1SUSE-SU-2025:01997-1
SUSELinux Micro 6.0python-requests2.32.3-2.1SUSE-SU-2025:20455-1
SUSELinux Micro 6.1python-requests2.32.4-slfo.1.1_1.1SUSE-SU-2025:20531-1
SUSEManager Client Tools 12python-requests2.11.1-6.43.1SUSE-SU-2025:02371-1
openSUSELeap 15.6python-requests2.31.0-150400.6.18.1SUSE-SU-2025:02205-1
openSUSETumbleweedoci-cli3.76.2-1.1openSUSE-SU-2026:10539-1
openSUSETumbleweedpython-requests2.32.4-1.1openSUSE-SU-2025:15281-1
AlmaLinux8fence-agents-all, fence-agents-apc, fence-agents-eps and 39 more4.2.1-129.el8_10.14ALSA-2025:14750
AlmaLinux8python3-requests2.20.0-6.el8_10ALSA-2025:13234
AlmaLinux8resource-agents, resource-agents-gcp, resource-agents-paf and 1 more4.9.0-54.el8_10.16ALSA-2025:14999
AlmaLinux9python3-requests, python3-requests+socks, python3-requests+security2.25.1-10.el9_6ALSA-2025:12519
AlmaLinux10python3-requests2.32.4-1.el10_0ALSA-2025:13604
Rocky Linux8fence-agents0:4.2.1-129.el8_10.14RLSA-2025:14750
Rocky Linux8python-requests0:2.20.0-6.el8_10RLSA-2025:13234
Rocky Linux8resource-agents0:4.9.0-54.el8_10.16RLSA-2025:14999
Rocky Linux9python-requests0:2.25.1-10.el9_6RLSA-2025:12519
Rocky Linux10python-requests0:2.32.4-1.el10_0RLSA-2025:13604
Alpinev3.19, v3.20, v3.21 and 3 morepy3-requests2.32.4-r0ALPINE-CVE-2024-47081
Azure Linux2python-requests2.27.1-8AZL-63812
Azure Linux3python-requests2.31.0-3AZL-63747
Alpaquita23py3-requests2.28.1-r4BELL-CVE-2024-47081
Alpaquita25, streampy3-requests2.32.4-r0BELL-CVE-2024-47081

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; the Alpine secdb, CC BY-SA 4.0; Microsoft's Azure Linux vulnerability data, MIT; BellSoft's OSV database, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpine · Alpaquita.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

Moderate impact: The Requests HTTP library used in affected Red Hat products can leak .netrc credentials to a third party when a client processes a maliciously crafted URL because of a URL-parsing flaw. The CVSS 3.1 score is 5.3 (AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:N/A:N), reflecting a network-reachable attack requiring high complexity and user interaction, with confidentiality impact only. The current affects include Red Hat AI Inference Server, Red Hat OpenShift AI, OpenShift Container Platform, Red Hat Satellite, Red Hat Enterprise Linux, and other Red Hat products; fixes are recorded as deferred for most affected product streams, and the current record does not provide a product-specific rationale for that deferral. Until remediated, the residual risk is disclosure of .netrc credentials under the described conditions. For delegated affects, remediation is being pursued through the delegated resolution path; some other affects are recorded as OOSS or WONTFIX. Forty-one Red Hat Enterprise Linux affects are not affected because the vulnerable code is not in the execute path, while two additional RHEL affects are new.

Red Hat's mitigation

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 10python-requests-0:2.32.4-1.el10_0Fixed 2025-08-11RHSA-2025:13604
Red Hat Enterprise Linux 8fence-agents-0:4.2.1-129.el8_10.14Fixed 2025-08-27RHSA-2025:14750
Red Hat Enterprise Linux 8resource-agents-0:4.9.0-54.el8_10.16Fixed 2025-09-02RHSA-2025:14999
Red Hat Enterprise Linux 8python-requests-0:2.20.0-6.el8_10Fixed 2025-08-06RHSA-2025:13234
Red Hat Enterprise Linux 8.2 Advanced Update Supportpython-requests-0:2.20.0-3.el8_2Fixed 2025-09-15RHSA-2025:15723
Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Supportfence-agents-0:4.2.1-65.el8_4.21Fixed 2025-09-10RHSA-2025:15622
Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Supportresource-agents-0:4.1.1-90.el8_4.20Fixed 2025-09-10RHSA-2025:15618
Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Supportpython-requests-0:2.20.0-3.el8_4Fixed 2025-09-11RHSA-2025:15691
Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-Onfence-agents-0:4.2.1-65.el8_4.21Fixed 2025-09-10RHSA-2025:15622
Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-Onresource-agents-0:4.1.1-90.el8_4.20Fixed 2025-09-10RHSA-2025:15618
Assisted Installer for Red Hat OpenShift Container Platform 2rhai/assisted-installer-agent-rhel9Fix deferred
Assisted Installer for Red Hat OpenShift Container Platform 2rhai/assisted-installer-controller-rhel9Fix deferred
Assisted Installer for Red Hat OpenShift Container Platform 2rhai/assisted-installer-rhel9Fix deferred
Builds for Red Hat OpenShiftopenshift-builds/openshift-builds-shared-resource-rhel9Fix deferred
Builds for Red Hat OpenShiftopenshift-builds/openshift-builds-shared-resource-webhook-rhel9Fix deferred
Confidential Compute Attestationconfidential-compute-attestation-tech-preview/trustee-rhel9Fix deferred
Custom Metric Autoscaler operator for Red Hat Openshiftcustom-metrics-autoscaler/custom-metrics-autoscaler-operator-bundleFix deferred
Multiarch Tuning Operatormultiarch-tuning/multiarch-tuning-rhel9-operatorFix deferred
Network Observability Operatornetwork-observability/network-observability-cli-rhel9Fix deferred
OpenShift Serverlessopenshift-serverless-1/kn-eventing-istio-controller-rhel8Fix deferred
68 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2024-47081.

Attack patterns (CAPEC)

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-522 (13).

References

Check your stackJSON