Advisory

PYSEC-2022-43012

Also known as: BIT-setuptools-2022-40897, CVE-2022-40897, GHSA-r9hx-vwmv-q579

Summary

The record has no summary.

Details

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.

Severity

Not rated by the source.

Dates

Published
2022-12-23 00:15 UTC
Modified
2026-06-10 17:02 UTC

Affected packages and fixes

setuptools

PyPI · All systems

Affected

  • introduced 0, fixed 65.5.1 (ecosystem)

Fixed versions

65.5.1

Fix

  • Fixed version 65.5.1
    pip install --upgrade setuptools==65.5.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: PyPA Advisory Database · CC BY 4.0

Sources & licences