Skip to content
OpenAdvisories
Medium · 5.5 CVE-2023-25166 EUVD-2023-0685GHSA-c2jc-4fpr-4vhg

Regular Expression Denial of Service (ReDoS) Vulnerability

Published Feb 8, 2023 · Updated Mar 10, 2025 · Assigned by GitHub_M

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

VendorProductAffectedFixed
hapijs formula < 3.0.1 —

Affected packages

EcosystemPackageAffectedFixedRecord
npm @sideway/formula < 3.0.1 3.0.1 GHSA-c2jc-4fpr-4vhg

References