usn-7544-1
Vulnerability from osv_ubuntu
Published
2025-05-28 19:34
Modified
2026-06-25 10:46
Summary
python-setuptools, setuptools vulnerability
Details
It was discovered that setuptools did not properly sanitize paths. An attacker could possibly use this issue to write files to arbitrary locations on the filesystem.
References
| URL | Type | |
|---|---|---|
{
"affected": [
{
"database_specific": {
"cves_map": {
"cves": [
{
"id": "CVE-2025-47273",
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
"type": "CVSS_V3"
},
{
"score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N/E:P",
"type": "CVSS_V4"
},
{
"score": "medium",
"type": "Ubuntu"
}
]
}
],
"ecosystem": "Ubuntu:Pro:14.04:LTS"
}
},
"ecosystem_specific": {
"availability": "Available with Ubuntu Pro with Legacy support add-on: https://ubuntu.com/pro",
"binaries": [
{
"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-whl",
"binary_version": "3.3-1ubuntu2+esm3"
},
{
"binary_name": "python3-pkg-resources",
"binary_version": "3.3-1ubuntu2+esm3"
},
{
"binary_name": "python3-setuptools",
"binary_version": "3.3-1ubuntu2+esm3"
}
]
},
"package": {
"ecosystem": "Ubuntu:Pro:14.04:LTS",
"name": "python-setuptools",
"purl": "pkg:deb/ubuntu/python-setuptools@3.3-1ubuntu2+esm3?arch=source\u0026distro=esm-infra-legacy/trusty"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "3.3-1ubuntu2+esm3"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.4.2-1",
"2.0.1-1ubuntu1",
"2.0.1-2ubuntu1",
"2.0.2-1",
"2.1-1",
"2.2-1",
"3.3-1ubuntu1",
"3.3-1ubuntu2",
"3.3-1ubuntu2+esm1",
"3.3-1ubuntu2+esm2"
]
},
{
"database_specific": {
"cves_map": {
"cves": [
{
"id": "CVE-2025-47273",
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
"type": "CVSS_V3"
},
{
"score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N/E:P",
"type": "CVSS_V4"
},
{
"score": "medium",
"type": "Ubuntu"
}
]
}
],
"ecosystem": "Ubuntu:Pro:16.04:LTS"
}
},
"ecosystem_specific": {
"availability": "Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro",
"binaries": [
{
"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": "python3-pkg-resources",
"binary_version": "20.7.0-1ubuntu0.1~esm3"
},
{
"binary_name": "python3-setuptools",
"binary_version": "20.7.0-1ubuntu0.1~esm3"
}
]
},
"package": {
"ecosystem": "Ubuntu:Pro:16.04:LTS",
"name": "python-setuptools",
"purl": "pkg:deb/ubuntu/python-setuptools@20.7.0-1ubuntu0.1~esm3?arch=source\u0026distro=esm-infra/xenial"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "20.7.0-1ubuntu0.1~esm3"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"18.4-1",
"18.4-2",
"18.7-1",
"18.8-1",
"20.1.1-1",
"20.3.1-1",
"20.7.0-1",
"20.7.0-1ubuntu0.1~esm1",
"20.7.0-1ubuntu0.1~esm2"
]
},
{
"database_specific": {
"cves_map": {
"cves": [
{
"id": "CVE-2025-47273",
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
"type": "CVSS_V3"
},
{
"score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N/E:P",
"type": "CVSS_V4"
},
{
"score": "medium",
"type": "Ubuntu"
}
]
}
],
"ecosystem": "Ubuntu:Pro:18.04:LTS"
}
},
"ecosystem_specific": {
"availability": "Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro",
"binaries": [
{
"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": "python3-pkg-resources",
"binary_version": "39.0.1-2ubuntu0.1+esm2"
},
{
"binary_name": "python3-setuptools",
"binary_version": "39.0.1-2ubuntu0.1+esm2"
}
]
},
"package": {
"ecosystem": "Ubuntu:Pro:18.04:LTS",
"name": "python-setuptools",
"purl": "pkg:deb/ubuntu/python-setuptools@39.0.1-2ubuntu0.1+esm2?arch=source\u0026distro=esm-infra/bionic"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "39.0.1-2ubuntu0.1+esm2"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"36.2.7-2",
"38.4.0-1",
"38.5.2-1",
"39.0.1-1",
"39.0.1-2",
"39.0.1-2ubuntu0.1",
"39.0.1-2ubuntu0.1+esm1"
]
},
{
"database_specific": {
"cves_map": {
"cves": [
{
"id": "CVE-2025-47273",
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
"type": "CVSS_V3"
},
{
"score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N/E:P",
"type": "CVSS_V4"
},
{
"score": "medium",
"type": "Ubuntu"
}
]
}
],
"ecosystem": "Ubuntu:20.04:LTS"
}
},
"ecosystem_specific": {
"availability": "No subscription required",
"binaries": [
{
"binary_name": "python3-pkg-resources",
"binary_version": "45.2.0-1ubuntu0.3"
},
{
"binary_name": "python3-setuptools",
"binary_version": "45.2.0-1ubuntu0.3"
}
]
},
"package": {
"ecosystem": "Ubuntu:20.04:LTS",
"name": "setuptools",
"purl": "pkg:deb/ubuntu/setuptools@45.2.0-1ubuntu0.3?arch=source\u0026distro=focal"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "45.2.0-1ubuntu0.3"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"45.2.0-1",
"45.2.0-1ubuntu0.1",
"45.2.0-1ubuntu0.2"
]
},
{
"database_specific": {
"cves_map": {
"cves": [
{
"id": "CVE-2025-47273",
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
"type": "CVSS_V3"
},
{
"score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N/E:P",
"type": "CVSS_V4"
},
{
"score": "medium",
"type": "Ubuntu"
}
]
}
],
"ecosystem": "Ubuntu:Pro:20.04:LTS"
}
},
"ecosystem_specific": {
"availability": "Available with Ubuntu Pro: https://ubuntu.com/pro",
"binaries": [
{
"binary_name": "pypy-pkg-resources",
"binary_version": "44.0.0-2ubuntu0.1+esm2"
},
{
"binary_name": "pypy-setuptools",
"binary_version": "44.0.0-2ubuntu0.1+esm2"
},
{
"binary_name": "python-pkg-resources",
"binary_version": "44.0.0-2ubuntu0.1+esm2"
},
{
"binary_name": "python-setuptools",
"binary_version": "44.0.0-2ubuntu0.1+esm2"
}
]
},
"package": {
"ecosystem": "Ubuntu:Pro:20.04:LTS",
"name": "python-setuptools",
"purl": "pkg:deb/ubuntu/python-setuptools@44.0.0-2ubuntu0.1+esm2?arch=source\u0026distro=esm-apps/focal"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "44.0.0-2ubuntu0.1+esm2"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"41.1.0-1",
"41.4.0-1",
"44.0.0-1",
"44.0.0-2",
"44.0.0-2ubuntu0.1",
"44.0.0-2ubuntu0.1+esm1"
]
},
{
"database_specific": {
"cves_map": {
"cves": [
{
"id": "CVE-2025-47273",
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
"type": "CVSS_V3"
},
{
"score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N/E:P",
"type": "CVSS_V4"
},
{
"score": "medium",
"type": "Ubuntu"
}
]
}
],
"ecosystem": "Ubuntu:22.04:LTS"
}
},
"ecosystem_specific": {
"availability": "No subscription required",
"binaries": [
{
"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",
"binary_version": "59.6.0-1.2ubuntu0.22.04.3"
}
]
},
"package": {
"ecosystem": "Ubuntu:22.04:LTS",
"name": "setuptools",
"purl": "pkg:deb/ubuntu/setuptools@59.6.0-1.2ubuntu0.22.04.3?arch=source\u0026distro=jammy"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "59.6.0-1.2ubuntu0.22.04.3"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"52.0.0-4",
"58.2.0-1",
"59.6.0-1.2",
"59.6.0-1.2ubuntu0.22.04.1",
"59.6.0-1.2ubuntu0.22.04.2"
]
},
{
"database_specific": {
"cves_map": {
"cves": [
{
"id": "CVE-2025-47273",
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
"type": "CVSS_V3"
},
{
"score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N/E:P",
"type": "CVSS_V4"
},
{
"score": "medium",
"type": "Ubuntu"
}
]
}
],
"ecosystem": "Ubuntu:Pro:22.04:LTS"
}
},
"ecosystem_specific": {
"availability": "Available with Ubuntu Pro: https://ubuntu.com/pro",
"binaries": [
{
"binary_name": "pypy-pkg-resources",
"binary_version": "44.1.1-1.2ubuntu0.22.04.1+esm2"
},
{
"binary_name": "pypy-setuptools",
"binary_version": "44.1.1-1.2ubuntu0.22.04.1+esm2"
},
{
"binary_name": "python-pkg-resources",
"binary_version": "44.1.1-1.2ubuntu0.22.04.1+esm2"
},
{
"binary_name": "python-setuptools",
"binary_version": "44.1.1-1.2ubuntu0.22.04.1+esm2"
},
{
"binary_name": "python2-setuptools-whl",
"binary_version": "44.1.1-1.2ubuntu0.22.04.1+esm2"
}
]
},
"package": {
"ecosystem": "Ubuntu:Pro:22.04:LTS",
"name": "python-setuptools",
"purl": "pkg:deb/ubuntu/python-setuptools@44.1.1-1.2ubuntu0.22.04.1+esm2?arch=source\u0026distro=esm-apps/jammy"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "44.1.1-1.2ubuntu0.22.04.1+esm2"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"44.1.1-1",
"44.1.1-1.2",
"44.1.1-1.2ubuntu0.22.04.1",
"44.1.1-1.2ubuntu0.22.04.1+esm1"
]
},
{
"database_specific": {
"cves_map": {
"cves": [
{
"id": "CVE-2025-47273",
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
"type": "CVSS_V3"
},
{
"score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N/E:P",
"type": "CVSS_V4"
},
{
"score": "medium",
"type": "Ubuntu"
}
]
}
],
"ecosystem": "Ubuntu:24.04:LTS"
}
},
"ecosystem_specific": {
"availability": "No subscription required",
"binaries": [
{
"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",
"binary_version": "68.1.2-2ubuntu1.2"
}
]
},
"package": {
"ecosystem": "Ubuntu:24.04:LTS",
"name": "setuptools",
"purl": "pkg:deb/ubuntu/setuptools@68.1.2-2ubuntu1.2?arch=source\u0026distro=noble"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "68.1.2-2ubuntu1.2"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"68.1.2-2",
"68.1.2-2ubuntu1",
"68.1.2-2ubuntu1.1"
]
}
],
"aliases": [],
"details": "It was discovered that setuptools did not properly sanitize paths. An\nattacker could possibly use this issue to write files to arbitrary\nlocations on the filesystem.\n",
"id": "USN-7544-1",
"modified": "2026-06-25T10:46:50Z",
"published": "2025-05-28T19:34:54Z",
"references": [
{
"type": "ADVISORY",
"url": "https://ubuntu.com/security/notices/USN-7544-1"
},
{
"type": "REPORT",
"url": "https://ubuntu.com/security/CVE-2025-47273"
}
],
"related": [],
"schema_version": "1.7.0",
"summary": "python-setuptools, setuptools vulnerability",
"upstream": [
"UBUNTU-CVE-2025-47273"
]
}
Loading…
Loading…
Experimental. This forecast is provided for visualization only and may change without notice. Do not use it for operational decisions.
Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Loading…
Loading…