Vulnerability · Published Apr 12, 2021 · Assigned by snyk
CVE-2021-23371Regular Expression Denial of Service (ReDoS)
High 7.5
In plain English
A high-severity security flaw in chrono-node. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 2.0% (higher than 81% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS 3.1)7.5High
Exploit odds (30 days)2.0%top 19.3% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known
Official description
This affects the package chrono-node before 2.2.4. It hangs on a date-like string with lots of embedded spaces.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| npm | chrono-node | 2.2.4 | GHSA-hpmr-g4pq-jhgp |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| n/a | chrono-node | unspecified – before 2.2.4 |
References
- https://snyk.io/vuln/SNYK-JS-CHRONONODE-1083228 x_refsource_MISC
- https://github.com/wanasit/chrono/issues/382 x_refsource_MISC
- https://github.com/wanasit/chrono/commit/98815b57622443b5c498a427210ebd603d705f4c x_refsource_MISC