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

Red Hat Security Advisory: python-setuptools security update

Published Sep 23, 2024 · Updated Jun 29, 2026

Fixed packages 4

ReleasePackageFixed in
Red Hat · RHEL 8 enterprise_linux:8::baseos platform-python-setuptools 0:39.2.0-6.el8_7.1
Red Hat · RHEL 8 enterprise_linux:8::baseos python-setuptools 0:39.2.0-6.el8_7.1
Red Hat · RHEL 8 enterprise_linux:8::baseos python3-setuptools 0:39.2.0-6.el8_7.1
Red Hat · RHEL 8 enterprise_linux:8::baseos python3-setuptools-wheel 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

  • article
    https://access.redhat.com/security/updates/classification/#moderate
  • report
    https://bugzilla.redhat.com/show_bug.cgi?id=2158559
  • advisory
    https://security.access.redhat.com/data/csaf/v2/advisories/2023/rhsa-2023_0835.json
  • report
    https://access.redhat.com/security/cve/CVE-2022-40897
  • advisory
    https://www.cve.org/CVERecord?id=CVE-2022-40897
  • advisory
    https://nvd.nist.gov/vuln/detail/CVE-2022-40897
  • article
    https://pyup.io/vulnerabilities/CVE-2022-40897/52495/