Bug 1941675 (CVE-2021-23346) - CVE-2021-23346 html-parse-stringify: Regular Expression DoS
Summary: CVE-2021-23346 html-parse-stringify: Regular Expression DoS
Keywords:
Status: CLOSED ERRATA
Alias: CVE-2021-23346
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 1942155 1942156
Blocks: 1941605
TreeView+ depends on / blocked
 
Reported: 2021-03-22 15:30 UTC by Jan Werner
Modified: 2021-09-29 18:12 UTC (History)
6 users (show)

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.
Clone Of:
Environment:
Last Closed: 2021-08-06 01:07:18 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2021:3016 0 None None None 2021-08-06 00:50:42 UTC

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


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