Advisory

GHSA-qwmp-2cf2-g9g6

Also known as: CVE-2022-40898, PYSEC-2022-43017

Summary

pypa/wheel vulnerable to Regular Expression denial of service (ReDoS)

Details

Python Packaging Authority (PyPA) Wheel is a reference implementation of the Python wheel packaging standard. Wheel 0.37.1 and earlier are vulnerable to a Regular Expression denial of service via attacker controlled input to the wheel cli. The vulnerable regex is used to verify the validity of Wheel file names. This has been patched in version 0.38.1.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2022-12-23 00:30 UTC
Modified
2024-11-19 19:22 UTC

Affected packages and fixes

wheel

PyPI · All systems

Affected

  • introduced 0, fixed 0.38.1 (ecosystem)

Fixed versions

0.38.1

Fix

  • Fixed version 0.38.1
    pip install --upgrade wheel==0.38.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: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences