CVE-2022-42966 json
Exponential ReDoS in cleo leads to denial of service
published 2022-11-09 4 y ago modified 2026-07-02 4 mo ago also GHSA-2p9h-ccw7-33gf , PYSEC-2022-43178 , EUVD-2022-7199
- cvss
- 5.9
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.2%
- EPSS 1.2% chance of exploitation in 30 days, percentile 67%
- public exploits
- 0
- none known
Summary
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
Patch / fix
- pypi cleo 2.0.0
- cleo cleo 1.0.0
- github.com/python-poetry/cleo@b5b9a04 commit
- github.com/python-poetry/cleo#285 pull request
- github.com/python-poetry/cleo/releases/tag/2.0.0 release
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2022-42966 updated cvss 5.9
python-cleo: exponential ReDoS in cleo leads to denial of service
-
Red Hat All currently supported Red Hat productsnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- no
- Technical impact
- partial
- Assessed
- 18 mo ago
Exploit prediction
1.17% chance of exploitation in the next 30 days, higher than 67% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- research.jfrog.com https://research.jfrog.com/vulnerabilities/cleo-redos-xray-257186/ referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 5.9 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| OSV | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| GitHub | 3.1 | 5.9 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| pypi | cleo | >=1.0.0a1, <2.0.0 <2.0.0 |
2.0.0 |
Affected products
- cleo cleo
Classification
- Weakness
-
- CWE-1333 Inefficient Regular Expression Complexity
References
-
github.com
/python-poetry/cleo/pull/285
web
-
github.com
/python-poetry/cleo/commit/b5b9a04d2caf58bf7cf94eb7ae4a1ebbe60ea455
web
-
research.jfrog.com
/vulnerabilities/cleo-redos-xray-257186/
exploit, third-party-advisory, evidence, web
-
nvd.nist.gov
/vuln/detail/CVE-2022-42966
advisory
-
github.com
/advisories/GHSA-2p9h-ccw7-33gf
advisory
-
github.com
/pypa/advisory-database/tree/main/vulns/cleo/PYSEC-2022-43178.yaml
web
-
github.com
/python-poetry/cleo
package
-
github.com
/python-poetry/cleo/releases/tag/2.0.0
web
-
research.jfrog.com
/vulnerabilities/cleo-redos-xray-257186
web
Sources
- CVE List CVE-2022-42966
- GitHub Advisory GHSA-2p9h-ccw7-33gf
- NVD CVE-2022-42966
- OSV PYSEC-2022-43178
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.