cleo is vulnerable to Regular Expression Denial of Service (ReDoS)
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.
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Python (PyPI) | cleo | >= 1.0.0a1, < 2.0.0 | 2.0.0 |
References
- https://research.jfrog.com/vulnerabilities/cleo-redos-xray-257186/
- https://github.com/advisories/GHSA-2p9h-ccw7-33gf
- https://nvd.nist.gov/vuln/detail/CVE-2022-42966
- https://github.com/python-poetry/cleo/pull/285
- https://github.com/python-poetry/cleo/commit/b5b9a04d2caf58bf7cf94eb7ae4a1ebbe60ea455
- https://github.com/pypa/advisory-database/tree/main/vulns/cleo/PYSEC-2022-43178.yaml
- https://github.com/python-poetry/cleo
- https://github.com/python-poetry/cleo/releases/tag/2.0.0
- https://research.jfrog.com/vulnerabilities/cleo-redos-xray-257186
- CVSS vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H- Weakness (CWE)
CWE-1333- Platform
- Python (PyPI)
- Package
cleo- Disclosed
- 09.11.2022
- Updated
- 11.10.2026 13:17
Sources and licenses
OSV / GitHub Advisory Database - PYSEC-2022-43178 - PyPA Advisory Database; CC BY 4.0
OSV / GitHub Advisory Database - GHSA-2p9h-ccw7-33gf - CC BY 4.0
Vulnerability history: cleo
All published vulnerabilities of this package (Python (PyPI)), newest first. Shows whether this is a one-off slip or a package that needs watching.
This is the only known vulnerability of this package.
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.