536 lines
14 KiB
JSON
536 lines
14 KiB
JSON
{
|
|
"schema_version": "1.7.0",
|
|
"id": "USN-5817-1",
|
|
"summary": "python-setuptools, setuptools vulnerability",
|
|
"details": "Sebastian Chnelik discovered that setuptools incorrectly handled\ncertain regex inputs. An attacker could possibly use this issue\nto cause a denial of service.\n",
|
|
"aliases": [],
|
|
"upstream": [
|
|
"UBUNTU-CVE-2022-40897"
|
|
],
|
|
"related": [],
|
|
"published": "2023-01-23T08:51:41Z",
|
|
"modified": "2026-06-29T10:52:59Z",
|
|
"affected": [
|
|
{
|
|
"package": {
|
|
"ecosystem": "Ubuntu:Pro:14.04:LTS",
|
|
"name": "python-setuptools",
|
|
"purl": "pkg:deb/ubuntu/python-setuptools@3.3-1ubuntu2+esm1?arch=source&distro=trusty/esm"
|
|
},
|
|
"ranges": [
|
|
{
|
|
"type": "ECOSYSTEM",
|
|
"events": [
|
|
{
|
|
"introduced": "0"
|
|
},
|
|
{
|
|
"fixed": "3.3-1ubuntu2+esm1"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"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"
|
|
],
|
|
"ecosystem_specific": {
|
|
"binaries": [
|
|
{
|
|
"binary_name": "python-pkg-resources",
|
|
"binary_version": "3.3-1ubuntu2+esm1"
|
|
},
|
|
{
|
|
"binary_name": "python-setuptools",
|
|
"binary_version": "3.3-1ubuntu2+esm1"
|
|
},
|
|
{
|
|
"binary_name": "python-setuptools-whl",
|
|
"binary_version": "3.3-1ubuntu2+esm1"
|
|
},
|
|
{
|
|
"binary_name": "python3-pkg-resources",
|
|
"binary_version": "3.3-1ubuntu2+esm1"
|
|
},
|
|
{
|
|
"binary_name": "python3-setuptools",
|
|
"binary_version": "3.3-1ubuntu2+esm1"
|
|
}
|
|
],
|
|
"availability": "Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro"
|
|
},
|
|
"database_specific": {
|
|
"cves_map": {
|
|
"ecosystem": "Ubuntu:Pro:14.04:LTS",
|
|
"cves": [
|
|
{
|
|
"id": "CVE-2022-40897",
|
|
"severity": [
|
|
{
|
|
"type": "CVSS_V3",
|
|
"score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H"
|
|
},
|
|
{
|
|
"type": "CVSS_V3",
|
|
"score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H"
|
|
},
|
|
{
|
|
"type": "Ubuntu",
|
|
"score": "medium"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"package": {
|
|
"ecosystem": "Ubuntu:Pro:16.04:LTS",
|
|
"name": "python-setuptools",
|
|
"purl": "pkg:deb/ubuntu/python-setuptools@20.7.0-1ubuntu0.1~esm1?arch=source&distro=esm-infra/xenial"
|
|
},
|
|
"ranges": [
|
|
{
|
|
"type": "ECOSYSTEM",
|
|
"events": [
|
|
{
|
|
"introduced": "0"
|
|
},
|
|
{
|
|
"fixed": "20.7.0-1ubuntu0.1~esm1"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"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"
|
|
],
|
|
"ecosystem_specific": {
|
|
"binaries": [
|
|
{
|
|
"binary_name": "pypy-pkg-resources",
|
|
"binary_version": "20.7.0-1ubuntu0.1~esm1"
|
|
},
|
|
{
|
|
"binary_name": "pypy-setuptools",
|
|
"binary_version": "20.7.0-1ubuntu0.1~esm1"
|
|
},
|
|
{
|
|
"binary_name": "python-pkg-resources",
|
|
"binary_version": "20.7.0-1ubuntu0.1~esm1"
|
|
},
|
|
{
|
|
"binary_name": "python-setuptools",
|
|
"binary_version": "20.7.0-1ubuntu0.1~esm1"
|
|
},
|
|
{
|
|
"binary_name": "python3-pkg-resources",
|
|
"binary_version": "20.7.0-1ubuntu0.1~esm1"
|
|
},
|
|
{
|
|
"binary_name": "python3-setuptools",
|
|
"binary_version": "20.7.0-1ubuntu0.1~esm1"
|
|
}
|
|
],
|
|
"availability": "Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro"
|
|
},
|
|
"database_specific": {
|
|
"cves_map": {
|
|
"ecosystem": "Ubuntu:Pro:16.04:LTS",
|
|
"cves": [
|
|
{
|
|
"id": "CVE-2022-40897",
|
|
"severity": [
|
|
{
|
|
"type": "CVSS_V3",
|
|
"score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H"
|
|
},
|
|
{
|
|
"type": "CVSS_V3",
|
|
"score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H"
|
|
},
|
|
{
|
|
"type": "Ubuntu",
|
|
"score": "medium"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"package": {
|
|
"ecosystem": "Ubuntu:18.04:LTS",
|
|
"name": "python-setuptools",
|
|
"purl": "pkg:deb/ubuntu/python-setuptools@39.0.1-2ubuntu0.1?arch=source&distro=bionic"
|
|
},
|
|
"ranges": [
|
|
{
|
|
"type": "ECOSYSTEM",
|
|
"events": [
|
|
{
|
|
"introduced": "0"
|
|
},
|
|
{
|
|
"fixed": "39.0.1-2ubuntu0.1"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"versions": [
|
|
"36.2.7-2",
|
|
"38.4.0-1",
|
|
"38.5.2-1",
|
|
"39.0.1-1",
|
|
"39.0.1-2"
|
|
],
|
|
"ecosystem_specific": {
|
|
"binaries": [
|
|
{
|
|
"binary_name": "pypy-pkg-resources",
|
|
"binary_version": "39.0.1-2ubuntu0.1"
|
|
},
|
|
{
|
|
"binary_name": "pypy-setuptools",
|
|
"binary_version": "39.0.1-2ubuntu0.1"
|
|
},
|
|
{
|
|
"binary_name": "python-pkg-resources",
|
|
"binary_version": "39.0.1-2ubuntu0.1"
|
|
},
|
|
{
|
|
"binary_name": "python-setuptools",
|
|
"binary_version": "39.0.1-2ubuntu0.1"
|
|
},
|
|
{
|
|
"binary_name": "python3-pkg-resources",
|
|
"binary_version": "39.0.1-2ubuntu0.1"
|
|
},
|
|
{
|
|
"binary_name": "python3-setuptools",
|
|
"binary_version": "39.0.1-2ubuntu0.1"
|
|
}
|
|
],
|
|
"availability": "No subscription required"
|
|
},
|
|
"database_specific": {
|
|
"cves_map": {
|
|
"ecosystem": "Ubuntu:18.04:LTS",
|
|
"cves": [
|
|
{
|
|
"id": "CVE-2022-40897",
|
|
"severity": [
|
|
{
|
|
"type": "CVSS_V3",
|
|
"score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H"
|
|
},
|
|
{
|
|
"type": "CVSS_V3",
|
|
"score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H"
|
|
},
|
|
{
|
|
"type": "Ubuntu",
|
|
"score": "medium"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"package": {
|
|
"ecosystem": "Ubuntu:20.04:LTS",
|
|
"name": "python-setuptools",
|
|
"purl": "pkg:deb/ubuntu/python-setuptools@44.0.0-2ubuntu0.1?arch=source&distro=focal"
|
|
},
|
|
"ranges": [
|
|
{
|
|
"type": "ECOSYSTEM",
|
|
"events": [
|
|
{
|
|
"introduced": "0"
|
|
},
|
|
{
|
|
"fixed": "44.0.0-2ubuntu0.1"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"versions": [
|
|
"41.1.0-1",
|
|
"41.4.0-1",
|
|
"44.0.0-1",
|
|
"44.0.0-2"
|
|
],
|
|
"ecosystem_specific": {
|
|
"binaries": [
|
|
{
|
|
"binary_name": "pypy-pkg-resources",
|
|
"binary_version": "44.0.0-2ubuntu0.1"
|
|
},
|
|
{
|
|
"binary_name": "pypy-setuptools",
|
|
"binary_version": "44.0.0-2ubuntu0.1"
|
|
},
|
|
{
|
|
"binary_name": "python-pkg-resources",
|
|
"binary_version": "44.0.0-2ubuntu0.1"
|
|
},
|
|
{
|
|
"binary_name": "python-setuptools",
|
|
"binary_version": "44.0.0-2ubuntu0.1"
|
|
}
|
|
],
|
|
"availability": "No subscription required"
|
|
},
|
|
"database_specific": {
|
|
"cves_map": {
|
|
"ecosystem": "Ubuntu:20.04:LTS",
|
|
"cves": [
|
|
{
|
|
"id": "CVE-2022-40897",
|
|
"severity": [
|
|
{
|
|
"type": "CVSS_V3",
|
|
"score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H"
|
|
},
|
|
{
|
|
"type": "CVSS_V3",
|
|
"score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H"
|
|
},
|
|
{
|
|
"type": "Ubuntu",
|
|
"score": "medium"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"package": {
|
|
"ecosystem": "Ubuntu:20.04:LTS",
|
|
"name": "setuptools",
|
|
"purl": "pkg:deb/ubuntu/setuptools@45.2.0-1ubuntu0.1?arch=source&distro=focal"
|
|
},
|
|
"ranges": [
|
|
{
|
|
"type": "ECOSYSTEM",
|
|
"events": [
|
|
{
|
|
"introduced": "0"
|
|
},
|
|
{
|
|
"fixed": "45.2.0-1ubuntu0.1"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"versions": [
|
|
"45.2.0-1"
|
|
],
|
|
"ecosystem_specific": {
|
|
"binaries": [
|
|
{
|
|
"binary_name": "python3-pkg-resources",
|
|
"binary_version": "45.2.0-1ubuntu0.1"
|
|
},
|
|
{
|
|
"binary_name": "python3-setuptools",
|
|
"binary_version": "45.2.0-1ubuntu0.1"
|
|
}
|
|
],
|
|
"availability": "No subscription required"
|
|
},
|
|
"database_specific": {
|
|
"cves_map": {
|
|
"ecosystem": "Ubuntu:20.04:LTS",
|
|
"cves": [
|
|
{
|
|
"id": "CVE-2022-40897",
|
|
"severity": [
|
|
{
|
|
"type": "CVSS_V3",
|
|
"score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H"
|
|
},
|
|
{
|
|
"type": "CVSS_V3",
|
|
"score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H"
|
|
},
|
|
{
|
|
"type": "Ubuntu",
|
|
"score": "medium"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"package": {
|
|
"ecosystem": "Ubuntu:22.04:LTS",
|
|
"name": "python-setuptools",
|
|
"purl": "pkg:deb/ubuntu/python-setuptools@44.1.1-1.2ubuntu0.22.04.1?arch=source&distro=jammy"
|
|
},
|
|
"ranges": [
|
|
{
|
|
"type": "ECOSYSTEM",
|
|
"events": [
|
|
{
|
|
"introduced": "0"
|
|
},
|
|
{
|
|
"fixed": "44.1.1-1.2ubuntu0.22.04.1"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"versions": [
|
|
"44.1.1-1",
|
|
"44.1.1-1.2"
|
|
],
|
|
"ecosystem_specific": {
|
|
"binaries": [
|
|
{
|
|
"binary_name": "pypy-pkg-resources",
|
|
"binary_version": "44.1.1-1.2ubuntu0.22.04.1"
|
|
},
|
|
{
|
|
"binary_name": "pypy-setuptools",
|
|
"binary_version": "44.1.1-1.2ubuntu0.22.04.1"
|
|
},
|
|
{
|
|
"binary_name": "python-pkg-resources",
|
|
"binary_version": "44.1.1-1.2ubuntu0.22.04.1"
|
|
},
|
|
{
|
|
"binary_name": "python-setuptools",
|
|
"binary_version": "44.1.1-1.2ubuntu0.22.04.1"
|
|
},
|
|
{
|
|
"binary_name": "python2-setuptools-whl",
|
|
"binary_version": "44.1.1-1.2ubuntu0.22.04.1"
|
|
}
|
|
],
|
|
"availability": "No subscription required"
|
|
},
|
|
"database_specific": {
|
|
"cves_map": {
|
|
"ecosystem": "Ubuntu:22.04:LTS",
|
|
"cves": [
|
|
{
|
|
"id": "CVE-2022-40897",
|
|
"severity": [
|
|
{
|
|
"type": "CVSS_V3",
|
|
"score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H"
|
|
},
|
|
{
|
|
"type": "CVSS_V3",
|
|
"score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H"
|
|
},
|
|
{
|
|
"type": "Ubuntu",
|
|
"score": "medium"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"package": {
|
|
"ecosystem": "Ubuntu:22.04:LTS",
|
|
"name": "setuptools",
|
|
"purl": "pkg:deb/ubuntu/setuptools@59.6.0-1.2ubuntu0.22.04.1?arch=source&distro=jammy"
|
|
},
|
|
"ranges": [
|
|
{
|
|
"type": "ECOSYSTEM",
|
|
"events": [
|
|
{
|
|
"introduced": "0"
|
|
},
|
|
{
|
|
"fixed": "59.6.0-1.2ubuntu0.22.04.1"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"versions": [
|
|
"52.0.0-4",
|
|
"58.2.0-1",
|
|
"59.6.0-1.2"
|
|
],
|
|
"ecosystem_specific": {
|
|
"binaries": [
|
|
{
|
|
"binary_name": "python3-pkg-resources",
|
|
"binary_version": "59.6.0-1.2ubuntu0.22.04.1"
|
|
},
|
|
{
|
|
"binary_name": "python3-setuptools",
|
|
"binary_version": "59.6.0-1.2ubuntu0.22.04.1"
|
|
},
|
|
{
|
|
"binary_name": "python3-setuptools-whl",
|
|
"binary_version": "59.6.0-1.2ubuntu0.22.04.1"
|
|
}
|
|
],
|
|
"availability": "No subscription required"
|
|
},
|
|
"database_specific": {
|
|
"cves_map": {
|
|
"ecosystem": "Ubuntu:22.04:LTS",
|
|
"cves": [
|
|
{
|
|
"id": "CVE-2022-40897",
|
|
"severity": [
|
|
{
|
|
"type": "CVSS_V3",
|
|
"score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H"
|
|
},
|
|
{
|
|
"type": "CVSS_V3",
|
|
"score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H"
|
|
},
|
|
{
|
|
"type": "Ubuntu",
|
|
"score": "medium"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"references": [
|
|
{
|
|
"type": "ADVISORY",
|
|
"url": "https://ubuntu.com/security/notices/USN-5817-1"
|
|
},
|
|
{
|
|
"type": "REPORT",
|
|
"url": "https://ubuntu.com/security/CVE-2022-40897"
|
|
}
|
|
]
|
|
} |