Action not permitted
Modal body text goes here.
Modal Title
Modal Body
Vulnerability from bitnami_vulndb
Python Packaging Authority (PyPA) setuptools before 65.5.1 allows remote attackers to cause a denial of service via HTML in a crafted package or custom PackageIndex page. There is a Regular Expression Denial of Service (ReDoS) in package_index.py.
{
"affected": [
{
"package": {
"ecosystem": "Bitnami",
"name": "setuptools",
"purl": "pkg:bitnami/setuptools"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "65.5.1"
}
],
"type": "SEMVER"
}
],
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H",
"type": "CVSS_V3"
}
]
}
],
"aliases": [
"CVE-2022-40897"
],
"database_specific": {
"cpes": [
"cpe:2.3:a:python:setuptools:*:*:*:*:*:*:*:*"
],
"severity": "Medium"
},
"details": "Python Packaging Authority (PyPA) setuptools before 65.5.1 allows remote attackers to cause a denial of service via HTML in a crafted package or custom PackageIndex page. There is a Regular Expression Denial of Service (ReDoS) in package_index.py.",
"id": "BIT-setuptools-2022-40897",
"modified": "2026-09-08T08:34:36.952Z",
"published": "2024-03-06T11:04:50.199Z",
"references": [
{
"type": "ADVISORY",
"url": "https://github.com/pypa/setuptools/blob/fe8a98e696241487ba6ac9f91faa38ade939ec5d/setuptools/package_index.py#L200"
},
{
"type": "ADVISORY",
"url": "https://github.com/pypa/setuptools/commit/43a9c9bfa6aa626ec2a22540bea28d2ca77964be"
},
{
"type": "ADVISORY",
"url": "https://github.com/pypa/setuptools/compare/v65.5.0...v65.5.1"
},
{
"type": "WEB",
"url": "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ADES3NLOE5QJKBLGNZNI2RGVOSQXA37R/"
},
{
"type": "WEB",
"url": "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/YNA2BAH2ACBZ4TVJZKFLCR7L23BG5C3H/"
},
{
"type": "ADVISORY",
"url": "https://pyup.io/posts/pyup-discovers-redos-vulnerabilities-in-top-python-packages/"
},
{
"type": "ADVISORY",
"url": "https://pyup.io/vulnerabilities/CVE-2022-40897/52495/"
},
{
"type": "WEB",
"url": "https://security.netapp.com/advisory/ntap-20230214-0001/"
},
{
"type": "WEB",
"url": "https://security.netapp.com/advisory/ntap-20240621-0006/"
},
{
"type": "WEB",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2022-40897"
},
{
"type": "WEB",
"url": "https://lists.debian.org/debian-lts-announce/2024/09/msg00018.html"
}
],
"schema_version": "1.5.0"
}
BREW-BARMAN-CVE-2022-40897 (GHSA-R9HX-VWMV-Q579)
Vulnerability from osv_homebrew – Published: 2026-08-13 16:37 – Updated: 2026-09-09 23:43 – Source websitePython Packaging Authority (PyPA)'s setuptools is a library designed to facilitate packaging Python projects. Setuptools version 65.5.0 and earlier could allow remote attackers to cause a denial of service by fetching malicious HTML from a PyPI package or custom PackageIndex page due to a vulnerable Regular Expression in package_index. This has been patched in version 65.5.1.
{
"affected": [
{
"ecosystem_specific": {
"fix": "bump",
"range_state": "fixed",
"resource": "setuptools",
"resource_purl": "pkg:pypi/setuptools@82.0.1",
"upstream_fixed_in": "65.5.1"
},
"package": {
"ecosystem": "Homebrew",
"name": "barman",
"purl": "pkg:brew/barman"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "3.19.1"
}
],
"type": "ECOSYSTEM"
}
]
}
],
"database_specific": {
"confidence": "high",
"source": "matched",
"strategy": "registry",
"upstream_evidence": [
{
"ecosystem": "PyPI",
"key": "pkg:pypi/setuptools@82.0.1",
"name": "setuptools",
"resource": "setuptools",
"strategy": "registry",
"subject_version": "82.0.1"
}
]
},
"details": "Python Packaging Authority (PyPA)\u0027s setuptools is a library designed to facilitate packaging Python projects. Setuptools version 65.5.0 and earlier could allow remote attackers to cause a denial of service by fetching malicious HTML from a PyPI package or custom PackageIndex page due to a vulnerable Regular Expression in `package_index`. This has been patched in version 65.5.1.",
"id": "BREW-barman-CVE-2022-40897",
"modified": "2026-09-09T23:43:07Z",
"published": "2026-08-13T16:37:04Z",
"references": [
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2022-40897"
},
{
"type": "WEB",
"url": "https://github.com/pypa/setuptools/issues/3659"
},
{
"type": "WEB",
"url": "https://github.com/pypa/setuptools/commit/43a9c9bfa6aa626ec2a22540bea28d2ca77964be"
},
{
"type": "WEB",
"url": "https://setuptools.pypa.io/en/latest"
},
{
"type": "WEB",
"url": "https://security.netapp.com/advisory/ntap-20240621-0006"
},
{
"type": "WEB",
"url": "https://security.netapp.com/advisory/ntap-20230214-0001"
},
{
"type": "WEB",
"url": "https://pyup.io/vulnerabilities/CVE-2022-40897/52495"
},
{
"type": "WEB",
"url": "https://pyup.io/posts/pyup-discovers-redos-vulnerabilities-in-top-python-packages"
},
{
"type": "WEB",
"url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/YNA2BAH2ACBZ4TVJZKFLCR7L23BG5C3H"
},
{
"type": "WEB",
"url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ADES3NLOE5QJKBLGNZNI2RGVOSQXA37R"
},
{
"type": "WEB",
"url": "https://lists.debian.org/debian-lts-announce/2024/09/msg00018.html"
},
{
"type": "WEB",
"url": "https://github.com/pypa/setuptools/compare/v65.5.0...v65.5.1"
},
{
"type": "WEB",
"url": "https://github.com/pypa/setuptools/blob/fe8a98e696241487ba6ac9f91faa38ade939ec5d/setuptools/package_index.py#L200"
},
{
"type": "PACKAGE",
"url": "https://github.com/pypa/setuptools"
},
{
"type": "WEB",
"url": "https://github.com/pypa/advisory-database/tree/main/vulns/setuptools/PYSEC-2022-43012.yaml"
}
],
"schema_version": "1.7.3",
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
"type": "CVSS_V3"
},
{
"score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:L/SI:L/SA:N",
"type": "CVSS_V4"
}
],
"summary": "pypa/setuptools vulnerable to Regular Expression Denial of Service (ReDoS)",
"upstream": [
"GHSA-r9hx-vwmv-q579",
"BIT-setuptools-2022-40897",
"CVE-2022-40897",
"PYSEC-2022-43012"
]
}
BREW-BASHATE-CVE-2022-40897 (GHSA-R9HX-VWMV-Q579)
Vulnerability from osv_homebrew – Published: 2026-08-13 16:37 – Updated: 2026-09-09 23:43 – Source websitePython Packaging Authority (PyPA)'s setuptools is a library designed to facilitate packaging Python projects. Setuptools version 65.5.0 and earlier could allow remote attackers to cause a denial of service by fetching malicious HTML from a PyPI package or custom PackageIndex page due to a vulnerable Regular Expression in package_index. This has been patched in version 65.5.1.
| URL | Type | ||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|||||||||||||||||||||||||||||||||||||||||||||||
{
"affected": [
{
"ecosystem_specific": {
"fix": "bump",
"range_state": "fixed",
"resource": "setuptools",
"resource_purl": "pkg:pypi/setuptools@83.0.0",
"upstream_fixed_in": "65.5.1"
},
"package": {
"ecosystem": "Homebrew",
"name": "bashate",
"purl": "pkg:brew/bashate"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "2.1.1_3"
}
],
"type": "ECOSYSTEM"
}
]
}
],
"database_specific": {
"confidence": "high",
"source": "matched",
"strategy": "registry",
"upstream_evidence": [
{
"ecosystem": "PyPI",
"key": "pkg:pypi/setuptools@83.0.0",
"name": "setuptools",
"resource": "setuptools",
"strategy": "registry",
"subject_version": "83.0.0"
}
]
},
"details": "Python Packaging Authority (PyPA)\u0027s setuptools is a library designed to facilitate packaging Python projects. Setuptools version 65.5.0 and earlier could allow remote attackers to cause a denial of service by fetching malicious HTML from a PyPI package or custom PackageIndex page due to a vulnerable Regular Expression in `package_index`. This has been patched in version 65.5.1.",
"id": "BREW-bashate-CVE-2022-40897",
"modified": "2026-09-09T23:43:10Z",
"published": "2026-08-13T16:37:07Z",
"references": [
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2022-40897"
},
{
"type": "WEB",
"url": "https://github.com/pypa/setuptools/issues/3659"
},
{
"type": "WEB",
"url": "https://github.com/pypa/setuptools/commit/43a9c9bfa6aa626ec2a22540bea28d2ca77964be"
},
{
"type": "WEB",
"url": "https://setuptools.pypa.io/en/latest"
},
{
"type": "WEB",
"url": "https://security.netapp.com/advisory/ntap-20240621-0006"
},
{
"type": "WEB",
"url": "https://security.netapp.com/advisory/ntap-20230214-0001"
},
{
"type": "WEB",
"url": "https://pyup.io/vulnerabilities/CVE-2022-40897/52495"
},
{
"type": "WEB",
"url": "https://pyup.io/posts/pyup-discovers-redos-vulnerabilities-in-top-python-packages"
},
{
"type": "WEB",
"url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/YNA2BAH2ACBZ4TVJZKFLCR7L23BG5C3H"
},
{
"type": "WEB",
"url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ADES3NLOE5QJKBLGNZNI2RGVOSQXA37R"
},
{
"type": "WEB",
"url": "https://lists.debian.org/debian-lts-announce/2024/09/msg00018.html"
},
{
"type": "WEB",
"url": "https://github.com/pypa/setuptools/compare/v65.5.0...v65.5.1"
},
{
"type": "WEB",
"url": "https://github.com/pypa/setuptools/blob/fe8a98e696241487ba6ac9f91faa38ade939ec5d/setuptools/package_index.py#L200"
},
{
"type": "PACKAGE",
"url": "https://github.com/pypa/setuptools"
},
{
"type": "WEB",
"url": "https://github.com/pypa/advisory-database/tree/main/vulns/setuptools/PYSEC-2022-43012.yaml"
}
],
"schema_version": "1.7.3",
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
"type": "CVSS_V3"
},
{
"score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:L/SI:L/SA:N",
"type": "CVSS_V4"
}
],
"summary": "pypa/setuptools vulnerable to Regular Expression Denial of Service (ReDoS)",
"upstream": [
"GHSA-r9hx-vwmv-q579",
"BIT-setuptools-2022-40897",
"CVE-2022-40897",
"PYSEC-2022-43012"
]
}
BREW-BAZARR-CVE-2022-40897 (GHSA-R9HX-VWMV-Q579)
Vulnerability from osv_homebrew – Published: 2026-08-13 16:37 – Updated: 2026-09-15 08:48 – Source websitePython Packaging Authority (PyPA)'s setuptools is a library designed to facilitate packaging Python projects. Setuptools version 65.5.0 and earlier could allow remote attackers to cause a denial of service by fetching malicious HTML from a PyPI package or custom PackageIndex page due to a vulnerable Regular Expression in package_index. This has been patched in version 65.5.1.
| URL | Type | ||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|||||||||||||||||||||||||||||||||||||||||||||||
{
"affected": [
{
"ecosystem_specific": {
"fix": "bump",
"range_state": "fixed",
"resource": "setuptools",
"resource_purl": "pkg:pypi/setuptools@84.0.0",
"upstream_fixed_in": "65.5.1"
},
"package": {
"ecosystem": "Homebrew",
"name": "bazarr",
"purl": "pkg:brew/bazarr"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "1.6.0_1"
}
],
"type": "ECOSYSTEM"
}
]
}
],
"database_specific": {
"confidence": "high",
"source": "matched",
"strategy": "registry",
"upstream_evidence": [
{
"ecosystem": "PyPI",
"key": "pkg:pypi/setuptools@84.0.0",
"name": "setuptools",
"resource": "setuptools",
"strategy": "registry",
"subject_version": "84.0.0"
}
]
},
"details": "Python Packaging Authority (PyPA)\u0027s setuptools is a library designed to facilitate packaging Python projects. Setuptools version 65.5.0 and earlier could allow remote attackers to cause a denial of service by fetching malicious HTML from a PyPI package or custom PackageIndex page due to a vulnerable Regular Expression in `package_index`. This has been patched in version 65.5.1.",
"id": "BREW-bazarr-CVE-2022-40897",
"modified": "2026-09-15T08:48:06Z",
"published": "2026-08-13T16:37:10Z",
"references": [
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2022-40897"
},
{
"type": "WEB",
"url": "https://github.com/pypa/setuptools/issues/3659"
},
{
"type": "WEB",
"url": "https://github.com/pypa/setuptools/commit/43a9c9bfa6aa626ec2a22540bea28d2ca77964be"
},
{
"type": "WEB",
"url": "https://setuptools.pypa.io/en/latest"
},
{
"type": "WEB",
"url": "https://security.netapp.com/advisory/ntap-20240621-0006"
},
{
"type": "WEB",
"url": "https://security.netapp.com/advisory/ntap-20230214-0001"
},
{
"type": "WEB",
"url": "https://pyup.io/vulnerabilities/CVE-2022-40897/52495"
},
{
"type": "WEB",
"url": "https://pyup.io/posts/pyup-discovers-redos-vulnerabilities-in-top-python-packages"
},
{
"type": "WEB",
"url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/YNA2BAH2ACBZ4TVJZKFLCR7L23BG5C3H"
},
{
"type": "WEB",
"url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ADES3NLOE5QJKBLGNZNI2RGVOSQXA37R"
},
{
"type": "WEB",
"url": "https://lists.debian.org/debian-lts-announce/2024/09/msg00018.html"
},
{
"type": "WEB",
"url": "https://github.com/pypa/setuptools/compare/v65.5.0...v65.5.1"
},
{
"type": "WEB",
"url": "https://github.com/pypa/setuptools/blob/fe8a98e696241487ba6ac9f91faa38ade939ec5d/setuptools/package_index.py#L200"
},
{
"type": "PACKAGE",
"url": "https://github.com/pypa/setuptools"
},
{
"type": "WEB",
"url": "https://github.com/pypa/advisory-database/tree/main/vulns/setuptools/PYSEC-2022-43012.yaml"
}
],
"schema_version": "1.7.3",
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
"type": "CVSS_V3"
},
{
"score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:L/SI:L/SA:N",
"type": "CVSS_V4"
}
],
"summary": "pypa/setuptools vulnerable to Regular Expression Denial of Service (ReDoS)",
"upstream": [
"GHSA-r9hx-vwmv-q579",
"BIT-setuptools-2022-40897",
"CVE-2022-40897",
"PYSEC-2022-43012"
]
}
BREW-BZT-CVE-2022-40897 (GHSA-R9HX-VWMV-Q579)
Vulnerability from osv_homebrew – Published: 2026-08-13 16:38 – Updated: 2026-09-10 18:58 – Source websitePython Packaging Authority (PyPA)'s setuptools is a library designed to facilitate packaging Python projects. Setuptools version 65.5.0 and earlier could allow remote attackers to cause a denial of service by fetching malicious HTML from a PyPI package or custom PackageIndex page due to a vulnerable Regular Expression in package_index. This has been patched in version 65.5.1.
| URL | Type | ||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|||||||||||||||||||||||||||||||||||||||||||||||
{
"affected": [
{
"ecosystem_specific": {
"fix": "bump",
"range_state": "fixed",
"resource": "setuptools",
"resource_purl": "pkg:pypi/setuptools@80.10.2",
"upstream_fixed_in": "65.5.1"
},
"package": {
"ecosystem": "Homebrew",
"name": "bzt",
"purl": "pkg:brew/bzt"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "1.16.51_2"
}
],
"type": "ECOSYSTEM"
}
]
}
],
"database_specific": {
"confidence": "high",
"source": "matched",
"strategy": "registry",
"upstream_evidence": [
{
"ecosystem": "PyPI",
"key": "pkg:pypi/setuptools@80.10.2",
"name": "setuptools",
"resource": "setuptools",
"strategy": "registry",
"subject_version": "80.10.2"
}
]
},
"details": "Python Packaging Authority (PyPA)\u0027s setuptools is a library designed to facilitate packaging Python projects. Setuptools version 65.5.0 and earlier could allow remote attackers to cause a denial of service by fetching malicious HTML from a PyPI package or custom PackageIndex page due to a vulnerable Regular Expression in `package_index`. This has been patched in version 65.5.1.",
"id": "BREW-bzt-CVE-2022-40897",
"modified": "2026-09-10T18:58:25Z",
"published": "2026-08-13T16:38:28Z",
"references": [
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2022-40897"
},
{
"type": "WEB",
"url": "https://github.com/pypa/setuptools/issues/3659"
},
{
"type": "WEB",
"url": "https://github.com/pypa/setuptools/commit/43a9c9bfa6aa626ec2a22540bea28d2ca77964be"
},
{
"type": "WEB",
"url": "https://setuptools.pypa.io/en/latest"
},
{
"type": "WEB",
"url": "https://security.netapp.com/advisory/ntap-20240621-0006"
},
{
"type": "WEB",
"url": "https://security.netapp.com/advisory/ntap-20230214-0001"
},
{
"type": "WEB",
"url": "https://pyup.io/vulnerabilities/CVE-2022-40897/52495"
},
{
"type": "WEB",
"url": "https://pyup.io/posts/pyup-discovers-redos-vulnerabilities-in-top-python-packages"
},
{
"type": "WEB",
"url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/YNA2BAH2ACBZ4TVJZKFLCR7L23BG5C3H"
},
{
"type": "WEB",
"url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ADES3NLOE5QJKBLGNZNI2RGVOSQXA37R"
},
{
"type": "WEB",
"url": "https://lists.debian.org/debian-lts-announce/2024/09/msg00018.html"
},
{
"type": "WEB",
"url": "https://github.com/pypa/setuptools/compare/v65.5.0...v65.5.1"
},
{
"type": "WEB",
"url": "https://github.com/pypa/setuptools/blob/fe8a98e696241487ba6ac9f91faa38ade939ec5d/setuptools/package_index.py#L200"
},
{
"type": "PACKAGE",
"url": "https://github.com/pypa/setuptools"
},
{
"type": "WEB",
"url": "https://github.com/pypa/advisory-database/tree/main/vulns/setuptools/PYSEC-2022-43012.yaml"
}
],
"schema_version": "1.7.3",
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
"type": "CVSS_V3"
},
{
"score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:L/SI:L/SA:N",
"type": "CVSS_V4"
}
],
"summary": "pypa/setuptools vulnerable to Regular Expression Denial of Service (ReDoS)",
"upstream": [
"GHSA-r9hx-vwmv-q579",
"BIT-setuptools-2022-40897",
"CVE-2022-40897",
"PYSEC-2022-43012"
]
}
BREW-CCM-CVE-2022-40897 (GHSA-R9HX-VWMV-Q579)
Vulnerability from osv_homebrew – Published: 2026-08-13 16:39 – Updated: 2026-09-10 18:59 – Source websitePython Packaging Authority (PyPA)'s setuptools is a library designed to facilitate packaging Python projects. Setuptools version 65.5.0 and earlier could allow remote attackers to cause a denial of service by fetching malicious HTML from a PyPI package or custom PackageIndex page due to a vulnerable Regular Expression in package_index. This has been patched in version 65.5.1.
| URL | Type | ||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|||||||||||||||||||||||||||||||||||||||||||||||
{
"affected": [
{
"ecosystem_specific": {
"fix": "bump",
"range_state": "fixed",
"resource": "setuptools",
"resource_purl": "pkg:pypi/setuptools@83.0.0",
"upstream_fixed_in": "65.5.1"
},
"package": {
"ecosystem": "Homebrew",
"name": "ccm",
"purl": "pkg:brew/ccm"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "3.1.5_6"
}
],
"type": "ECOSYSTEM"
}
]
}
],
"database_specific": {
"confidence": "high",
"source": "matched",
"strategy": "registry",
"upstream_evidence": [
{
"ecosystem": "PyPI",
"key": "pkg:pypi/setuptools@83.0.0",
"name": "setuptools",
"resource": "setuptools",
"strategy": "registry",
"subject_version": "83.0.0"
}
]
},
"details": "Python Packaging Authority (PyPA)\u0027s setuptools is a library designed to facilitate packaging Python projects. Setuptools version 65.5.0 and earlier could allow remote attackers to cause a denial of service by fetching malicious HTML from a PyPI package or custom PackageIndex page due to a vulnerable Regular Expression in `package_index`. This has been patched in version 65.5.1.",
"id": "BREW-ccm-CVE-2022-40897",
"modified": "2026-09-10T18:59:08Z",
"published": "2026-08-13T16:39:03Z",
"references": [
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2022-40897"
},
{
"type": "WEB",
"url": "https://github.com/pypa/setuptools/issues/3659"
},
{
"type": "WEB",
"url": "https://github.com/pypa/setuptools/commit/43a9c9bfa6aa626ec2a22540bea28d2ca77964be"
},
{
"type": "WEB",
"url": "https://setuptools.pypa.io/en/latest"
},
{
"type": "WEB",
"url": "https://security.netapp.com/advisory/ntap-20240621-0006"
},
{
"type": "WEB",
"url": "https://security.netapp.com/advisory/ntap-20230214-0001"
},
{
"type": "WEB",
"url": "https://pyup.io/vulnerabilities/CVE-2022-40897/52495"
},
{
"type": "WEB",
"url": "https://pyup.io/posts/pyup-discovers-redos-vulnerabilities-in-top-python-packages"
},
{
"type": "WEB",
"url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/YNA2BAH2ACBZ4TVJZKFLCR7L23BG5C3H"
},
{
"type": "WEB",
"url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ADES3NLOE5QJKBLGNZNI2RGVOSQXA37R"
},
{
"type": "WEB",
"url": "https://lists.debian.org/debian-lts-announce/2024/09/msg00018.html"
},
{
"type": "WEB",
"url": "https://github.com/pypa/setuptools/compare/v65.5.0...v65.5.1"
},
{
"type": "WEB",
"url": "https://github.com/pypa/setuptools/blob/fe8a98e696241487ba6ac9f91faa38ade939ec5d/setuptools/package_index.py#L200"
},
{
"type": "PACKAGE",
"url": "https://github.com/pypa/setuptools"
},
{
"type": "WEB",
"url": "https://github.com/pypa/advisory-database/tree/main/vulns/setuptools/PYSEC-2022-43012.yaml"
}
],
"schema_version": "1.7.3",
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
"type": "CVSS_V3"
},
{
"score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:L/SI:L/SA:N",
"type": "CVSS_V4"
}
],
"summary": "pypa/setuptools vulnerable to Regular Expression Denial of Service (ReDoS)",
"upstream": [
"GHSA-r9hx-vwmv-q579",
"BIT-setuptools-2022-40897",
"CVE-2022-40897",
"PYSEC-2022-43012"
]
}
BREW-CHARM-TOOLS-CVE-202… (GHSA-R9HX-VWMV-Q579)
Vulnerability from osv_homebrew – Published: 2026-08-13 16:39 – Updated: 2026-09-09 23:46 – Source websitePython Packaging Authority (PyPA)'s setuptools is a library designed to facilitate packaging Python projects. Setuptools version 65.5.0 and earlier could allow remote attackers to cause a denial of service by fetching malicious HTML from a PyPI package or custom PackageIndex page due to a vulnerable Regular Expression in package_index. This has been patched in version 65.5.1.
| URL | Type | ||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|||||||||||||||||||||||||||||||||||||||||||||||
{
"affected": [
{
"ecosystem_specific": {
"fix": "bump",
"range_state": "fixed",
"resource": "setuptools",
"resource_purl": "pkg:pypi/setuptools@81.0.0",
"upstream_fixed_in": "65.5.1"
},
"package": {
"ecosystem": "Homebrew",
"name": "charm-tools",
"purl": "pkg:brew/charm-tools"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "3.0.9"
}
],
"type": "ECOSYSTEM"
}
]
}
],
"database_specific": {
"confidence": "high",
"source": "matched",
"strategy": "registry",
"upstream_evidence": [
{
"ecosystem": "PyPI",
"key": "pkg:pypi/setuptools@81.0.0",
"name": "setuptools",
"resource": "setuptools",
"strategy": "registry",
"subject_version": "81.0.0"
}
]
},
"details": "Python Packaging Authority (PyPA)\u0027s setuptools is a library designed to facilitate packaging Python projects. Setuptools version 65.5.0 and earlier could allow remote attackers to cause a denial of service by fetching malicious HTML from a PyPI package or custom PackageIndex page due to a vulnerable Regular Expression in `package_index`. This has been patched in version 65.5.1.",
"id": "BREW-charm-tools-CVE-2022-40897",
"modified": "2026-09-09T23:46:28Z",
"published": "2026-08-13T16:39:06Z",
"references": [
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2022-40897"
},
{
"type": "WEB",
"url": "https://github.com/pypa/setuptools/issues/3659"
},
{
"type": "WEB",
"url": "https://github.com/pypa/setuptools/commit/43a9c9bfa6aa626ec2a22540bea28d2ca77964be"
},
{
"type": "WEB",
"url": "https://setuptools.pypa.io/en/latest"
},
{
"type": "WEB",
"url": "https://security.netapp.com/advisory/ntap-20240621-0006"
},
{
"type": "WEB",
"url": "https://security.netapp.com/advisory/ntap-20230214-0001"
},
{
"type": "WEB",
"url": "https://pyup.io/vulnerabilities/CVE-2022-40897/52495"
},
{
"type": "WEB",
"url": "https://pyup.io/posts/pyup-discovers-redos-vulnerabilities-in-top-python-packages"
},
{
"type": "WEB",
"url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/YNA2BAH2ACBZ4TVJZKFLCR7L23BG5C3H"
},
{
"type": "WEB",
"url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ADES3NLOE5QJKBLGNZNI2RGVOSQXA37R"
},
{
"type": "WEB",
"url": "https://lists.debian.org/debian-lts-announce/2024/09/msg00018.html"
},
{
"type": "WEB",
"url": "https://github.com/pypa/setuptools/compare/v65.5.0...v65.5.1"
},
{
"type": "WEB",
"url": "https://github.com/pypa/setuptools/blob/fe8a98e696241487ba6ac9f91faa38ade939ec5d/setuptools/package_index.py#L200"
},
{
"type": "PACKAGE",
"url": "https://github.com/pypa/setuptools"
},
{
"type": "WEB",
"url": "https://github.com/pypa/advisory-database/tree/main/vulns/setuptools/PYSEC-2022-43012.yaml"
}
],
"schema_version": "1.7.3",
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
"type": "CVSS_V3"
},
{
"score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:L/SI:L/SA:N",
"type": "CVSS_V4"
}
],
"summary": "pypa/setuptools vulnerable to Regular Expression Denial of Service (ReDoS)",
"upstream": [
"GHSA-r9hx-vwmv-q579",
"BIT-setuptools-2022-40897",
"CVE-2022-40897",
"PYSEC-2022-43012"
]
}
BREW-CHARMCRAFT-CVE-2022-40897 (GHSA-R9HX-VWMV-Q579)
Vulnerability from osv_homebrew – Published: 2026-08-13 16:39 – Updated: 2026-08-13 16:39 – Source websitePython Packaging Authority (PyPA)'s setuptools is a library designed to facilitate packaging Python projects. Setuptools version 65.5.0 and earlier could allow remote attackers to cause a denial of service by fetching malicious HTML from a PyPI package or custom PackageIndex page due to a vulnerable Regular Expression in package_index. This has been patched in version 65.5.1.
| URL | Type | ||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|||||||||||||||||||||||||||||||||||||||||||||||
{
"affected": [
{
"ecosystem_specific": {
"fix": "bump",
"range_state": "fixed",
"resource": "setuptools",
"resource_purl": "pkg:pypi/setuptools@83.0.0",
"upstream_fixed_in": "65.5.1"
},
"package": {
"ecosystem": "Homebrew",
"name": "charmcraft",
"purl": "pkg:brew/charmcraft"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "4.4.0"
}
],
"type": "ECOSYSTEM"
}
]
}
],
"database_specific": {
"confidence": "high",
"source": "matched",
"strategy": "registry",
"upstream_evidence": [
{
"ecosystem": "PyPI",
"key": "pkg:pypi/setuptools@83.0.0",
"name": "setuptools",
"resource": "setuptools",
"strategy": "registry",
"subject_version": "83.0.0"
},
{
"ecosystem": "PyPI",
"key": "pkg:pypi/setuptools@83.0.0",
"name": "setuptools",
"resource": "setuptools",
"strategy": "registry",
"subject_version": "83.0.0"
}
]
},
"details": "Python Packaging Authority (PyPA)\u0027s setuptools is a library designed to facilitate packaging Python projects. Setuptools version 65.5.0 and earlier could allow remote attackers to cause a denial of service by fetching malicious HTML from a PyPI package or custom PackageIndex page due to a vulnerable Regular Expression in `package_index`. This has been patched in version 65.5.1.",
"id": "BREW-charmcraft-CVE-2022-40897",
"modified": "2026-08-13T16:39:06Z",
"published": "2026-08-13T16:39:06Z",
"references": [
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2022-40897"
},
{
"type": "WEB",
"url": "https://github.com/pypa/setuptools/issues/3659"
},
{
"type": "WEB",
"url": "https://github.com/pypa/setuptools/commit/43a9c9bfa6aa626ec2a22540bea28d2ca77964be"
},
{
"type": "WEB",
"url": "https://setuptools.pypa.io/en/latest"
},
{
"type": "WEB",
"url": "https://security.netapp.com/advisory/ntap-20240621-0006"
},
{
"type": "WEB",
"url": "https://security.netapp.com/advisory/ntap-20230214-0001"
},
{
"type": "WEB",
"url": "https://pyup.io/vulnerabilities/CVE-2022-40897/52495"
},
{
"type": "WEB",
"url": "https://pyup.io/posts/pyup-discovers-redos-vulnerabilities-in-top-python-packages"
},
{
"type": "WEB",
"url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/YNA2BAH2ACBZ4TVJZKFLCR7L23BG5C3H"
},
{
"type": "WEB",
"url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ADES3NLOE5QJKBLGNZNI2RGVOSQXA37R"
},
{
"type": "WEB",
"url": "https://lists.debian.org/debian-lts-announce/2024/09/msg00018.html"
},
{
"type": "WEB",
"url": "https://github.com/pypa/setuptools/compare/v65.5.0...v65.5.1"
},
{
"type": "WEB",
"url": "https://github.com/pypa/setuptools/blob/fe8a98e696241487ba6ac9f91faa38ade939ec5d/setuptools/package_index.py#L200"
},
{
"type": "PACKAGE",
"url": "https://github.com/pypa/setuptools"
},
{
"type": "WEB",
"url": "https://github.com/pypa/advisory-database/tree/main/vulns/setuptools/PYSEC-2022-43012.yaml"
}
],
"schema_version": "1.7.3",
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
"type": "CVSS_V3"
},
{
"score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:L/SI:L/SA:N",
"type": "CVSS_V4"
}
],
"summary": "pypa/setuptools vulnerable to Regular Expression Denial of Service (ReDoS)",
"upstream": [
"GHSA-r9hx-vwmv-q579",
"BIT-setuptools-2022-40897",
"CVE-2022-40897",
"PYSEC-2022-43012"
]
}
BREW-CLOUDFORMATION-CLI-… (GHSA-R9HX-VWMV-Q579)
Vulnerability from osv_homebrew – Published: 2026-08-13 16:40 – Updated: 2026-09-09 23:48 – Source websitePython Packaging Authority (PyPA)'s setuptools is a library designed to facilitate packaging Python projects. Setuptools version 65.5.0 and earlier could allow remote attackers to cause a denial of service by fetching malicious HTML from a PyPI package or custom PackageIndex page due to a vulnerable Regular Expression in package_index. This has been patched in version 65.5.1.
| URL | Type | ||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|||||||||||||||||||||||||||||||||||||||||||||||
{
"affected": [
{
"ecosystem_specific": {
"fix": "bump",
"range_state": "fixed",
"resource": "setuptools",
"resource_purl": "pkg:pypi/setuptools@81.0.0",
"upstream_fixed_in": "65.5.1"
},
"package": {
"ecosystem": "Homebrew",
"name": "cloudformation-cli",
"purl": "pkg:brew/cloudformation-cli"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "0.2.39_13"
}
],
"type": "ECOSYSTEM"
}
]
}
],
"database_specific": {
"confidence": "high",
"source": "matched",
"strategy": "registry",
"upstream_evidence": [
{
"ecosystem": "PyPI",
"key": "pkg:pypi/setuptools@81.0.0",
"name": "setuptools",
"resource": "setuptools",
"strategy": "registry",
"subject_version": "81.0.0"
}
]
},
"details": "Python Packaging Authority (PyPA)\u0027s setuptools is a library designed to facilitate packaging Python projects. Setuptools version 65.5.0 and earlier could allow remote attackers to cause a denial of service by fetching malicious HTML from a PyPI package or custom PackageIndex page due to a vulnerable Regular Expression in `package_index`. This has been patched in version 65.5.1.",
"id": "BREW-cloudformation-cli-CVE-2022-40897",
"modified": "2026-09-09T23:48:13Z",
"published": "2026-08-13T16:40:09Z",
"references": [
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2022-40897"
},
{
"type": "WEB",
"url": "https://github.com/pypa/setuptools/issues/3659"
},
{
"type": "WEB",
"url": "https://github.com/pypa/setuptools/commit/43a9c9bfa6aa626ec2a22540bea28d2ca77964be"
},
{
"type": "WEB",
"url": "https://setuptools.pypa.io/en/latest"
},
{
"type": "WEB",
"url": "https://security.netapp.com/advisory/ntap-20240621-0006"
},
{
"type": "WEB",
"url": "https://security.netapp.com/advisory/ntap-20230214-0001"
},
{
"type": "WEB",
"url": "https://pyup.io/vulnerabilities/CVE-2022-40897/52495"
},
{
"type": "WEB",
"url": "https://pyup.io/posts/pyup-discovers-redos-vulnerabilities-in-top-python-packages"
},
{
"type": "WEB",
"url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/YNA2BAH2ACBZ4TVJZKFLCR7L23BG5C3H"
},
{
"type": "WEB",
"url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ADES3NLOE5QJKBLGNZNI2RGVOSQXA37R"
},
{
"type": "WEB",
"url": "https://lists.debian.org/debian-lts-announce/2024/09/msg00018.html"
},
{
"type": "WEB",
"url": "https://github.com/pypa/setuptools/compare/v65.5.0...v65.5.1"
},
{
"type": "WEB",
"url": "https://github.com/pypa/setuptools/blob/fe8a98e696241487ba6ac9f91faa38ade939ec5d/setuptools/package_index.py#L200"
},
{
"type": "PACKAGE",
"url": "https://github.com/pypa/setuptools"
},
{
"type": "WEB",
"url": "https://github.com/pypa/advisory-database/tree/main/vulns/setuptools/PYSEC-2022-43012.yaml"
}
],
"schema_version": "1.7.3",
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
"type": "CVSS_V3"
},
{
"score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:L/SI:L/SA:N",
"type": "CVSS_V4"
}
],
"summary": "pypa/setuptools vulnerable to Regular Expression Denial of Service (ReDoS)",
"upstream": [
"GHSA-r9hx-vwmv-q579",
"BIT-setuptools-2022-40897",
"CVE-2022-40897",
"PYSEC-2022-43012"
]
}
BREW-COCONUT-CVE-2022-40897 (GHSA-R9HX-VWMV-Q579)
Vulnerability from osv_homebrew – Published: 2026-08-13 16:40 – Updated: 2026-09-09 23:48 – Source websitePython Packaging Authority (PyPA)'s setuptools is a library designed to facilitate packaging Python projects. Setuptools version 65.5.0 and earlier could allow remote attackers to cause a denial of service by fetching malicious HTML from a PyPI package or custom PackageIndex page due to a vulnerable Regular Expression in package_index. This has been patched in version 65.5.1.
| URL | Type | ||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|||||||||||||||||||||||||||||||||||||||||||||||
{
"affected": [
{
"ecosystem_specific": {
"fix": "bump",
"range_state": "fixed",
"resource": "setuptools",
"resource_purl": "pkg:pypi/setuptools@83.0.0",
"upstream_fixed_in": "65.5.1"
},
"package": {
"ecosystem": "Homebrew",
"name": "coconut",
"purl": "pkg:brew/coconut"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "3.2.0_3"
}
],
"type": "ECOSYSTEM"
}
]
}
],
"database_specific": {
"confidence": "high",
"source": "matched",
"strategy": "registry",
"upstream_evidence": [
{
"ecosystem": "PyPI",
"key": "pkg:pypi/setuptools@83.0.0",
"name": "setuptools",
"resource": "setuptools",
"strategy": "registry",
"subject_version": "83.0.0"
}
]
},
"details": "Python Packaging Authority (PyPA)\u0027s setuptools is a library designed to facilitate packaging Python projects. Setuptools version 65.5.0 and earlier could allow remote attackers to cause a denial of service by fetching malicious HTML from a PyPI package or custom PackageIndex page due to a vulnerable Regular Expression in `package_index`. This has been patched in version 65.5.1.",
"id": "BREW-coconut-CVE-2022-40897",
"modified": "2026-09-09T23:48:14Z",
"published": "2026-08-13T16:40:10Z",
"references": [
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2022-40897"
},
{
"type": "WEB",
"url": "https://github.com/pypa/setuptools/issues/3659"
},
{
"type": "WEB",
"url": "https://github.com/pypa/setuptools/commit/43a9c9bfa6aa626ec2a22540bea28d2ca77964be"
},
{
"type": "WEB",
"url": "https://setuptools.pypa.io/en/latest"
},
{
"type": "WEB",
"url": "https://security.netapp.com/advisory/ntap-20240621-0006"
},
{
"type": "WEB",
"url": "https://security.netapp.com/advisory/ntap-20230214-0001"
},
{
"type": "WEB",
"url": "https://pyup.io/vulnerabilities/CVE-2022-40897/52495"
},
{
"type": "WEB",
"url": "https://pyup.io/posts/pyup-discovers-redos-vulnerabilities-in-top-python-packages"
},
{
"type": "WEB",
"url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/YNA2BAH2ACBZ4TVJZKFLCR7L23BG5C3H"
},
{
"type": "WEB",
"url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ADES3NLOE5QJKBLGNZNI2RGVOSQXA37R"
},
{
"type": "WEB",
"url": "https://lists.debian.org/debian-lts-announce/2024/09/msg00018.html"
},
{
"type": "WEB",
"url": "https://github.com/pypa/setuptools/compare/v65.5.0...v65.5.1"
},
{
"type": "WEB",
"url": "https://github.com/pypa/setuptools/blob/fe8a98e696241487ba6ac9f91faa38ade939ec5d/setuptools/package_index.py#L200"
},
{
"type": "PACKAGE",
"url": "https://github.com/pypa/setuptools"
},
{
"type": "WEB",
"url": "https://github.com/pypa/advisory-database/tree/main/vulns/setuptools/PYSEC-2022-43012.yaml"
}
],
"schema_version": "1.7.3",
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
"type": "CVSS_V3"
},
{
"score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:L/SI:L/SA:N",
"type": "CVSS_V4"
}
],
"summary": "pypa/setuptools vulnerable to Regular Expression Denial of Service (ReDoS)",
"upstream": [
"GHSA-r9hx-vwmv-q579",
"BIT-setuptools-2022-40897",
"CVE-2022-40897",
"PYSEC-2022-43012"
]
}
BREW-CONDA-LOCK-CVE-2022-40897 (GHSA-R9HX-VWMV-Q579)
Vulnerability from osv_homebrew – Published: 2026-08-13 16:41 – Updated: 2026-09-09 23:48 – Source websitePython Packaging Authority (PyPA)'s setuptools is a library designed to facilitate packaging Python projects. Setuptools version 65.5.0 and earlier could allow remote attackers to cause a denial of service by fetching malicious HTML from a PyPI package or custom PackageIndex page due to a vulnerable Regular Expression in package_index. This has been patched in version 65.5.1.
| URL | Type | ||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|||||||||||||||||||||||||||||||||||||||||||||||
{
"affected": [
{
"ecosystem_specific": {
"fix": "bump",
"range_state": "fixed",
"resource": "setuptools",
"resource_purl": "pkg:pypi/setuptools@84.0.0",
"upstream_fixed_in": "65.5.1"
},
"package": {
"ecosystem": "Homebrew",
"name": "conda-lock",
"purl": "pkg:brew/conda-lock"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "4.0.2_5"
}
],
"type": "ECOSYSTEM"
}
]
}
],
"database_specific": {
"confidence": "high",
"source": "matched",
"strategy": "registry",
"upstream_evidence": [
{
"ecosystem": "PyPI",
"key": "pkg:pypi/setuptools@84.0.0",
"name": "setuptools",
"resource": "setuptools",
"strategy": "registry",
"subject_version": "84.0.0"
}
]
},
"details": "Python Packaging Authority (PyPA)\u0027s setuptools is a library designed to facilitate packaging Python projects. Setuptools version 65.5.0 and earlier could allow remote attackers to cause a denial of service by fetching malicious HTML from a PyPI package or custom PackageIndex page due to a vulnerable Regular Expression in `package_index`. This has been patched in version 65.5.1.",
"id": "BREW-conda-lock-CVE-2022-40897",
"modified": "2026-09-09T23:48:44Z",
"published": "2026-08-13T16:41:05Z",
"references": [
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2022-40897"
},
{
"type": "WEB",
"url": "https://github.com/pypa/setuptools/issues/3659"
},
{
"type": "WEB",
"url": "https://github.com/pypa/setuptools/commit/43a9c9bfa6aa626ec2a22540bea28d2ca77964be"
},
{
"type": "WEB",
"url": "https://setuptools.pypa.io/en/latest"
},
{
"type": "WEB",
"url": "https://security.netapp.com/advisory/ntap-20240621-0006"
},
{
"type": "WEB",
"url": "https://security.netapp.com/advisory/ntap-20230214-0001"
},
{
"type": "WEB",
"url": "https://pyup.io/vulnerabilities/CVE-2022-40897/52495"
},
{
"type": "WEB",
"url": "https://pyup.io/posts/pyup-discovers-redos-vulnerabilities-in-top-python-packages"
},
{
"type": "WEB",
"url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/YNA2BAH2ACBZ4TVJZKFLCR7L23BG5C3H"
},
{
"type": "WEB",
"url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ADES3NLOE5QJKBLGNZNI2RGVOSQXA37R"
},
{
"type": "WEB",
"url": "https://lists.debian.org/debian-lts-announce/2024/09/msg00018.html"
},
{
"type": "WEB",
"url": "https://github.com/pypa/setuptools/compare/v65.5.0...v65.5.1"
},
{
"type": "WEB",
"url": "https://github.com/pypa/setuptools/blob/fe8a98e696241487ba6ac9f91faa38ade939ec5d/setuptools/package_index.py#L200"
},
{
"type": "PACKAGE",
"url": "https://github.com/pypa/setuptools"
},
{
"type": "WEB",
"url": "https://github.com/pypa/advisory-database/tree/main/vulns/setuptools/PYSEC-2022-43012.yaml"
}
],
"schema_version": "1.7.3",
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
"type": "CVSS_V3"
},
{
"score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:L/SI:L/SA:N",
"type": "CVSS_V4"
}
],
"summary": "pypa/setuptools vulnerable to Regular Expression Denial of Service (ReDoS)",
"upstream": [
"GHSA-r9hx-vwmv-q579",
"BIT-setuptools-2022-40897",
"CVE-2022-40897",
"PYSEC-2022-43012"
]
}
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.
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.
Browse all ATT&CK techniques and the vulnerabilities related to each.
Related by attack behaviour
Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.