{"id":"CVE-2020-26289","published":"2020-12-28T18:50:15Z","modified":"2024-08-04T15:56:04Z","title":"Regular expression Denial of Service in date-and-time","vendor":"knowledgecode","product":"date-and-time","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.5,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.02172,"percentile":0.82731,"provenance":"source"},"cwes":[{"id":"CWE-400","name":"Uncontrolled Resource Consumption"}],"references":[{"url":"https://github.com/knowledgecode/date-and-time/security/advisories/GHSA-r92x-f52r-x54g","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/knowledgecode/date-and-time/commit/9e4b501eacddccc8b1f559fb414f48472ee17c2a","tags":["x_refsource_MISC"]},{"url":"https://www.npmjs.com/package/date-and-time","tags":["x_refsource_MISC"]}],"priority":{"score":21.8,"factors":[{"name":"EPSS percentile","points":16.55},{"name":"CVSS severity","points":5.25}]},"vendorSlug":"knowledgecode","affectedVersions":[{"vendor":"knowledgecode","product":"date-and-time","versions":["< 0.14.2"]}],"affected":[{"ecosystem":"npm","package":"date-and-time","vulnerableRanges":["<0.14.2"],"patched":["0.14.2"],"from":["GHSA-r92x-f52r-x54g"],"provenance":"source"}],"summary":{"text":"The date-and-time npm package, a JavaScript library for manipulating dates and times published by knowledgecode, contains a regular expression used during parsing that can be abused to cause a denial of service. An attacker with network access can trigger it without authentication or user interaction, by supplying input that the vulnerable parsing step processes.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T06:59:04Z"},"euvd":{"id":"EUVD-2020-1504","exploited":false,"provenance":"source"}}