Advisory

RLSA-2023:0952

Also known as: CVE-2022-40897

Summary

Moderate: python-setuptools security update

Details

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.

Severity

Medium Basis: CVSS v3 score 5.9, vector CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H

Dates

Published
2023-04-06 15:53 UTC
Modified
2026-02-05 14:45 UTC

Affected packages and fixes

python-setuptools

RPM packages (rpm) · Rocky Linux 9

Affected

  • introduced 0, fixed 0:53.0.0-10.el9_1.1 (ecosystem)

Fixed versions

0:53.0.0-10.el9_1.1

Fix

  • Fixed version 0:53.0.0-10.el9_1.1
    sudo dnf upgrade python-setuptools-0:53.0.0-10.el9_1.1

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Rocky Linux errata (Apollo)

Rocky Linux errata, Rocky Enterprise Software Foundation.

Sources & licences