{"schemaVersion":3,"id":"GHSA-MRX9-2RRP-RHPX","aliases":[],"status":"published","duplicateOf":null,"title":null,"description":"Duplicate Advisory: joi: Quadratic regular-expression backtracking in `Joi.string().isoDate()`\n\n## Duplicate Advisory\n\nThis advisory has been withdrawn because it is a duplicate of GHSA-6h2x-m376-mqjq. This link is maintained to preserve external references.\n\n## Original Description\njoi (npm package `joi`, hapi.js) versions >=17.2.0 <17.13.7 and >=18.0.0 <18.2.6 are vulnerable to regular expression denial of service in the `Joi.string().isoDate()` validation rule. One of the regular expressions the rule applies to the input is unanchored, so a valid ISO date followed by a long run of fractional-second digits causes the regex engine to restart its search from every position in the string, yielding time proportional to the square of the input length (about 1.4 s for 64 KB of digits and about 22 s for 256 KB). A remote attacker who can supply a string to an isoDate validation can stall the application with a single request. Fixed in 17.13.7 and 18.2.6; as a workaround, cap the length of the string before it reaches joi.","dates":{"published":"2026-09-17T00:31:27.000Z","modified":"2026-10-05T23:45:07.572Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":8.7,"severity":"high","version":"4.0","versionLabel":"v4.0","source":"OSV · Npm","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N","computed":true,"selection":"version-preference"},"metrics":[{"version":"4.0","versionLabel":"v4.0","source":"OSV · Npm","score":8.7,"severity":"high","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N","exploitability":null,"impact":null,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Npm","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","exploitability":10,"impact":6,"computed":true}]},"epss":{"probability":null,"percentile":null,"severity":"unknown","asOf":null,"change":{"pp":null,"baselineDate":null,"baselineScore":null},"history":[],"last30":[]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[],"affected":[{"vendor":"Npm","product":"joi","name":"joi","label":"joi","ecosystem":"Npm","cpePart":null,"purl":"pkg:npm/joi","purlType":"npm","versions":[{"text":"≥ 18.0.0","noFixRecorded":true,"fixedIn":null}],"versionsText":"≥ 18.0.0 (No fix recorded)","eol":null,"hubHref":null}],"affectedCount":1,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/hapijs/joi/security/advisories/GHSA-6h2x-m376-mqjq","label":"github.com/hapijs/joi/security/advisories/GHSA-6h2x-m376-mqjq","hostname":"github.com","tags":["WEB"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-92599","label":"nvd.nist.gov/vuln/detail/CVE-2026-92599","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://www.vulncheck.com/advisories/joi-before-17.13.7-and-18.2.6-redos-via-isodate","label":"www.vulncheck.com/advisories/joi-before-17.13.7-and-18.2.6-redos-via-isodate","hostname":"www.vulncheck.com","tags":["WEB"]}],"lineage":{"upstream":[],"downstream":["CVE-2026-92599"],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2026-09-17T00:31:27.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-10-05T23:45:07.572Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":35,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-21T13:38:03.912Z","stale":false,"partial":false}}