Advisory

GHSA-2p9h-ccw7-33gf

Also known as: CVE-2022-42966, PYSEC-2022-43178

Summary

cleo is vulnerable to Regular Expression Denial of Service (ReDoS)

Details

An exponential ReDoS (Regular Expression Denial of Service) can be triggered in the cleo PyPI package, when an attacker is able to supply arbitrary input to the Table.set_rows method.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2022-11-10 12:01 UTC
Modified
2026-07-02 20:45 UTC

Affected packages and fixes

cleo

PyPI · All systems

Affected

  • introduced 1.0.0a1, fixed 2.0.0 (ecosystem)

Fixed versions

2.0.0

Fix

  • Fixed version 2.0.0
    pip install --upgrade cleo==2.0.0

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