Bug 2142924 (CVE-2022-42966)

Summary: CVE-2022-42966 python-cleo: exponential ReDoS in cleo leads to denial of service
Product: [Other] Security Response Reporter: TEJ RATHI <trathi>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED UPSTREAM QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: pviktori
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-12-06 11:33:18 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 2142925, 2142926, 2142927    
Bug Blocks:    

Description TEJ RATHI 2022-11-15 14:04:58 UTC
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

https://research.jfrog.com/vulnerabilities/cleo-redos-xray-257186/

Comment 1 TEJ RATHI 2022-11-15 14:05:19 UTC
Created python-cleo tracking bugs for this issue:

Affects: fedora-35 [bug 2142925]

Comment 2 TEJ RATHI 2022-11-15 14:07:11 UTC
Created python-cleo tracking bugs for this issue:

Affects: fedora-36 [bug 2142926]
Affects: fedora-37 [bug 2142927]

Comment 3 Petr Viktorin (pviktori) 2022-11-23 13:23:23 UTC
To me, a DoS opportunity in a CLI tool doesn't sound like a big problem. Why is this Medium?

Comment 4 Product Security DevOps Team 2022-12-06 11:33:17 UTC
This CVE Bugzilla entry is for community support informational purposes only as it does not affect a package in a commercially supported Red Hat product. Refer to the dependent bugs for status of those individual community products.