UBUNTU-CVE-2025-47273

Source
https://ubuntu.com/security/CVE-2025-47273
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-47273.json
JSON Data
https://api.test.osv.dev/v1/vulns/UBUNTU-CVE-2025-47273
Related
Published
2025-05-17T16:15:00Z
Modified
2025-06-03T18:01:28Z
Summary
[none]
Details

setuptools is a package that allows users to download, build, install, upgrade, and uninstall Python packages. A path traversal vulnerability in PackageIndex is present in setuptools prior to version 78.1.1. An attacker would be allowed to write files to arbitrary locations on the filesystem with the permissions of the process running the Python code, which could escalate to remote code execution depending on the context. Version 78.1.1 fixes the issue.

References

Affected packages

Ubuntu:Pro:14.04:LTS / python-pip

Package

Name
python-pip
Purl
pkg:deb/ubuntu/python-pip@1.5.4-1ubuntu4+esm5?arch=source&distro=esm-infra-legacy/trusty

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

1.*

1.4.1-2
1.5.4-1
1.5.4-1ubuntu1
1.5.4-1ubuntu3
1.5.4-1ubuntu4
1.5.4-1ubuntu4+esm1
1.5.4-1ubuntu4+esm2
1.5.4-1ubuntu4+esm3
1.5.4-1ubuntu4+esm4
1.5.4-1ubuntu4+esm5

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:Pro:14.04:LTS / python-setuptools

Package

Name
python-setuptools
Purl
pkg:deb/ubuntu/python-setuptools@3.3-1ubuntu2+esm3?arch=source&distro=esm-infra-legacy/trusty

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
3.3-1ubuntu2+esm3

Affected versions

1.*

1.4.2-1

2.*

2.0.1-1ubuntu1
2.0.1-2ubuntu1
2.0.2-1
2.1-1
2.2-1

3.*

3.3-1ubuntu1
3.3-1ubuntu2
3.3-1ubuntu2+esm1
3.3-1ubuntu2+esm2

Ecosystem specific

{
    "availability": "Available with Ubuntu Pro with Legacy support add-on: https://ubuntu.com/pro",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "binary_version": "3.3-1ubuntu2+esm3",
            "binary_name": "python-pkg-resources"
        },
        {
            "binary_version": "3.3-1ubuntu2+esm3",
            "binary_name": "python-setuptools"
        },
        {
            "binary_version": "3.3-1ubuntu2+esm3",
            "binary_name": "python-setuptools-doc"
        },
        {
            "binary_version": "3.3-1ubuntu2+esm3",
            "binary_name": "python-setuptools-whl"
        },
        {
            "binary_version": "3.3-1ubuntu2+esm3",
            "binary_name": "python3-pkg-resources"
        },
        {
            "binary_version": "3.3-1ubuntu2+esm3",
            "binary_name": "python3-setuptools"
        }
    ]
}

Ubuntu:Pro:16.04:LTS / python-setuptools

Package

Name
python-setuptools
Purl
pkg:deb/ubuntu/python-setuptools@20.7.0-1ubuntu0.1~esm3?arch=source&distro=esm-infra/xenial

Affected ranges

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

Affected versions

18.*

18.4-1
18.4-2
18.7-1
18.8-1

20.*

20.1.1-1
20.3.1-1
20.7.0-1
20.7.0-1ubuntu0.1~esm1
20.7.0-1ubuntu0.1~esm2

Ecosystem specific

{
    "availability": "Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "binary_version": "20.7.0-1ubuntu0.1~esm3",
            "binary_name": "pypy-pkg-resources"
        },
        {
            "binary_version": "20.7.0-1ubuntu0.1~esm3",
            "binary_name": "pypy-setuptools"
        },
        {
            "binary_version": "20.7.0-1ubuntu0.1~esm3",
            "binary_name": "python-pkg-resources"
        },
        {
            "binary_version": "20.7.0-1ubuntu0.1~esm3",
            "binary_name": "python-setuptools"
        },
        {
            "binary_version": "20.7.0-1ubuntu0.1~esm3",
            "binary_name": "python-setuptools-doc"
        },
        {
            "binary_version": "20.7.0-1ubuntu0.1~esm3",
            "binary_name": "python3-pkg-resources"
        },
        {
            "binary_version": "20.7.0-1ubuntu0.1~esm3",
            "binary_name": "python3-setuptools"
        }
    ]
}

Ubuntu:Pro:16.04:LTS / python-pip

Package

Name
python-pip
Purl
pkg:deb/ubuntu/python-pip@8.1.1-2ubuntu0.6+esm10?arch=source&distro=esm-apps/xenial

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

1.*

1.5.6-7ubuntu1
1.5.6-7ubuntu2

8.*

