CVE-2023-25166 Regular Expression Denial of Service (ReDoS) Vulnerability
MediumCVSS 6.5
EPSS 0.61%
- Published
- Updated
- Exploit status
- No public exploit known
Description
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.
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| sideway @sideway/formula(npm) | < 3.0.1 | 3.0.1 |
| hapijs formula | = < 3.0.1 | No fix listed |
| hapi formula | < 3.0.1 | 3.0.1 |
References
- https://github.com/hapijs/formula/security/advisories/GHSA-c2jc-4fpr-4vhg vendor-advisory
- nvd.nist.gov third-party-advisory
- https://github.com/hapijs/formula/commit/9fbc20a02d75ae809c37a610a57802cd1b41b3fe patch
- github.com