UBUNTU-CVE-2024-47081

Source
https://ubuntu.com/security/CVE-2024-47081
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-47081.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2024-47081
Upstream
Downstream
Related
Published
2025-06-09T18:15:00Z
Modified
2025-09-24T05:10:11Z
Severity
  • 5.3 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:N/A:N CVSS Calculator
  • Ubuntu - medium
Summary
[none]
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.

References

Affected packages

Ubuntu:22.04:LTS

python-pip

Package

Name
python-pip
Purl
pkg:deb/ubuntu/python-pip@22.0.2+dfsg-1ubuntu0.7?arch=source&distro=jammy

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
22.0.2+dfsg-1ubuntu0.7

Affected versions

20.*

20.3.4-4

21.*

21.3.1+dfsg-3

22.*

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_name": "python3-pip-whl",
            "binary_version": "22.0.2+dfsg-1ubuntu0.7"
        }
    ],
    "availability": "No subscription required"
}

requests

Package

Name
requests
Purl
pkg:deb/ubuntu/requests@2.25.1+dfsg-2ubuntu0.3?arch=source&distro=jammy

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.25.1+dfsg-2ubuntu0.3

Affected versions

2.*

2.25.1+dfsg-2
2.25.1+dfsg-2ubuntu0.1

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "python3-requests",
            "binary_version": "2.25.1+dfsg-2ubuntu0.3"
        }
    ],
    "availability": "No subscription required"
}

Ubuntu:24.04:LTS

python-pip

Package

Name
python-pip
Purl
pkg:deb/ubuntu/python-pip@24.0+dfsg-1ubuntu1.3?arch=source&distro=noble

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
24.0+dfsg-1ubuntu1.3

Affected versions

23.*

23.2+dfsg-1
23.3+dfsg-1

24.*

24.0+dfsg-1
24.0+dfsg-1ubuntu1
24.0+dfsg-1ubuntu1.1
24.0+dfsg-1ubuntu1.2

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "python3-pip",
            "binary_version": "24.0+dfsg-1ubuntu1.3"
        },
        {
            "binary_name": "python3-pip-whl",
            "binary_version": "24.0+dfsg-1ubuntu1.3"
        }
    ],
    "availability": "No subscription required"
}

requests

Package

Name
requests
Purl
pkg:deb/ubuntu/requests@2.31.0+dfsg-1ubuntu1.1?arch=source&distro=noble

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.31.0+dfsg-1ubuntu1.1

Affected versions

2.*

2.31.0+dfsg-1ubuntu1

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "python3-requests",
            "binary_version": "2.31.0+dfsg-1ubuntu1.1"
        }
    ],
    "availability": "No subscription required"
}

Ubuntu:25.04

python-pip

Package

Name
python-pip
Purl
pkg:deb/ubuntu/python-pip@25.0+dfsg-1ubuntu0.2?arch=source&distro=plucky

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
25.0+dfsg-1ubuntu0.2

Affected versions

24.*

24.2+dfsg-1
24.2+dfsg-1ubuntu0.1
24.3.1+dfsg-1

25.*

25.0+dfsg-1
25.0+dfsg-1ubuntu0.1

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "python3-pip",
            "binary_version": "25.0+dfsg-1ubuntu0.2"
        },
        {
            "binary_name": "python3-pip-whl",
            "binary_version": "25.0+dfsg-1ubuntu0.2"
        }
    ],
    "availability": "No subscription required"
}

requests

Package

Name
requests
Purl
pkg:deb/ubuntu/requests@2.32.3+dfsg-4ubuntu1.1?arch=source&distro=plucky

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.32.3+dfsg-4ubuntu1.1

Affected versions

2.*

2.32.3+dfsg-1ubuntu1
2.32.3+dfsg-4ubuntu1

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "python3-requests",
            "binary_version": "2.32.3+dfsg-4ubuntu1.1"
        }
    ],
    "availability": "No subscription required"
}

Ubuntu:Pro:14.04:LTS

requests

Package

Name
requests
Purl
pkg:deb/ubuntu/requests@2.2.1-1ubuntu0.4+esm1?arch=source&distro=esm-infra-legacy/trusty

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.2.1-1ubuntu0.4+esm1

Affected versions

1.*

1.2.3-1

2.*

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

{
    "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"
        }
    ],
    "availability": "Available with Ubuntu Pro with Legacy support add-on: https://ubuntu.com/pro"
}

Ubuntu:Pro:16.04:LTS

requests

Package

Name
requests
Purl
pkg:deb/ubuntu/requests@2.9.1-3ubuntu0.1+esm2?arch=source&distro=esm-infra/xenial

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.9.1-3ubuntu0.1+esm2

Affected versions

2.*

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

{
    "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"
        }
    ],
    "availability": "Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro"
}

Ubuntu:Pro:18.04:LTS

requests

Package

Name
requests
Purl
pkg:deb/ubuntu/requests@2.18.4-2ubuntu0.1+esm2?arch=source&distro=esm-infra/bionic

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.18.4-2ubuntu0.1+esm2

Affected versions

2.*

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

{
    "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"
        }
    ],
    "availability": "Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro"
}

Ubuntu:Pro:20.04:LTS

requests

Package

Name
requests
Purl
pkg:deb/ubuntu/requests@2.22.0-2ubuntu1.1+esm1?arch=source&distro=esm-infra/focal

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.22.0-2ubuntu1.1+esm1

Affected versions

2.*

2.21.0-1
2.22.0-2build1
2.22.0-2ubuntu1
2.22.0-2ubuntu1.1

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "python3-requests",
            "binary_version": "2.22.0-2ubuntu1.1+esm1"
        }
    ],
    "availability": "Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro"
}