CVE-2023-25166 json
Regular Expression Denial of Service (ReDoS) Vulnerability
published 3y ago modified 18d ago also EUVD-2023-0685 , GHSA-c2jc-4fpr-4vhg
- 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
Is CVE-2023-25166 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerVendor 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
- last yr.
Exploit prediction
0.61% chance of exploitation in the next 30 days, higher than 49% of all scored CVEs (FIRST EPSS, 2026-11-15).
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 |
| GitHub | 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 |
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, 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
- Maintainer advisory GHSA-c2jc-4fpr-4vhg
Fencer Intel 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.
The maintainers of hapijs/formula published their own advisory on GitHub. Reviewed sources take precedence over it.