Vulnerability
CVE-2022-40897
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.
47 advisories report this vulnerability, across 13 ecosystems.
Advisories
-
ALAS2-2023-1979
Amazon Linux 2 2017.12 - ALAS2-2023-1979: medium priority package update for python2-setuptools
-
ALAS2-2023-2196
Amazon Linux 2 2017.12 - ALAS2-2023-2196: medium priority package update for python-setuptools
-
ALAS2023-2023-245
Amazon Linux 2023 - ALAS2023-2023-245: Medium priority package update for python-setuptools
-
ALSA-2023:0835
Moderate: python-setuptools security update
-
ALSA-2023:0952
Moderate: python-setuptools security update
-
ALSA-2024:2985
Moderate: python39:3.9 and python39-devel:3.9 security update
-
ALSA-2024:2987
Moderate: python27:2.7 security update
-
AZL-60207
CVE-2022-40897 affecting package python3 for versions less than 3.9.19-11
- CGA-27cw-f7ww-w9rf
- CGA-28mc-m4pc-w6fx
- CGA-5rp6-cp37-v856
- CGA-qgq8-6qqj-99gr
-
DEBIAN-CVE-2022-40897
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…
-
DLA-3876-1
setuptools - security update
-
ELSA-2023-0835
ELSA-2023-0835: python-setuptools security update (MODERATE)
-
ELSA-2023-0952
ELSA-2023-0952: python-setuptools security update (MODERATE)
-
ELSA-2023-12348
ELSA-2023-12348: python3-setuptools security update (IMPORTANT)
-
ELSA-2024-2985
ELSA-2024-2985: python39:3.9 and python39-devel:3.9 security update (MODERATE)
-
ELSA-2024-2987
ELSA-2024-2987: python27:2.7 security update (MODERATE)
-
GHSA-r9hx-vwmv-q579
pypa/setuptools vulnerable to Regular Expression Denial of Service (ReDoS)
-
OESA-2023-1004
python-setuptools security update
-
PYSEC-2022-43012
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…
-
RHSA-2023:0835
Red Hat Security Advisory: python-setuptools security update
-
RHSA-2023:0952
Red Hat Security Advisory: python-setuptools security update
-
RHSA-2023:6793
Red Hat Security Advisory: rh-python38-python security update
-
RHSA-2023:7395
Red Hat Security Advisory: python-setuptools security update
-
RHSA-2024:2985
Red Hat Security Advisory: python39:3.9 and python39-devel:3.9 security update
-
RHSA-2024:2987
Red Hat Security Advisory: python27:2.7 security update
-
RHSA-2024:4421
Red Hat Security Advisory: python39:3.9 and python39-devel:3.9 security update
-
RHSA-2024:6915
Red Hat Security Advisory: python39:3.9 security update
-
RHVEX-CVE-2022-40897
pypa-setuptools: Regular Expression Denial of Service (ReDoS) in package_index.py
-
RLSA-2023:0835
Moderate: python-setuptools security update
-
RLSA-2023:0952
Moderate: python-setuptools security update
-
RLSA-2024:2985
Moderate: python39:3.9 and python39-devel:3.9 security update
-
RLSA-2024:2987
Moderate: python27:2.7 security update
-
SUSE-SU-2023:0091-1
Security update for python310-setuptools
-
SUSE-SU-2023:0093-1
Security update for python-setuptools
-
SUSE-SU-2023:0094-1
Security update for python36-setuptools
-
SUSE-SU-2023:0159-1
Security update for python-setuptools
-
SUSE-SU-2023:0202-1
Security update for python39-setuptools
-
SUSE-SU-2023:0223-1
Security update for python-setuptools
-
SUSE-SU-2023:0402-1
Security update for python-setuptools
-
SUSE-SU-2023:0403-1
Security update for python-setuptools
-
SUSE-SU-2023:4517-1
Security update for python3-setuptools
-
SUSE-SU-2024:2435-1
Security update for python3-setuptools
-
UBUNTU-CVE-2022-40897
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…
-
USN-5817-1
python-setuptools, setuptools vulnerability
References
- https://github.com/pypa/setuptools/blob/fe8a98e696241487ba6ac9f91faa38ade939ec5d/setuptools/package_index.py#L200
- https://github.com/pypa/setuptools/commit/43a9c9bfa6aa626ec2a22540bea28d2ca77964be
- https://github.com/pypa/setuptools/compare/v65.5.0...v65.5.1
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ADES3NLOE5QJKBLGNZNI2RGVOSQXA37R/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/YNA2BAH2ACBZ4TVJZKFLCR7L23BG5C3H/
- https://pyup.io/posts/pyup-discovers-redos-vulnerabilities-in-top-python-packages/
- https://pyup.io/vulnerabilities/CVE-2022-40897/52495/
- https://security.netapp.com/advisory/ntap-20230214-0001/
- https://security.netapp.com/advisory/ntap-20240621-0006/
- https://lists.debian.org/debian-lts-announce/2024/09/msg00018.html