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-2018-1000136 Vulnerability in maven package org.webjars.npm:electron
CVE-2023-32732 Vulnerability in maven package io.grpc:grpc-protobuf
CVE-2006-6916 Vulnerability in maven package dwr:dwr
CVE-2019-14862 Vulnerability in maven package org.webjars:knockout
CVE-2022-24433 Vulnerability in maven package org.webjars.npm:simple-git