high7.5
CVE-2020-26289
regular expression denial of service (ReDoS)
Impact
date-and-time is an npm package for manipulating date and time. In date-and-time before version 0.14.2, there a regular expression involved in parsing which can be exploited to to cause a denial of service. This is fixed in version 0.14.2.
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| npm | date-and-time | < 0.14.2 | 0.14.2 |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Date-And-Time Project | Date-And-Time | before 0.14.2 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://github.com/knowledgecode/date-and-time/commit/9e4b501eacddccc8b1f559fb414f48472ee17c2a
- https://github.com/knowledgecode/date-and-time/security/advisories/GHSA-r92x-f52r-x54g
- https://www.npmjs.com/package/date-and-time
- https://github.com/advisories/GHSA-r92x-f52r-x54g
- https://nvd.nist.gov/vuln/detail/CVE-2020-26289
- https://www.npmjs.com/advisories/1592