Security mailing lists by PureSourceCode

CVE-2020-26289

HIGH 7.5CVSS 3.1

regular expression denial of service (ReDoS)

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.

Published
28 Dec 2020
Last modified
8 Jul 2026
Assigned by
security-advisories@github.com
NVD status
Modified
Weakness
CWE-400
Also known as
GHSA-r92x-f52r-x54g
Sources
NVDJSONOSV GHSA-r92x-f52r-x54gJSON

Scores

SourceScored byVersionScoreVector / decision
NVD security-advisories@github.com (Secondary) CVSS 3.1 HIGH 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
NVD nvd@nist.gov (Primary) CVSS 3.1 HIGH 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
OSV GitHub CVSS 3.1 HIGH 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
NVD nvd@nist.gov (Primary) CVSS 2.0 MEDIUM 5.0 AV:N/AC:L/Au:N/C:N/I:N/A:P

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD date-and-time_project date-and-time
cpe:2.3:a:date-and-time_project:date-and-time:*:*:*:*:*:node.js:*:*
< 0.14.2 0.14.2
OSV npm date-and-time < 0.14.2 0.14.2

References

History

  • 25 Nov 2026 20:32 UTC · NVD: first stored (published 28 Dec 2020)
  • 25 Nov 2026 20:11 UTC · OSV: first stored (published 24 Dec 2020)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.