Vulnerability · Published Dec 28, 2020 · Assigned by GitHub_M

CVE-2020-26289Regular expression Denial of Service in date-and-time

High 7.5

In plain English

A high-severity uncontrolled resource consumption in date-and-time from knowledgecode. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 2.2% (higher than 82% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)7.5High
Exploit odds (30 days)2.2%top 17.6% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known

Official 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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
npmdate-and-time0.14.2GHSA-r92x-f52r-x54g

Affected products (as reported)

VendorProductVersions
knowledgecode date-and-time < 0.14.2

Weakness: CWE-400 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

References