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-2023-50730 Vulnerability in maven package edu.gemini:gsp-graphql-core_sjs1_2.13
CVE-2021-25913 Vulnerability in npm package set-or-get
CVE-2020-26282 Vulnerability in maven package com.browserup:browserup-proxy-rest
CVE-2023-26492 Vulnerability in npm package directus
CVE-2022-21213 Vulnerability in maven package org.webjars.npm:mout