CVE-2021-23371 json
Regular Expression Denial of Service (ReDoS)
published 2021-04-12 5 y ago modified 2026-07-08 4 mo ago also GHSA-hpmr-g4pq-jhgp , EUVD-2021-1106
- cvss
- 7.5
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 2.0%
- EPSS 2.0% chance of exploitation in 30 days, percentile 80%
- public exploits
- 0
- none known
Summary
This affects the package chrono-node before 2.2.4. It hangs on a date-like string with lots of embedded spaces.
Patch / fix
- npm chrono-node 2.2.4
- n/a chrono-node 2.2.4
Exploit prediction
1.99% chance of exploitation in the next 30 days, higher than 80% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- github.com https://github.com/wanasit/chrono/issues/382 referenced PoC, tagged "exploit" by a source, unverified
- snyk.io https://snyk.io/vuln/SNYK-JS-CHRONONODE-1083228 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | 2.0 | 5.0 | AV:N/AC:L/Au:N/C:N/I:N/A:P |
| GitHub | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| npm | chrono-node | <2.2.4 |
2.2.4 |
Affected products
- n/a chrono-node
Classification
- Weakness
-
- CWE-400 Uncontrolled Resource Consumption
References
-
github.com
/wanasit/chrono/commit/98815b57622443b5c498a427210ebd603d705f4c
web, patch, third-party-advisory
-
github.com
/wanasit/chrono/issues/382
web, exploit, patch, third-party-advisory
-
snyk.io
/vuln/SNYK-JS-CHRONONODE-1083228
web, exploit, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2021-23371
advisory
Sources
- CVE List CVE-2021-23371
- GitHub Advisory GHSA-hpmr-g4pq-jhgp
- NVD CVE-2021-23371
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.