CVE-2023-25166

Source
https://cve.org/CVERecord?id=CVE-2023-25166
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2023-25166.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2023-25166
Aliases
Published
2023-02-08T19:28:29.314Z
Modified
2026-04-16T04:11:06.694797Z
Severity
  • 5.5 (Medium) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H CVSS Calculator
Summary
Regular Expression Denial of Service (ReDoS) 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.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/25xxx/CVE-2023-25166.json",
    "cwe_ids": [
        "CWE-1333"
    ],
    "cna_assigner": "GitHub_M"
}
References

Affected packages

Git / github.com/hapijs/formula

Affected ranges

Type
GIT
Repo
https://github.com/hapijs/formula
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Fixed
Database specific
{
    "cpe": "cpe:2.3:a:hapi:formula:*:*:*:*:*:node.js:*:*",
    "source": [
        "CPE_FIELD",
        "REFERENCES"
    ],
    "extracted_events": [
        {
            "introduced": "0"
        },
        {
            "fixed": "3.0.1"
        }
    ]
}

Affected versions

v1.*
v1.0.0
v1.1.0
v1.2.0
v2.*
v2.0.0
v3.*
v3.0.0

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2023-25166.json"