8.0.2-7
8.0.3-1
8.0.3-2
8.1.0-1
8.1.0-2
8.1.1-1
8.1.1-2
8.1.1-2ubuntu0.1
8.1.1-2ubuntu0.2
8.1.1-2ubuntu0.4
8.1.1-2ubuntu0.6
8.1.1-2ubuntu0.6+esm2
8.1.1-2ubuntu0.6+esm3
8.1.1-2ubuntu0.6+esm4
8.1.1-2ubuntu0.6+esm5
8.1.1-2ubuntu0.6+esm6
8.1.1-2ubuntu0.6+esm8
8.1.1-2ubuntu0.6+esm10

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:Pro:18.04:LTS / python-setuptools

Package

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

Affected ranges

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

Affected versions

36.*

36.2.7-2

38.*

38.4.0-1
38.5.2-1

39.*

39.0.1-1
39.0.1-2
39.0.1-2ubuntu0.1
39.0.1-2ubuntu0.1+esm1

Ecosystem specific

{
    "availability": "Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "binary_version": "39.0.1-2ubuntu0.1+esm2",
            "binary_name": "pypy-pkg-resources"
        },
        {
            "binary_version": "39.0.1-2ubuntu0.1+esm2",
            "binary_name": "pypy-setuptools"
        },
        {
            "binary_version": "39.0.1-2ubuntu0.1+esm2",
            "binary_name": "python-pkg-resources"
        },
        {
            "binary_version": "39.0.1-2ubuntu0.1+esm2",
            "binary_name": "python-setuptools"
        },
        {
            "binary_version": "39.0.1-2ubuntu0.1+esm2",
            "binary_name": "python-setuptools-doc"
        },
        {
            "binary_version": "39.0.1-2ubuntu0.1+esm2",
            "binary_name": "python3-pkg-resources"
        },
        {
            "binary_version": "39.0.1-2ubuntu0.1+esm2",
            "binary_name": "python3-setuptools"
        }
    ]
}

Ubuntu:Pro:18.04:LTS / python-pip

Package

Name
python-pip
Purl
pkg:deb/ubuntu/python-pip@9.0.1-2.3~ubuntu1.18.04.8+esm6?arch=source&distro=esm-apps/bionic

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

9.*

9.0.1-2
9.0.1-2.3~ubuntu1
9.0.1-2.3~ubuntu1.18.04.1
9.0.1-2.3~ubuntu1.18.04.2
9.0.1-2.3~ubuntu1.18.04.3
9.0.1-2.3~ubuntu1.18.04.4
9.0.1-2.3~ubuntu1.18.04.5
9.0.1-2.3~ubuntu1.18.04.5+esm2
9.0.1-2.3~ubuntu1.18.04.5+esm3
9.0.1-2.3~ubuntu1.18.04.6
9.0.1-2.3~ubuntu1.18.04.6+esm1
9.0.1-2.3~ubuntu1.18.04.7
9.0.1-2.3~ubuntu1.18.04.7+esm1
9.0.1-2.3~ubuntu1.18.04.8
9.0.1-2.3~ubuntu1.18.04.8+esm1
9.0.1-2.3~ubuntu1.18.04.8+esm2
9.0.1-2.3~ubuntu1.18.04.8+esm4
9.0.1-2.3~ubuntu1.18.04.8+esm6

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:20.04:LTS / setuptools

Package

Name
setuptools
Purl
pkg:deb/ubuntu/setuptools@45.2.0-1ubuntu0.3?arch=source&distro=focal

Affected ranges

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

Affected versions

45.*

45.2.0-1
45.2.0-1ubuntu0.1
45.2.0-1ubuntu0.2

Ecosystem specific

{
    "availability": "No subscription required",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "binary_version": "45.2.0-1ubuntu0.3",
            "binary_name": "python-setuptools-doc"
        },
        {
            "binary_version": "45.2.0-1ubuntu0.3",
            "binary_name": "python3-pkg-resources"
        },
        {
            "binary_version": "45.2.0-1ubuntu0.3",
            "binary_name": "python3-setuptools"
        }
    ]
}

Ubuntu:Pro:20.04:LTS / python-pip

Package

Name
python-pip
Purl
pkg:deb/ubuntu/python-pip@20.0.2-5ubuntu1.11+esm2?arch=source&distro=esm-apps/focal

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

18.*

18.1-5
18.1-5build1
18.1-5ubuntu1

20.*

20.0.2-2
20.0.2-4
20.0.2-5
20.0.2-5ubuntu1
20.0.2-5ubuntu1.1
20.0.2-5ubuntu1.3
20.0.2-5ubuntu1.4
20.0.2-5ubuntu1.5
20.0.2-5ubuntu1.6
20.0.2-5ubuntu1.7
20.0.2-5ubuntu1.8
20.0.2-5ubuntu1.9
20.0.2-5ubuntu1.10
20.0.2-5ubuntu1.10+esm2
20.0.2-5ubuntu1.11
20.0.2-5ubuntu1.11+esm2

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:22.04:LTS / python-pip

