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-2021-23444 Vulnerability in npm package jointjs
CVE-2022-28355 Vulnerability in maven package org.scala-js:scalajs-library_2.11
CVE-2019-17495 Vulnerability in npm package swagger-ui
CVE-2021-40823 Vulnerability in npm package matrix-js-sdk
CVE-2021-3856 Vulnerability in maven package org.keycloak:keycloak-services