USN-7002-1

See a problem?
Source
https://ubuntu.com/security/notices/USN-7002-1
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-7002-1.json
JSON Data
https://api.osv.dev/v1/vulns/USN-7002-1
Related
Published
2024-09-12T11:07:26.718582Z
Modified
2024-09-12T11:07:26.718582Z
Summary
python-setuptools, setuptools vulnerability
Details

It was discovered that setuptools was vulnerable to remote code execution. An attacker could possibly use this issue to execute arbitrary code.

References

Affected packages

Ubuntu:Pro:14.04:LTS / python-setuptools

Package

Name
python-setuptools
Purl
pkg:deb/ubuntu/python-setuptools@3.3-1ubuntu2+esm2?arch=src?distro=trusty/esm

Affected ranges

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

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

Ecosystem specific

{
    "availability": "Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro",
    "binaries": [
        {
            "python-setuptools-doc": "3.3-1ubuntu2+esm2",
            "python-setuptools-whl": "3.3-1ubuntu2+esm2",
            "python-pkg-resources": "3.3-1ubuntu2+esm2",
            "python-setuptools": "3.3-1ubuntu2+esm2",
            "python3-pkg-resources": "3.3-1ubuntu2+esm2",
            "python3-setuptools": "3.3-1ubuntu2+esm2"
        }
    ]
}

Ubuntu:Pro:16.04:LTS / python-setuptools

Package

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

Affected ranges

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

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

Ecosystem specific

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

Ubuntu:Pro:18.04:LTS / python-setuptools

Package

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

Affected ranges

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

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

Ecosystem specific

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

Ubuntu:20.04:LTS / setuptools

Package

Name
setuptools
Purl
pkg:deb/ubuntu/setuptools@45.2.0-1ubuntu0.2?arch=src?distro=focal

Affected ranges

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

Affected versions

45.*

45.2.0-1
45.2.0-1ubuntu0.1

Ecosystem specific

{
    "availability": "No subscription required",
    "binaries": [
        {
            "python3-setuptools": "45.2.0-1ubuntu0.2",
            "python-setuptools-doc": "45.2.0-1ubuntu0.2",
            "python3-pkg-resources": "45.2.0-1ubuntu0.2"
        }
    ]
}

Ubuntu:Pro:20.04:LTS / python-setuptools

Package

Name
python-setuptools
Purl
pkg:deb/ubuntu/python-setuptools@44.0.0-2ubuntu0.1+esm1?arch=src?distro=esm-apps/focal

Affected ranges

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

Affected versions

41.*

41.1.0-1
41.4.0-1

44.*

44.0.0-1
44.0.0-2
44.0.0-2ubuntu0.1

Ecosystem specific

{
    "availability": "Available with Ubuntu Pro: https://ubuntu.com/pro",
    "binaries": [
        {
            "pypy-setuptools": "44.0.0-2ubuntu0.1+esm1",
            "pypy-pkg-resources": "44.0.0-2ubuntu0.1+esm1",
            "python-setuptools": "44.0.0-2ubuntu0.1+esm1",
            "python-pkg-resources": "44.0.0-2ubuntu0.1+esm1"
        }
    ]
}

Ubuntu:22.04:LTS / setuptools

Package

Name
setuptools
Purl
pkg:deb/ubuntu/setuptools@59.6.0-1.2ubuntu0.22.04.2?arch=src?distro=jammy

Affected ranges

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

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

Ecosystem specific

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

Ubuntu:Pro:22.04:LTS / python-setuptools

Package

Name
python-setuptools
Purl
pkg:deb/ubuntu/python-setuptools@44.1.1-1.2ubuntu0.22.04.1+esm1?arch=src?distro=esm-apps/jammy

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
44.1.1-1.2ubuntu0.22.04.1+esm1

Affected versions

44.*

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

Ecosystem specific

{
    "availability": "Available with Ubuntu Pro: https://ubuntu.com/pro",
    "binaries": [
        {
            "pypy-setuptools": "44.1.1-1.2ubuntu0.22.04.1+esm1",
            "pypy-pkg-resources": "44.1.1-1.2ubuntu0.22.04.1+esm1",
            "python-setuptools": "44.1.1-1.2ubuntu0.22.04.1+esm1",
            "python2-setuptools-whl": "44.1.1-1.2ubuntu0.22.04.1+esm1",
            "python-pkg-resources": "44.1.1-1.2ubuntu0.22.04.1+esm1"
        }
    ]
}

Ubuntu:24.04:LTS / setuptools

Package

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

Affected ranges

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

Affected versions

68.*

68.1.2-2
68.1.2-2ubuntu1

Ecosystem specific

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