{"id":"CVE-2021-23371","aliases":["CVE-2021-23371","GHSA-hpmr-g4pq-jhgp","SNYK-JS-CHRONONODE-1083228"],"related":[],"kind":"vulnerability","state":"published","title":"Regular Expression Denial of Service (ReDoS)","summary":"This affects the package chrono-node before 2.2.4. It hangs on a date-like string with lots of embedded spaces.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"This affects the package chrono-node before 2.2.4. It hangs on a date-like string with lots of embedded spaces.","source":"cvelist"},{"lang":"es","text":"Esto afecta al paquete chrono-node versiones anteriores a 2.2.4.&#xa0;Cuelga de una cadena similar a una fecha con muchos espacios insertados","source":"nvd"}],"published":"2021-04-12T13:10:15.866Z","modified":"2026-07-08T06:49:30.506Z","severity":{"scorer":"snyk","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},"severities":[{"scorer":"snyk","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:L/Au:N/C:N/I:N/A:P","score":5,"rating":"MEDIUM"}],"cwes":["CWE-400"],"affected":[{"ranges":[{"type":"custom","introduced":"unspecified","fixed":"2.2.4","status":"affected"}],"product":"chrono-node","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"2.2.4"}],"ecosystem":"npm","package":"chrono-node","purl":"pkg:npm/chrono-node","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"2.2.4"}],"vendor":"chrono-node_project","product":"chrono-node","cpe":"cpe:2.3:a:chrono-node_project:chrono-node:*:*:*:*:*:node.js:*:*","source":"nvd"}],"references":[{"url":"https://snyk.io/vuln/SNYK-JS-CHRONONODE-1083228","tags":["exploit","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/wanasit/chrono/issues/382","tags":["exploit","patch","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/wanasit/chrono/commit/98815b57622443b5c498a427210ebd603d705f4c","tags":["patch","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-23371","tags":["advisory"],"sources":["ghsa"]}],"credits":["jonpincus"],"assigner":"snyk","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2021-23371","url":"https://www.cve.org/CVERecord?id=CVE-2021-23371","licence":"CVE Terms of Use","modified":"2024-09-16T16:48:45.091Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-hpmr-g4pq-jhgp","url":"https://github.com/advisories/GHSA-hpmr-g4pq-jhgp","licence":"CC-BY-4.0","modified":"2026-07-08T06:49:30.506Z"},{"source":"nvd","name":"NVD","id":"CVE-2021-23371","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-23371","licence":"Public domain","modified":"2026-06-17T03:38:38.430Z"}],"updatedAt":"2026-11-25T22:58:00.705Z","epss":{"score":0.01987,"percentile":0.81201,"date":"2026-12-01T12:00:22.000Z"}}