Skip to content
OpenAdvisories
Medium ALSA-2023:0952 1 CVE

Moderate: python-setuptools security update

Published Feb 28, 2023 · Updated Oct 29, 2026

Summary

The python-setuptools package provides a collection of enhancements to Python distribution utilities allowing convenient building and distribution of Python packages.

Security Fix(es):

* pypa-setuptools: Regular Expression Denial of Service (ReDoS) in package_index.py (CVE-2022-40897)

For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.

Fixed packages 2

ReleasePackageFixed in
AlmaLinux · 9 python3-setuptools 53.0.0-10.el9_1.1
AlmaLinux · 9 python3-setuptools-wheel 53.0.0-10.el9_1.1

Vulnerabilities 1

  • Medium 5.9

    pypa/setuptools vulnerable to Regular Expression Denial of Service (ReDoS)

    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.

References

  • report
    https://access.redhat.com/security/cve/CVE-2022-40897
  • report
    https://bugzilla.redhat.com/2158559
  • advisory
    https://errata.almalinux.org/9/ALSA-2023-0952.html