Bug 1911627 (CVE-2020-26289)

Summary: CVE-2020-26289 nodejs-date-and-time: ReDoS in parsing via date.compile
Product: [Other] Security Response Reporter: Guilherme de Almeida Suckevicz <gsuckevi>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED ERRATA QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: hvyas
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
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.
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-05-19 14:33:37 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1915736    
Bug Blocks: 1911628    

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