Package

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

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

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

{
    "ubuntu_priority": "medium"
}

Ubuntu:22.04:LTS / python-setuptools

Package

Name
python-setuptools
Purl
pkg:deb/ubuntu/python-setuptools@44.1.1-1.2ubuntu0.22.04.1?arch=source&distro=jammy

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

44.*

44.1.1-1
44.1.1-1.2
44.1.1-1.2ubuntu0.22.04.1

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:22.04:LTS / setuptools

Package

Name
setuptools
Purl
pkg:deb/ubuntu/setuptools@59.6.0-1.2ubuntu0.22.04.3?arch=source&distro=jammy

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
59.6.0-1.2ubuntu0.22.04.3

Affected versions

52.*

52.0.0-4

58.*

58.2.0-1

59.*

59.6.0-1.2
59.6.0-1.2ubuntu0.22.04.1
59.6.0-1.2ubuntu0.22.04.2

Ecosystem specific

{
    "availability": "No subscription required",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "binary_version": "59.6.0-1.2ubuntu0.22.04.3",
            "binary_name": "python-setuptools-doc"
        },
        {
            "binary_version": "59.6.0-1.2ubuntu0.22.04.3",
            "binary_name": "python3-pkg-resources"
        },
        {
            "binary_version": "59.6.0-1.2ubuntu0.22.04.3",
            "binary_name": "python3-setuptools"
        },
        {
            "binary_version": "59.6.0-1.2ubuntu0.22.04.3",
            "binary_name": "python3-setuptools-whl"
        }
    ]
}

Ubuntu:24.10 / python-pip

Package

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

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

24.*

24.0+dfsg-1ubuntu1
24.0+dfsg-2
24.1+dfsg-1
24.1.1+dfsg-1
24.2+dfsg-1
24.2+dfsg-1ubuntu0.1

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:24.10 / setuptools

Package

Name
setuptools
Purl
pkg:deb/ubuntu/setuptools@74.1.2-1ubuntu0.1?arch=source&distro=oracular

Affected ranges

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

Affected versions

68.*

68.1.2-2ubuntu1

70.*

70.3.0-2

74.*

74.1.2-1

Ecosystem specific

{
    "availability": "No subscription required",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "binary_version": "74.1.2-1ubuntu0.1",
            "binary_name": "python-setuptools-doc"
        },
        {
            "binary_version": "74.1.2-1ubuntu0.1",
            "binary_name": "python3-pkg-resources"
        },
        {
            "binary_version": "74.1.2-1ubuntu0.1",
            "binary_name": "python3-setuptools"
        },
        {
            "binary_version": "74.1.2-1ubuntu0.1",
            "binary_name": "python3-setuptools-whl"
        }
    ]
}

Ubuntu:24.04:LTS / python-pip

Package

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

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

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

{
    "ubuntu_priority": "medium"
}

Ubuntu:24.04:LTS / setuptools

Package

Name
setuptools
Purl
pkg:deb/ubuntu/setuptools@68.1.2-2ubuntu1.2?arch=source&distro=noble

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
68.1.2-2ubuntu1.2

Affected versions

68.*

68.1.2-2
68.1.2-2ubuntu1
68.1.2-2ubuntu1.1

Ecosystem specific

{
    "availability": "No subscription required",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "binary_version": "68.1.2-2ubuntu1.2",
            "binary_name": "python-setuptools-doc"
        },
        {
            "binary_version": "68.1.2-2ubuntu1.2",
            "binary_name": "python3-pkg-resources"
        },
        {
            "binary_version": "68.1.2-2ubuntu1.2",
            "binary_name": "python3-setuptools"
        },
        {
            "binary_version": "68.1.2-2ubuntu1.2",
            "binary_name": "python3-setuptools-whl"
        }
    ]
}

Ubuntu:25.04 / python-pip

Package

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

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

24.*

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

25.*

25.0+dfsg-1

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:25.04 / setuptools

Package

Name
setuptools
Purl
pkg:deb/ubuntu/setuptools@75.8.0-1ubuntu1?arch=source&distro=plucky

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
75.8.0-1ubuntu1

Affected versions

74.*

74.1.2-1

75.*

75.2.0-1
75.6.0-1
75.8.0-1

Ecosystem specific

{
    "availability": "No subscription required",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "binary_version": "75.8.0-1ubuntu1",
            "binary_name": "python-setuptools-doc"
        },
        {
            "binary_version": "75.8.0-1ubuntu1",
            "binary_name": "python3-pkg-resources"
        },
        {
            "binary_version": "75.8.0-1ubuntu1",
            "binary_name": "python3-setuptools"
        },
        {
            "binary_version": "75.8.0-1ubuntu1",
            "binary_name": "python3-setuptools-whl"
        }
    ]
}