CVE-2022-40897
Description
Moderate: python-setuptools security update
Predictions
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
Vendor advisory: alma — https://errata.almalinux.org/9/ALSA-2023-0952.html
Vendor advisory: alma — https://errata.almalinux.org/8/ALSA-2024-2985.html
Vendor advisory: alma — https://bugzilla.redhat.com/2196183
Vendor advisory: alma — https://bugzilla.redhat.com/2171817
Vendor advisory: alma — https://access.redhat.com/errata/RHSA-2024:2985
Vendor advisory: alma — https://errata.almalinux.org/8/ALSA-2024-2987.html
Vendor advisory: alma — https://bugzilla.redhat.com/2257854
Vendor advisory: alma — https://bugzilla.redhat.com/2249755
Vendor advisory: alma — https://bugzilla.redhat.com/2242493
Vendor advisory: alma — https://bugzilla.redhat.com/2240059
Vendor advisory: alma — https://access.redhat.com/errata/RHSA-2024:2987
Vendor advisory: alma — https://errata.almalinux.org/8/ALSA-2023-0835.html
Vendor advisory: alma — https://bugzilla.redhat.com/2158559
Vendor advisory: alma — https://access.redhat.com/errata/RHSA-2023:0835
Vendor advisory: debian — https://security-tracker.debian.org/tracker/CVE-2022-40897
Vendor advisory: rocky — https://errata.rockylinux.org/RLSA-2023:0952
Vendor advisory: suse — https://www.suse.com/security/cve/CVE-2022-40897.html
Vendor advisory: rocky — https://errata.rockylinux.org/RLSA-2023:0835
Vendor advisory: rocky — https://errata.rockylinux.org/RLSA-2024:2985
Vendor advisory: rocky — https://errata.rockylinux.org/RLSA-2024:2987
Vendor advisory: redhat — https://access.redhat.com/errata/RHSA-2023:0952
OS impact
| OS | Version | Status | Fixed in |
|---|---|---|---|
| rhel | 9 | fixed | |
| rocky | 8 | fixed | |
| sles | affected | | |
| rocky | 9 | fixed | |
| debian | bookworm | fixed | 65.6.3-1 |
| debian | bullseye | fixed | 52.0.0-4+deb11u1 |
| debian | forky | fixed | 65.6.3-1 |
| debian | sid | fixed | 65.6.3-1 |
| debian | trixie | fixed | 65.6.3-1 |
Package impact
| Ecosystem | Package | Vulnerable | Fixed |
|---|---|---|---|
| PyPI | setuptools | <65.5.1 | 65.5.1 |
| PyPI | setuptools | <43a9c9bfa6aa626ec2a22540bea28d2ca77964be||<65.5.1 | 43a9c9bfa6aa626ec2a22540bea28d2ca77964be |
References
- https://access.redhat.com/errata/RHSA-2023:0952
- https://errata.rockylinux.org/RLSA-2024:2987
- https://nvd.nist.gov/vuln/detail/CVE-2022-40897
- https://github.com/pypa/setuptools/issues/3659
- https://github.com/pypa/setuptools/commit/43a9c9bfa6aa626ec2a22540bea28d2ca77964be
- https://setuptools.pypa.io/en/latest
- https://security.netapp.com/advisory/ntap-20240621-0006
- https://security.netapp.com/advisory/ntap-20230214-0001
- https://pyup.io/vulnerabilities/CVE-2022-40897/52495
- https://pyup.io/posts/pyup-discovers-redos-vulnerabilities-in-top-python-packages
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/YNA2BAH2ACBZ4TVJZKFLCR7L23BG5C3H
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ADES3NLOE5QJKBLGNZNI2RGVOSQXA37R
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/YNA2BAH2ACBZ4TVJZKFLCR7L23BG5C3H
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ADES3NLOE5QJKBLGNZNI2RGVOSQXA37R
- https://lists.debian.org/debian-lts-announce/2024/09/msg00018.html
- https://github.com/pypa/setuptools/compare/v65.5.0...v65.5.1
- https://github.com/pypa/setuptools/blob/fe8a98e696241487ba6ac9f91faa38ade939ec5d/setuptools/package_index.py#L200
- https://github.com/pypa/setuptools
- https://github.com/pypa/advisory-database/tree/main/vulns/setuptools/PYSEC-2022-43012.yaml
- https://errata.rockylinux.org/RLSA-2024:2985
- https://pyup.io/posts/pyup-discovers-redos-vulnerabilities-in-top-python-packages/
- https://pyup.io/vulnerabilities/CVE-2022-40897/52495/
- https://errata.rockylinux.org/RLSA-2023:0835
- https://www.suse.com/security/cve/CVE-2022-40897.html
- https://errata.rockylinux.org/RLSA-2023:0952
Verify integrity in audit chain (admin only). AS-IS.