Live threats

All CVEs / Date-and-time Project

CVE-2020-26289Date-and-time Project Date-and-time

High 7.5 No auth needed

Priority
60
CVSS 3.1
7.5
EPSS
2.2%
probability of exploitation in 30 days · percentile 83
Auth required
No
Published
Dec 28, 2020
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-400
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Date-and-time.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
npm date-and-time < 0.14.2 0.14.2 npm install date-and-time@0.14.2

Per OSV / GitHub Advisories (GHSA-r92x-f52r-x54g). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
date-and-time_projectdate-and-time< 0.14.2

Official sources

References

Links published by the sources. Open them with care.