Bug 1941675 (CVE-2021-23346)

Summary: CVE-2021-23346 html-parse-stringify: Regular Expression DoS
Product: [Other] Security Response Reporter: Jan Werner <jawerner>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED ERRATA QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: unspecifiedCC: gghezzo, gparvin, jramanat, jweiser, stcannon, thee
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: html-parse-stringify version 2.0.1 Doc Type: If docs needed, set a value
Doc Text:
The html-parse-stringify library, as well as its fork html-parse-stringify2, are vulnerable to a Regular Expression Denial of Service attack (ReDos). A certain inputs could cause one of the regular expressions that is used for parsing to backtrack, freezing the process.
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-08-06 01:07:18 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: 1942155, 1942156    
Bug Blocks: 1941605    

Description Jan Werner 2021-03-22 15:30:35 UTC
A flaw that could lead to Denial of Service was found in node packages: html-parse-stringify  versions prior to  2.0.1; all versions of package html-parse-stringify2 was found. Sending certain input could cause one of the regular expressions that is used for parsing to backtrack, freezing the process.

Comment 4 Jan Werner 2021-03-31 14:24:57 UTC
Statement:

The access to the vulnerable library is protected by RHACM Authentication reducing impact of this flaw to LOW.

Comment 5 errata-xmlrpc 2021-08-06 00:50:41 UTC
This issue has been addressed in the following products:

  Red Hat Advanced Cluster Management for Kubernetes 2.3 for RHEL 7
  Red Hat Advanced Cluster Management for Kubernetes 2.3 for RHEL 8

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

Comment 6 Product Security DevOps Team 2021-08-06 01:07:18 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-2021-23346