GitHub Advisoryadvisory · npm
GHSA-r92x-f52r-x54g regular expression denial of service (ReDoS)
HIGH
Official page ↗
- Aliases
- CVE-2020-26289
- Ecosystem
- npm
- Packages
- date-and-time
- Severity
- High
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- Weaknesses
- CWE-400
- Reviewed
- 2020-12-24
Affected packages
• npm date-and-time: < 0.14.2 → fixed in 0.14.2
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.
Related
Alias · CVE (1)
- CVE-2020-26289 date-and-time is an npm package for manipulating date and time. vulnerability
Weakness · CWE (1)
- CWE-400 Uncontrolled Resource Consumption weakness
References
- https://github.com/knowledgecode/date-and-time/security/advisories/GHSA-r92x-f52r-x54g web
- https://nvd.nist.gov/vuln/detail/CVE-2020-26289 advisory
- https://github.com/knowledgecode/date-and-time/commit/9e4b501eacddccc8b1f559fb414f48472ee17c2a web
- https://www.npmjs.com/advisories/1592 web
- https://www.npmjs.com/package/date-and-time web