Advisory

RLSA-2023:0835

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-02-22 01:08 UTC
Modified
2026-02-04 18:30 UTC

Affected packages and fixes

python-setuptools

RPM packages (rpm) · Rocky Linux 8

Affected

  • introduced 0, fixed 0:39.2.0-6.el8_7.1 (ecosystem)

Fixed versions

0:39.2.0-6.el8_7.1

Fix

  • Fixed version 0:39.2.0-6.el8_7.1
    sudo dnf upgrade python-setuptools-0:39.2.0-6.el8_7.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