{"api_version":"1","generated_at":"2026-07-23T12:07:47+00:00","cve":"CVE-2023-25166","urls":{"html":"https://cve.report/CVE-2023-25166","api":"https://cve.report/api/cve/CVE-2023-25166.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2023-25166","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2023-25166"},"summary":{"title":"CVE-2023-25166","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.","state":"PUBLIC","assigner":"security-advisories@github.com","published_at":"2023-02-08 20:15:00","updated_at":"2023-02-16 19:53:00"},"problem_types":["CWE-1333"],"metrics":[],"references":[{"url":"https://github.com/hapijs/formula/commit/9fbc20a02d75ae809c37a610a57802cd1b41b3fe","name":"https://github.com/hapijs/formula/commit/9fbc20a02d75ae809c37a610a57802cd1b41b3fe","refsource":"MISC","tags":[],"title":"chore: better number regex · hapijs/formula@9fbc20a · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://github.com/hapijs/formula/security/advisories/GHSA-c2jc-4fpr-4vhg","name":"https://github.com/hapijs/formula/security/advisories/GHSA-c2jc-4fpr-4vhg","refsource":"MISC","tags":[],"title":"Regular Expression Denial of Service (ReDoS) Vulnerability · Advisory · hapijs/formula · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://www.cve.org/CVERecord?id=CVE-2023-25166","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-25166","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2023","cve_id":"25166","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"hapi","cpe5":"formula","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"node.js","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"data_version":"4.0","data_type":"CVE","data_format":"MITRE","CVE_data_meta":{"ID":"CVE-2023-25166","ASSIGNER":"security-advisories@github.com","STATE":"PUBLIC"},"description":{"description_data":[{"lang":"eng","value":"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."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"CWE-1333: Inefficient Regular Expression Complexity","cweId":"CWE-1333"}]}]},"affects":{"vendor":{"vendor_data":[{"vendor_name":"hapijs","product":{"product_data":[{"product_name":"formula","version":{"version_data":[{"version_value":"< 3.0.1","version_affected":"="}]}}]}}]}},"references":{"reference_data":[{"url":"https://github.com/hapijs/formula/security/advisories/GHSA-c2jc-4fpr-4vhg","refsource":"MISC","name":"https://github.com/hapijs/formula/security/advisories/GHSA-c2jc-4fpr-4vhg"},{"url":"https://github.com/hapijs/formula/commit/9fbc20a02d75ae809c37a610a57802cd1b41b3fe","refsource":"MISC","name":"https://github.com/hapijs/formula/commit/9fbc20a02d75ae809c37a610a57802cd1b41b3fe"}]},"source":{"advisory":"GHSA-c2jc-4fpr-4vhg","discovery":"UNKNOWN"},"impact":{"cvss":[{"attackComplexity":"LOW","attackVector":"LOCAL","availabilityImpact":"HIGH","baseScore":5.5,"baseSeverity":"MEDIUM","confidentialityImpact":"NONE","integrityImpact":"NONE","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","version":"3.1"}]}},"nvd":{"publishedDate":"2023-02-08 20:15:00","lastModifiedDate":"2023-02-16 19:53:00","problem_types":["CWE-1333"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"NONE","availabilityImpact":"HIGH","baseScore":6.5,"baseSeverity":"MEDIUM"},"exploitabilityScore":2.8,"impactScore":3.6}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:hapi:formula:*:*:*:*:*:node.js:*:*","versionEndExcluding":"3.0.1","cpe_name":[]}]}]}},"legacy_mitre":{"record":null,"notes":[]}}}