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://www.npmjs.com/package/date-and-time
https://github.com/knowledgecode/date-and-time/security/advisories/GHSA-r92x-f52r-x54g
https://github.com/knowledgecode/date-and-time/commit/9e4b501eacddccc8b1f559fb414f48472ee17c2a
Related Vulnerabilities
CVE-2018-14042 Vulnerability in maven package org.webjars.bower:bootstrap-sass
CVE-2018-11771 Vulnerability in maven package org.apache.commons:commons-compress
CVE-2017-2599 Vulnerability in maven package org.jenkins-ci.main:jenkins-core
CVE-2022-35949 Vulnerability in maven package org.webjars.npm:undici
CVE-2019-12418 Vulnerability in maven package org.apache.tomcat:tomcat-catalina