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.
Remediation
References
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
Related Vulnerabilities
CVE-2022-25851 Vulnerability in npm package jpeg-js
CVE-2020-15130 Vulnerability in npm package slpjs
CVE-2020-11023 Vulnerability in maven package org.fujion.webjars:jquery
CVE-2020-13947 Vulnerability in maven package org.apache.activemq:activemq-web-console
CVE-2022-1291 Vulnerability in maven package org.webjars.bowergithub.hhurz:tableexport.jquery.plugin