UBUNTU-CVE-2025-50181

Source
https://ubuntu.com/security/CVE-2025-50181
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-50181.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2025-50181
Upstream
Downstream
Related
Published
2025-06-19T01:15:00Z
Modified
2025-07-18T17:05:08Z
Severity
  • 5.3 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N CVSS Calculator
  • Ubuntu - medium
Summary
[none]
Details

urllib3 is a user-friendly HTTP client library for Python. Prior to 2.5.0, it is possible to disable redirects for all requests by instantiating a PoolManager and specifying retries in a way that disable redirects. By default, requests and botocore users are not affected. An application attempting to mitigate SSRF or open redirect vulnerabilities by disabling redirects at the PoolManager level will remain vulnerable. This issue has been patched in version 2.5.0.

References

Affected packages

Ubuntu:Pro:16.04:LTS / python-urllib3

Package

Name
python-urllib3
Purl
pkg:deb/ubuntu/python-urllib3@1.13.1-2ubuntu0.16.04.4+esm3?arch=source&distro=esm-infra/xenial

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.13.1-2ubuntu0.16.04.4+esm3

Affected versions

1.*

1.11-1
1.12-1
1.13.1-1
1.13.1-2
1.13.1-2ubuntu0.16.04.1
1.13.1-2ubuntu0.16.04.2
1.13.1-2ubuntu0.16.04.3
1.13.1-2ubuntu0.16.04.4
1.13.1-2ubuntu0.16.04.4+esm1
1.13.1-2ubuntu0.16.04.4+esm2

Ecosystem specific

{
    "availability": "Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro",
    "binaries": [
        {
            "binary_name": "python-urllib3",
            "binary_version": "1.13.1-2ubuntu0.16.04.4+esm3"
        },
        {
            "binary_name": "python3-urllib3",
            "binary_version": "1.13.1-2ubuntu0.16.04.4+esm3"
        }
    ]
}

Ubuntu:Pro:18.04:LTS / python-urllib3

Package

Name
python-urllib3
Purl
pkg:deb/ubuntu/python-urllib3@1.22-1ubuntu0.18.04.2+esm3?arch=source&distro=esm-infra/bionic

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.22-1ubuntu0.18.04.2+esm3

Affected versions

1.*

1.21.1-1
1.22-1
1.22-1ubuntu0.18.04.1
1.22-1ubuntu0.18.04.2
1.22-1ubuntu0.18.04.2+esm1
1.22-1ubuntu0.18.04.2+esm2

Ecosystem specific

{
    "availability": "Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro",
    "binaries": [
        {
            "binary_name": "python-urllib3",
            "binary_version": "1.22-1ubuntu0.18.04.2+esm3"
        },
        {
            "binary_name": "python3-urllib3",
            "binary_version": "1.22-1ubuntu0.18.04.2+esm3"
        }
    ]
}

Ubuntu:Pro:20.04:LTS / python-urllib3

Package

Name
python-urllib3
Purl
pkg:deb/ubuntu/python-urllib3@1.25.8-2ubuntu0.4+esm1?arch=source&distro=esm-infra/focal

Affected ranges

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

Affected versions

1.*

1.24.1-1ubuntu1
1.24.1-1ubuntu2
1.25.8-1
1.25.8-2
1.25.8-2ubuntu0.1
1.25.8-2ubuntu0.2
1.25.8-2ubuntu0.3
1.25.8-2ubuntu0.4

Ecosystem specific

{
    "availability": "Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro",
    "binaries": [
        {
            "binary_name": "python3-urllib3",
            "binary_version": "1.25.8-2ubuntu0.4+esm1"
        }
    ]
}

Ubuntu:22.04:LTS / python-pip

Package

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

Affected ranges

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

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

Ecosystem specific

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

Ubuntu:22.04:LTS / python-urllib3

Package

Name
python-urllib3
Purl
pkg:deb/ubuntu/python-urllib3@1.26.5-1~exp1ubuntu0.3?arch=source&distro=jammy

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.26.5-1~exp1ubuntu0.3

Affected versions

1.*

1.26.5-1~exp1
1.26.5-1~exp1ubuntu0.1
1.26.5-1~exp1ubuntu0.2

Ecosystem specific

{
    "availability": "No subscription required",
    "binaries": [
        {
            "binary_name": "python3-urllib3",
            "binary_version": "1.26.5-1~exp1ubuntu0.3"
        }
    ]
}

Ubuntu:24.04:LTS / python-pip

Package

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

Affected ranges

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

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

Ecosystem specific

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

Ubuntu:24.04:LTS / python-urllib3

Package

Name
python-urllib3
Purl
pkg:deb/ubuntu/python-urllib3@2.0.7-1ubuntu0.2?arch=source&distro=noble

Affected ranges

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

Affected versions

1.*

1.26.16-1
1.26.18-1

2.*

2.0.7-1
2.0.7-1ubuntu0.1

Ecosystem specific

{
    "availability": "No subscription required",
    "binaries": [
        {
            "binary_name": "python3-urllib3",
            "binary_version": "2.0.7-1ubuntu0.2"
        }
    ]
}

Ubuntu:25.04 / python-pip

Package

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

Affected ranges

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

Affected versions

24.*

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

25.*

25.0+dfsg-1

Ecosystem specific

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

Ubuntu:25.04 / python-urllib3

Package

Name
python-urllib3
Purl
pkg:deb/ubuntu/python-urllib3@2.3.0-2ubuntu0.1?arch=source&distro=plucky

Affected ranges

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

Affected versions

2.*

2.0.7-2
2.0.7-2ubuntu0.1
2.3.0-1
2.3.0-2

Ecosystem specific

{
    "availability": "No subscription required",
    "binaries": [
        {
            "binary_name": "python3-urllib3",
            "binary_version": "2.3.0-2ubuntu0.1"
        }
    ]
}