7.5high
Regular expression Denial of Service in date-and-time
- Severity
- 7.5high CVSS:3.1 by GitHub_M
- Exploit likelihood
- 2.17% (higher than 82% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
- Also known as
- GHSA-r92x-f52r-x54g
Description
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
| Product or package | Versions | Reported by |
|---|---|---|
| knowledgecode date-and-time | < 0.14.2 | CVE List |
| date-and-time (npm) | before 0.14.2 | GitHub Advisory Database |
| date-and-time_project date-and-time | before 0.14.2 | NVD |
All scores
| GitHub_M | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| GitHub | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | 5.0medium CVSS:2.0 | AV:N/AC:L/Au:N/C:N/I:N/A:P |
Classification
What each source says
CVE List
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.
NVD (es)
date-and-time es un paquete npm para manipular la fecha y la hora. En date-and-time versión anterior a 0.14.2, se presenta una expresión regular involucrada en el análisis que puede ser explotada para causar una denegación de servicio. Esto es corregido en la versión 0.14.2
References
| https://github.com/knowledgecode/date-and-time/security/advisories/GHSA-r92x-f52r-x54g | third-party-advisory, web | |
| https://github.com/knowledgecode/date-and-time/commit/9e4b501eacddccc8b1f559fb414f48472ee17c2a | patch, 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 | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2020-26289 changed 2024-08-04 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-r92x-f52r-x54g changed 2026-07-08 | CC-BY-4.0 |
| NVD | CVE-2020-26289 changed 2026-06-17 | Public domain |