Red Hat 8825 Published by

A python-setuptools security update has been released for Red Hat Enterprise Linux 9.

RHSA-2023:0952-01: Moderate: python-setuptools security update

Red Hat Security Advisory

Synopsis: Moderate: python-setuptools security update
Advisory ID: RHSA-2023:0952-01
Product: Red Hat Enterprise Linux
Advisory URL:
Issue date: 2023-02-28
CVE Names: CVE-2022-40897

1. Summary:

An update for python-setuptools is now available for Red Hat Enterprise
Linux 9.

Red Hat Product Security has rated this update as having a security impact
of Moderate. A Common Vulnerability Scoring System (CVSS) base score, which
gives a detailed severity rating, is available for each vulnerability from
the CVE link(s) in the References section.

2. Relevant releases/architectures:

Red Hat Enterprise Linux BaseOS (v. 9) - noarch

3. Description:

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 (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.

4. Solution:

For details on how to apply this update, which includes the changes
described in this advisory, refer to:

5. Bugs fixed (

2158559 - CVE-2022-40897 pypa-setuptools: Regular Expression Denial of Service (ReDoS) in

6. Package List:

Red Hat Enterprise Linux BaseOS (v. 9):



These packages are GPG signed by Red Hat for security. Our key and
details on how to verify the signature are available from

7. References:

8. Contact:

The Red Hat security contact is . More contact
details at

Copyright 2023 Red Hat, Inc.