CVE-2020-26289
HIGH 7.5CVSS 3.1regular expression denial of service (ReDoS)
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.
- Published
- 28 Dec 2020
- Last modified
- 8 Jul 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Modified
- Weakness
- CWE-400
- Also known as
- GHSA-r92x-f52r-x54g
- Sources
- NVDJSONOSV GHSA-r92x-f52r-x54gJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 5.0 | AV:N/AC:L/Au:N/C:N/I:N/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | date-and-time_project | date-and-timecpe:2.3:a:date-and-time_project:date-and-time:*:*:*:*:*:node.js:*:* |
< 0.14.2 | 0.14.2 |
| OSV | npm | date-and-time | < 0.14.2 | 0.14.2 |
References
- https://github.com/knowledgecode/date-and-time/commit/9e4b501eacddccc8b1f559fb414f48472ee17c2a · Patch, Third Party Advisory, WEB
- https://github.com/knowledgecode/date-and-time/security/advisories/GHSA-r92x-f52r-x54g · Third Party Advisory, WEB
- https://www.npmjs.com/package/date-and-time · Product, Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2020-26289 · ADVISORY
- https://www.npmjs.com/advisories/1592 · WEB
History
- 25 Nov 2026 20:32 UTC · NVD: first stored (published 28 Dec 2020)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 24 Dec 2020)