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.
CVE-2023-25166 - Medium Severity Vulnerability
Vulnerable Library - formula-3.0.0.tgz
Math and string formula parser.
Library home page: https://registry.npmjs.org/@sideway/formula/-/formula-3.0.0.tgz
Path to dependency file: /web/package.json
Path to vulnerable library: /web/node_modules/@sideway/formula/package.json
Dependency Hierarchy: - gatsby-3.13.0.tgz (Root Library) - joi-17.4.2.tgz - :x: **formula-3.0.0.tgz** (Vulnerable Library)
Found in HEAD commit: 79771ad30d8e68c487b064fabb669d2057bec868
Found in base branch: master
Vulnerability Details
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.
Publish Date: 2023-02-08
URL: CVE-2023-25166
CVSS 3 Score Details (6.5)
Base Score Metrics: - Exploitability Metrics: - Attack Vector: Network - Attack Complexity: Low - Privileges Required: Low - User Interaction: None - Scope: Unchanged - Impact Metrics: - Confidentiality Impact: None - Integrity Impact: None - Availability Impact: High
For more information on CVSS3 Scores, click here.Suggested Fix
Type: Upgrade version
Origin: https://www.cve.org/CVERecord?id=CVE-2023-25166
Release Date: 2023-02-08
Fix Resolution (@sideway/formula): 3.0.1
Direct dependency fix Resolution (gatsby): 3.13.1
Step up your Open Source Security Game with Mend here