Regular Expression Denial of Service (ReDoS) in date-and-time npm package (CVE-2021-23456)

Regular Expression Denial of Service (ReDoS) in date-and-time npm package (CVE-2021-23456)

CVE-2020-26289 · HIGH Severity

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

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.

Learn more about our Web Application Penetration Testing UK.