{"id":"EUVD-2023-0685","revision":null,"records":[{"revision":"84ba20476bfc4164bfc80cc2de5d521a","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2023-25166","aliases":[],"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.","state":0,"publishedAt":"2023-02-08T19:28:29.314+00:00","modifiedAt":"2025-03-10T21:14:39.268+00:00","affected":[{"ecosystem":"Vendor product","name":"formula","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"vendor\": \"hapijs\",\n                    \"product\": \"formula\",\n                    \"versions\": [\n                        {\n                            \"version\": \"< 3.0.1\",\n                            \"status\": \"affected\"\n                        }\n                    ]\n                }"}],"metrics":[{"system":"CVSS 3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","score":5.5,"severity":"MEDIUM"}],"references":["https://github.com/hapijs/formula/security/advisories/GHSA-c2jc-4fpr-4vhg","https://github.com/hapijs/formula/commit/9fbc20a02d75ae809c37a610a57802cd1b41b3fe"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2023-25166","license":"CVE Program Terms of Use","key":"cve-program:CVE-2023-25166","identifiers":["CVE-2023-25166"]},"retained":false,"historicalAffected":[]},{"revision":"b79a96bbe8af45f6ab5d540063342991","observedAt":"2026-11-05T23:45:40.511+00:00","statement":{"source":"euvd","id":"EUVD-2023-0685","aliases":["CVE-2023-25166","GHSA-c2jc-4fpr-4vhg"],"title":"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 wo…","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":0,"publishedAt":null,"modifiedAt":null,"affected":[],"metrics":[{"system":"EUVD CVSS 3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","score":5.5,"severity":null}],"references":["https://github.com/hapijs/formula/security/advisories/GHSA-c2jc-4fpr-4vhg","https://github.com/hapijs/formula/commit/9fbc20a02d75ae809c37a610a57802cd1b41b3fe"],"sourceUrl":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2023-0685","license":"ENISA EUVD · source terms and attribution apply","enrichment":{"sourceStatus":null,"weaknesses":[],"productCriteria":[],"sourceDates":{"datePublished":"Feb 8, 2023, 7:28:29 PM","dateUpdated":"Mar 10, 2025, 9:14:39 PM"},"relatedAdvisories":[],"note":"EUVD source date text has no stated timezone and is retained without inventing a UTC instant. Related bulletin membership is not an alias, common cause or applicability claim. A missing vector with a zero score is treated as unrated. Complete vendor/product and underlying source evidence remains in the original JSON."},"key":"euvd:EUVD-2023-0685","identifiers":["EUVD-2023-0685","CVE-2023-25166","GHSA-c2jc-4fpr-4vhg"]},"retained":false,"historicalAffected":[]},{"revision":"49ea270cf8e648aca015db697d105b6d","observedAt":"2026-10-28T22:55:50.71+00:00","statement":{"source":"nvd","id":"CVE-2023-25166","aliases":[],"title":"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 wo…","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":0,"publishedAt":"2023-02-08T20:15:25.017+00:00","modifiedAt":"2026-10-28T19:10:00.193+00:00","affected":[],"metrics":[{"system":"CVSS 3.1 · security-advisories@github.com · Secondary","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","score":5.5,"severity":"MEDIUM"},{"system":"CVSS 3.1 · nvd@nist.gov · Primary","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":6.5,"severity":"MEDIUM"}],"references":["https://github.com/hapijs/formula/commit/9fbc20a02d75ae809c37a610a57802cd1b41b3fe","https://github.com/hapijs/formula/security/advisories/GHSA-c2jc-4fpr-4vhg"],"sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2023-25166","license":"NIST NVD usage terms; underlying source attribution retained","enrichment":{"sourceStatus":"Modified","weaknesses":["CWE-1333"],"productCriteria":["cpe:2.3:a:hapi:formula:*:*:*:*:*:node.js:*:*"],"sourceDates":{"published":"2023-02-08T20:15:25.017","lastModified":"2026-10-28T19:10:00.193"},"relatedAdvisories":[],"note":"NVD analysis and CPE criteria are source context, not proof that a package or your environment is affected. Complete affected data, logical configurations and SSVC are retained in the original JSON."},"key":"nvd:CVE-2023-25166","identifiers":["CVE-2023-25166"]},"retained":false,"historicalAffected":[]},{"revision":"f7da19935c05412d944974553176596d","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"GHSA-c2jc-4fpr-4vhg","aliases":["CVE-2023-25166"],"title":"@sideway/formula contains Regular Expression Denial of Service (ReDoS) Vulnerability","description":"### Impact\n\nUser-provided strings to formula's parser might lead to polynomial execution time.\n\n### Patches\n\nUsers should upgrade to 3.0.1+.\n\n### Workarounds\n\nNone.","state":0,"publishedAt":"2023-02-08T22:38:10+00:00","modifiedAt":"2023-11-08T04:11:50.947189+00:00","affected":[{"ecosystem":"npm","name":"@sideway/formula","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"3.0.1"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V3","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","score":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"MODERATE"}],"references":["https://github.com/hapijs/formula/security/advisories/GHSA-c2jc-4fpr-4vhg","https://nvd.nist.gov/vuln/detail/CVE-2023-25166","https://github.com/hapijs/formula/commit/9fbc20a02d75ae809c37a610a57802cd1b41b3fe","https://github.com/hapijs/formula"],"sourceUrl":"https://github.com/advisories/GHSA-c2jc-4fpr-4vhg","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-c2jc-4fpr-4vhg","identifiers":["GHSA-c2jc-4fpr-4vhg","CVE-2023-25166"]},"retained":false,"historicalAffected":[]}],"coverage":[{"source":"cisa-kev:global","scope":"Complete CISA KEV catalog; all vendors. Missing entries do not establish absence of exploitation.","generation":"2026-11-07T10:29:02.4913618+00:00","complete":true,"records":1769,"lastAttemptAt":"2026-11-07T10:29:02.4913618+00:00","lastSuccessAt":"2026-11-07T10:29:02.6468853+00:00","error":null,"lastVerifiedAt":"2026-11-07T10:29:02.6468861+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"cve-program","scope":"Official CVE Program baseline and cumulative hourly delta; all vendors, published and rejected records","generation":"cve-bb5c9d5a08063ef076042e33dd72a7d0ffa4c4487efdcf3106e29ba55ec2ad57-119922d4652e19b255c332c622ccf0862cc635682e2e6107e0a24821a354707e","complete":true,"records":420779,"lastAttemptAt":"2026-11-07T10:26:54.2471843+00:00","lastSuccessAt":"2026-11-07T09:27:01.2301134+00:00","error":null,"lastVerifiedAt":"2026-11-07T10:26:54.2471843+00:00","snapshotPublishedAt":"2026-11-07T09:18:48+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"euvd","scope":"Rolling EUVD lookups of CVE aliases in current public OSV archives; 500 identifiers per refresh, rechecked after 48 hours. Not a global EUVD catalog. Successful not-found lookups count as checked; they do not imply withdrawal or safety. No reader inventory is sent.","generation":"enrichment-37424cd879ca4a05bdc9f10401730dc6","complete":false,"records":13632,"lastAttemptAt":"2026-11-07T10:41:04.1691786+00:00","lastSuccessAt":"2026-11-07T10:41:04.165+00:00","error":"4 identifier lookups failed; latest failures include HTTP 403. Other identifiers were checked independently.","lastVerifiedAt":"2026-11-07T10:41:04.165+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13530,"expectedIdentifiers":13685,"failedIdentifiers":4},{"source":"first-epss:nuget","scope":"FIRST EPSS for explicit CVE aliases in the collected public NuGet archive. Not a global EPSS backfill.","generation":"2026-11-07T10:29:02.4913618+00:00","complete":true,"records":1096,"lastAttemptAt":"2026-11-07T10:29:02.4913618+00:00","lastSuccessAt":"2026-11-07T10:29:02.6477615+00:00","error":null,"lastVerifiedAt":"2026-11-07T10:29:02.6477618+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"nvd","scope":"Rolling NVD lookups of CVE aliases in current public OSV archives; 500 identifiers per refresh, rechecked after 48 hours. Not a global NVD catalog. Successful not-found lookups count as checked; they do not imply withdrawal or safety. No reader inventory is sent.","generation":"enrichment-1262a9fa83024e28a1560dfc0c9cdf3c","complete":true,"records":13645,"lastAttemptAt":"2026-11-07T10:29:03.4827106+00:00","lastSuccessAt":"2026-11-07T06:27:08.533+00:00","error":null,"lastVerifiedAt":"2026-11-07T06:27:08.533+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13685,"expectedIdentifiers":13685,"failedIdentifiers":0},{"source":"osv:Go","scope":"Complete OSV Go ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"go-0eb4d6dde62dffacd040ad992d4fd5a65cd7d0dc5f5f4cfa8b41967fc6f9ca5f","complete":true,"records":9914,"lastAttemptAt":"2026-11-07T10:29:02.0800599+00:00","lastSuccessAt":"2026-11-06T20:10:36.6450506+00:00","error":null,"lastVerifiedAt":"2026-11-07T10:29:02.0800599+00:00","snapshotPublishedAt":"2026-11-06T20:02:57+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:NuGet","scope":"Complete OSV NuGet ecosystem archive, including GitHub Advisory Database records; NuGet version matching only","generation":"nuget-fde804134ecdda0ddd5ff5c26ee1fff5a6fa659311f7ef2e51c6ad54964db0e2","complete":true,"records":1971,"lastAttemptAt":"2026-11-07T10:26:54.3037111+00:00","lastSuccessAt":"2026-11-06T19:03:17.0399903+00:00","error":null,"lastVerifiedAt":"2026-11-07T10:26:54.3037111+00:00","snapshotPublishedAt":"2026-11-06T18:17:57+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:crates.io","scope":"Complete OSV crates.io ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"crates.io-335633e78a15c9cde10a6025895b5617717087fb945489ae7e15d377bacf34a9","complete":true,"records":3055,"lastAttemptAt":"2026-11-07T10:29:02.4591941+00:00","lastSuccessAt":"2026-11-06T16:03:00.7615789+00:00","error":null,"lastVerifiedAt":"2026-11-07T10:29:02.4591941+00:00","snapshotPublishedAt":"2026-11-06T16:02:48+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:npm","scope":"Complete OSV npm ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"npm-40ad6183a951565ace1520a9b4d631e1d0bfb1d4bf7c5574c375032559f3ff53","complete":true,"records":231292,"lastAttemptAt":"2026-11-07T10:29:01.9187831+00:00","lastSuccessAt":"2026-11-07T10:29:00.4821259+00:00","error":null,"lastVerifiedAt":"2026-11-07T10:29:01.9187831+00:00","snapshotPublishedAt":"2026-11-07T09:32:47+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null}]}