CVE-2023-25166 json
Regular Expression Denial of Service (ReDoS) Vulnerability
published 2023-02-08 3 y ago modified 2026-10-28 11 d ago also GHSA-c2jc-4fpr-4vhg , EUVD-2023-0685
- cvss
- 5.5
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.6%
- EPSS 0.6% chance of exploitation in 30 days, percentile 49%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
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-2023-25166 updated cvss 6.5
@sideway/formula: Regular Expression Denial of Service (ReDoS) Vulnerability
-
Red Hat Migration Toolkit for Virtualization migration-toolkit-virtualization/mtv-ui-rhel8affected: no fix available
-
Red Hat OpenShift Developer Tools and Services odoaffected: no fix planned “Will not fix”
-
Red Hat Data Grid 8 @sideway-formula @sideway-formulanot 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
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 19 mo ago
Exploit prediction
0.61% chance of exploitation in the next 30 days, higher than 49% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 5.5 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H |
| NVD | 3.1 | 6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
| GitHub | 3.1 | 5.5 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| npm | @sideway/formula | <3.0.1 |
3.0.1 |
Affected products
- hapijs formula
Classification
- Weakness
-
- CWE-1333 Inefficient Regular Expression Complexity
References
-
github.com
/hapijs/formula/commit/9fbc20a02d75ae809c37a610a57802cd1b41b3fe
web, patch
-
github.com
/hapijs/formula/security/advisories/GHSA-c2jc-4fpr-4vhg
web, vendor-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2023-25166
advisory
-
github.com
/hapijs/formula
package
Sources
- CVE List CVE-2023-25166
- GitHub Advisory GHSA-c2jc-4fpr-4vhg
- NVD CVE-2023-25166
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.