HIGH7.5
GHSA-r92x-f52r-x54g
regular expression denial of service (ReDoS)
Quick fix
GHSA-r92x-f52r-x54g — date-and-time: upgrade to the fixed version with the command below.
npm install date-and-time@0.14.2Details
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.
Are you affected?
Enter the version of the package you're using.
Affected packages
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]