All CVEs / Date-and-time Project
CVE-2020-26289Date-and-time Project Date-and-time
High 7.5 No auth needed
Follow: this CVE · Date-and-time Project · Date-and-time Project Date-and-time We alert you by email or Slack (account required).
- 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.
What to do
- Apply the vendor's security update for Date-and-time.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How 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)
| Vendor | Product | Versions |
|---|---|---|
| date-and-time_project | date-and-time | < 0.14.2 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Patch Third Party Advisory
- github.com Third Party Advisory
- www.npmjs.com Product Third Party Advisory