{"id":"CVE-2023-25166","state":"PUBLISHED","title":"Regular Expression Denial of Service (ReDoS) Vulnerability","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.","publishedAt":"2023-02-08T19:28:29.314Z","updatedAt":"2025-03-10T21:14:39.268Z","severity":{"score":5.5,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","source":"GitHub_M"},"assigner":"GitHub_M","products":["hapijs formula"],"affected":[{"vendor":"hapijs","product":"formula","versions":[{"version":"< 3.0.1","status":"affected"}]}],"references":["https://github.com/hapijs/formula/security/advisories/GHSA-c2jc-4fpr-4vhg","https://github.com/hapijs/formula/commit/9fbc20a02d75ae809c37a610a57802cd1b41b3fe"],"weaknesses":["CWE-1333"],"ingestedAt":"2026-10-29T20:05:43.909Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2023/25xxx/CVE-2023-25166.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2023-25166","state":"PUBLISHED","datePublished":"2023-02-08T19:28:29.314Z","dateUpdated":"2025-03-10T21:14:39.268Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2023-02-03T16:59:18.246Z"},"containers":{"cna":{"title":"Regular Expression Denial of Service (ReDoS) Vulnerability","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":[{"vendor":"hapijs","product":"formula","versions":[{"version":"< 3.0.1","status":"affected"}]}],"references":[{"url":"https://github.com/hapijs/formula/security/advisories/GHSA-c2jc-4fpr-4vhg","name":"https://github.com/hapijs/formula/security/advisories/GHSA-c2jc-4fpr-4vhg","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/hapijs/formula/commit/9fbc20a02d75ae809c37a610a57802cd1b41b3fe","name":"https://github.com/hapijs/formula/commit/9fbc20a02d75ae809c37a610a57802cd1b41b3fe","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"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"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-1333","lang":"en","description":"CWE-1333: Inefficient Regular Expression Complexity","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2023-02-08T19:28:29.314Z"},"source":{"advisory":"GHSA-c2jc-4fpr-4vhg","discovery":"UNKNOWN"}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://github.com/hapijs/formula/security/advisories/GHSA-c2jc-4fpr-4vhg","name":"https://github.com/hapijs/formula/security/advisories/GHSA-c2jc-4fpr-4vhg","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"https://github.com/hapijs/formula/commit/9fbc20a02d75ae809c37a610a57802cd1b41b3fe","name":"https://github.com/hapijs/formula/commit/9fbc20a02d75ae809c37a610a57802cd1b41b3fe","tags":["x_refsource_MISC","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-02T11:18:35.265Z"}},{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2025-03-10T20:58:12.667100Z","id":"CVE-2023-25166","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2025-03-10T21:14:39.268Z"}}]}}}