Skip to content
OpenAdvisories
Medium RLSA-2023:0835 1 CVE

Moderate: python-setuptools security update

Published Feb 22, 2023 · Updated Feb 4, 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 1

ReleasePackageFixed in
Rocky Linux · 8 python-setuptools 0:39.2.0-6.el8_7.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://bugzilla.redhat.com/show_bug.cgi?id=2158559