Bug 1911627 (CVE-2020-26289) - CVE-2020-26289 nodejs-date-and-time: ReDoS in parsing via date.compile
Summary: CVE-2020-26289 nodejs-date-and-time: ReDoS in parsing via date.compile
Keywords:
Status: CLOSED ERRATA
Alias: CVE-2020-26289
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 1915736
Blocks: 1911628
TreeView+ depends on / blocked
 
Reported: 2020-12-30 13:10 UTC by Guilherme de Almeida Suckevicz
Modified: 2021-06-17 17:27 UTC (History)
1 user (show)

Fixed In Version: date-and-time 0.14.2
Doc Type: If docs needed, set a value
Doc Text:
A flaw was found in nodejs-date-and-time. In date-and-time there a regular expression involved in parsing which can be exploited to cause a denial of service.
Clone Of:
Environment:
Last Closed: 2021-05-19 14:33:37 UTC
Embargoed:


Attachments (Terms of Use)

Description Guilherme de Almeida Suckevicz 2020-12-30 13:10:57 UTC
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.

Reference:
https://github.com/knowledgecode/date-and-time/security/advisories/GHSA-r92x-f52r-x54g

Upstream patch:
https://github.com/knowledgecode/date-and-time/commit/9e4b501eacddccc8b1f559fb414f48472ee17c2a

Comment 3 errata-xmlrpc 2021-05-19 09:14:47 UTC
This issue has been addressed in the following products:

  Red Hat OpenShift Container Storage 4.7.0 on RHEL-8

Via RHSA-2021:2041 https://access.redhat.com/errata/RHSA-2021:2041

Comment 4 Product Security DevOps Team 2021-05-19 14:33:37 UTC
This bug is now closed. Further updates for individual products will be reflected on the CVE page(s):

https://access.redhat.com/security/cve/cve-2020-26289


Note You need to log in before you can comment on or make changes to this bug.