GHSA-r92x-f52r-x54g

Suggest an improvement
Source
https://github.com/advisories/GHSA-r92x-f52r-x54g
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2020/12/GHSA-r92x-f52r-x54g/GHSA-r92x-f52r-x54g.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-r92x-f52r-x54g
Aliases
Published
2020-12-24T20:49:02Z
Modified
2026-07-08T06:00:24Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
regular expression denial of service (ReDoS)
Details

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.

Database specific
{
    "cwe_ids":  [
        "CWE-400"
    ],
    "github_reviewed":  true,
    "github_reviewed_at":  "2020-12-24T20:31:22Z",
    "nvd_published_at":  "2020-12-28T19:15:00Z",
    "severity":  "HIGH"
}
References

Affected packages

npm / date-and-time

Package

Name
date-and-time
View open source insights on deps.dev
Purl
pkg:npm/date-and-time

Affected ranges

Type
SEMVER
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
0.14.2

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2020/12/GHSA-r92x-f52r-x54g/GHSA-r92x-f52r-x54g.json"