Bug 2168451 (CVE-2023-25166)

Summary: CVE-2023-25166 @sideway/formula: Regular Expression Denial of Service (ReDoS) Vulnerability
Product: [Other] Security Response Reporter: Avinash Hanwate <ahanwate>
Component: vulnerabilityAssignee: Nobody <nobody>
Status: NEW --- QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: chazlett, ellin, pjindal
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: sideway/formula 3.0.1 Doc Type: If docs needed, set a value
Doc Text:
A flaw was found in the sideway/formula npm package. The formula is a math and string formula parser. In the affected versions of this package, crafted user-provided strings to the formula's parser might lead to polynomial execution time and a denial of service.
Story Points: ---
Clone Of: Environment:
Last Closed: 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: 2168505, 2177967    
Bug Blocks: 2168456    

Description Avinash Hanwate 2023-02-09 04:05:19 UTC
formula is a math and string formula parser. In versions prior to 3.0.1 crafted user-provided strings to formula's parser might lead to polynomial execution time and a denial of service. Users should upgrade to 3.0.1+. There are no known workarounds for this vulnerability.

https://github.com/hapijs/formula/security/advisories/GHSA-c2jc-4fpr-4vhg
https://github.com/hapijs/formula/commit/9fbc20a02d75ae809c37a610a57802cd1b41b3fe

Comment 2 Avinash Hanwate 2023-03-14 05:08:45 UTC
Created golang-entgo-ent tracking bugs for this issue:

Affects: fedora-36 [bug 2177967]