{"id":"CVE-2023-25166","sourceIdentifier":"security-advisories@github.com","published":"2023-02-08T20:15:25.017","lastModified":"2026-06-17T05:40:49.400","vulnStatus":"Modified","cveTags":[],"descriptions":[{"lang":"en","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."}],"affected":[{"source":"security-advisories@github.com","affectedData":[{"vendor":"hapijs","product":"formula","versions":[{"version":"< 3.0.1","status":"affected"}]}]}],"metrics":{"cvssMetricV31":[{"source":"security-advisories@github.com","type":"Secondary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","baseScore":5.5,"baseSeverity":"MEDIUM","attackVector":"LOCAL","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"REQUIRED","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"NONE","availabilityImpact":"HIGH"},"exploitabilityScore":1.8,"impactScore":3.6},{"source":"nvd@nist.gov","type":"Primary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","baseScore":6.5,"baseSeverity":"MEDIUM","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"NONE","availabilityImpact":"HIGH"},"exploitabilityScore":2.8,"impactScore":3.6}],"ssvcV203":[{"source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","ssvcData":{"timestamp":"2025-03-10T20:58:12.667100Z","id":"CVE-2023-25166","options":[{"exploitation":"none"},{"automatable":"no"},{"technicalImpact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}]},"weaknesses":[{"source":"security-advisories@github.com","type":"Secondary","description":[{"lang":"en","value":"CWE-1333"}]}],"configurations":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:hapi:formula:*:*:*:*:*:node.js:*:*","versionEndExcluding":"3.0.1","matchCriteriaId":"83D42148-F3E3-401C-BFBE-857374E9BF03"}]}]}],"references":[{"url":"https://github.com/hapijs/formula/commit/9fbc20a02d75ae809c37a610a57802cd1b41b3fe","source":"security-advisories@github.com","tags":["Patch"]},{"url":"https://github.com/hapijs/formula/security/advisories/GHSA-c2jc-4fpr-4vhg","source":"security-advisories@github.com","tags":["Vendor Advisory"]},{"url":"https://github.com/hapijs/formula/commit/9fbc20a02d75ae809c37a610a57802cd1b41b3fe","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Patch"]},{"url":"https://github.com/hapijs/formula/security/advisories/GHSA-c2jc-4fpr-4vhg","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Vendor Advisory"]}]}