{"id":"UBUNTU-CVE-2024-47081","details":"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.","modified":"2026-01-30T05:33:06Z","published":"2025-06-09T18:15:00Z","related":["USN-7568-1","USN-7762-1"],"upstream":["CVE-2024-47081"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2024-47081"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2024-47081"},{"type":"REPORT","url":"https://www.openwall.com/lists/oss-security/2025/06/03/9"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-7568-1"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-7762-1"}],"affected":[{"package":{"name":"requests","ecosystem":"Ubuntu:Pro:14.04:LTS","purl":"pkg:deb/ubuntu/requests@2.2.1-1ubuntu0.4+esm1?arch=source&distro=esm-infra-legacy/trusty"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.2.1-1ubuntu0.4+esm1"}]}],"versions":["1.2.3-1","2.0.0-1","2.2.1-1","2.2.1-1ubuntu0.1","2.2.1-1ubuntu0.2","2.2.1-1ubuntu0.3","2.2.1-1ubuntu0.4"],"ecosystem_specific":{"availability":"Available with Ubuntu Pro with Legacy support add-on: https://ubuntu.com/pro","binaries":[{"binary_name":"python-requests","binary_version":"2.2.1-1ubuntu0.4+esm1"},{"binary_name":"python-requests-whl","binary_version":"2.2.1-1ubuntu0.4+esm1"},{"binary_name":"python3-requests","binary_version":"2.2.1-1ubuntu0.4+esm1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-47081.json"}},{"package":{"name":"requests","ecosystem":"Ubuntu:Pro:16.04:LTS","purl":"pkg:deb/ubuntu/requests@2.9.1-3ubuntu0.1+esm2?arch=source&distro=esm-infra/xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.9.1-3ubuntu0.1+esm2"}]}],"versions":["2.7.0-3","2.8.1-1","2.9.1-1ubuntu1","2.9.1-2","2.9.1-3","2.9.1-3ubuntu0.1","2.9.1-3ubuntu0.1+esm1"],"ecosystem_specific":{"availability":"Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro","binaries":[{"binary_name":"python-requests","binary_version":"2.9.1-3ubuntu0.1+esm2"},{"binary_name":"python3-requests","binary_version":"2.9.1-3ubuntu0.1+esm2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-47081.json"}},{"package":{"name":"requests","ecosystem":"Ubuntu:Pro:18.04:LTS","purl":"pkg:deb/ubuntu/requests@2.18.4-2ubuntu0.1+esm2?arch=source&distro=esm-infra/bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.18.4-2ubuntu0.1+esm2"}]}],"versions":["2.18.1-1","2.18.4-1","2.18.4-2","2.18.4-2ubuntu0.1","2.18.4-2ubuntu0.1+esm1"],"ecosystem_specific":{"availability":"Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro","binaries":[{"binary_name":"python-requests","binary_version":"2.18.4-2ubuntu0.1+esm2"},{"binary_name":"python3-requests","binary_version":"2.18.4-2ubuntu0.1+esm2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-47081.json"}},{"package":{"name":"requests","ecosystem":"Ubuntu:Pro:20.04:LTS","purl":"pkg:deb/ubuntu/requests@2.22.0-2ubuntu1.1+esm1?arch=source&distro=esm-infra/focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.22.0-2ubuntu1.1+esm1"}]}],"versions":["2.21.0-1","2.22.0-2build1","2.22.0-2ubuntu1","2.22.0-2ubuntu1.1"],"ecosystem_specific":{"availability":"Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro","binaries":[{"binary_version":"2.22.0-2ubuntu1.1+esm1","binary_name":"python3-requests"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-47081.json"}},{"package":{"name":"python-pip","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/python-pip@22.0.2+dfsg-1ubuntu0.7?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"22.0.2+dfsg-1ubuntu0.7"}]}],"versions":["20.3.4-4","21.3.1+dfsg-3","22.0.2+dfsg-1","22.0.2+dfsg-1ubuntu0.1","22.0.2+dfsg-1ubuntu0.2","22.0.2+dfsg-1ubuntu0.3","22.0.2+dfsg-1ubuntu0.4","22.0.2+dfsg-1ubuntu0.5","22.0.2+dfsg-1ubuntu0.6"],"ecosystem_specific":{"binaries":[{"binary_name":"python3-pip","binary_version":"22.0.2+dfsg-1ubuntu0.7"},{"binary_version":"22.0.2+dfsg-1ubuntu0.7","binary_name":"python3-pip-whl"}],"availability":"No subscription required"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-47081.json"}},{"package":{"name":"requests","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/requests@2.25.1+dfsg-2ubuntu0.3?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.25.1+dfsg-2ubuntu0.3"}]}],"versions":["2.25.1+dfsg-2","2.25.1+dfsg-2ubuntu0.1"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_name":"python3-requests","binary_version":"2.25.1+dfsg-2ubuntu0.3"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-47081.json"}},{"package":{"name":"python-pip","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/python-pip@24.0+dfsg-1ubuntu1.3?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"24.0+dfsg-1ubuntu1.3"}]}],"versions":["23.2+dfsg-1","23.3+dfsg-1","24.0+dfsg-1","24.0+dfsg-1ubuntu1","24.0+dfsg-1ubuntu1.1","24.0+dfsg-1ubuntu1.2"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_name":"python3-pip","binary_version":"24.0+dfsg-1ubuntu1.3"},{"binary_name":"python3-pip-whl","binary_version":"24.0+dfsg-1ubuntu1.3"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-47081.json"}},{"package":{"name":"requests","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/requests@2.31.0+dfsg-1ubuntu1.1?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.31.0+dfsg-1ubuntu1.1"}]}],"versions":["2.31.0+dfsg-1ubuntu1"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_name":"python3-requests","binary_version":"2.31.0+dfsg-1ubuntu1.1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-47081.json"}},{"package":{"name":"requests","ecosystem":"Ubuntu:25.10","purl":"pkg:deb/ubuntu/requests@2.32.3+dfsg-5ubuntu2?arch=source&distro=questing"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.32.3+dfsg-5ubuntu2"}]}],"versions":["2.32.3+dfsg-4ubuntu1","2.32.3+dfsg-5ubuntu1"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_name":"python3-requests","binary_version":"2.32.3+dfsg-5ubuntu2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-47081.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:N/A:N"},{"type":"Ubuntu","score":"medium"}]}