CVE-2021-23346
Apache html-parse-stringify Regular Expression Denial of Service (ReDoS)
Description
This affects the package html-parse-stringify before 2.0.1; all versions of package html-parse-stringify2. Sending certain input could cause one of the regular expressions that is used for parsing to backtrack, freezing the process.
INFO
Published Date :
March 4, 2021, 5:15 p.m.
Last Modified :
Nov. 21, 2024, 5:51 a.m.
Source :
[email protected]
Remotely Exploitable :
Yes !
Impact Score :
1.4
Exploitability Score :
3.9
Public PoC/Exploit Available at Github
CVE-2021-23346 has a 2 public PoC/Exploit
available at Github.
Go to the Public Exploits
tab to see the list.
Affected Products
The following products are affected by CVE-2021-23346
vulnerability.
Even if cvefeed.io
is aware of the exact versions of the
products
that
are
affected, the information is not represented in the table below.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2021-23346
.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
List of RegEx DoS (ReDoS) CVEs and resources
security awesome redos regex dos regex-dos pentesting awesome-list regex-security
A list of CVE's with Proof of Concepts
JavaScript HTML Python
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2021-23346
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2021-23346
vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Modified by af854a3a-2127-422b-91ae-364da2661108
Nov. 21, 2024
Action Type Old Value New Value Added Reference https://github.com/HenrikJoreteg/html-parse-stringify/blob/master/lib/parse.js%23L2 Added Reference https://github.com/HenrikJoreteg/html-parse-stringify/commit/c7274a48e59c92b2b7e906fedf9065159e73fe12 Added Reference https://github.com/rayd/html-parse-stringify2/blob/master/lib/parse.js%23L2 Added Reference https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1080633 Added Reference https://snyk.io/vuln/SNYK-JS-HTMLPARSESTRINGIFY-1079306 Added Reference https://snyk.io/vuln/SNYK-JS-HTMLPARSESTRINGIFY2-1079307 -
CVE Modified by [email protected]
May. 14, 2024
Action Type Old Value New Value -
Initial Analysis by [email protected]
Mar. 09, 2021
Action Type Old Value New Value Added CVSS V2 NIST (AV:N/AC:L/Au:N/C:N/I:N/A:P) Added CVSS V3.1 NIST AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L Changed Reference Type https://github.com/HenrikJoreteg/html-parse-stringify/blob/master/lib/parse.js%23L2 No Types Assigned https://github.com/HenrikJoreteg/html-parse-stringify/blob/master/lib/parse.js%23L2 Broken Link, Third Party Advisory Changed Reference Type https://github.com/HenrikJoreteg/html-parse-stringify/commit/c7274a48e59c92b2b7e906fedf9065159e73fe12 No Types Assigned https://github.com/HenrikJoreteg/html-parse-stringify/commit/c7274a48e59c92b2b7e906fedf9065159e73fe12 Patch, Third Party Advisory Changed Reference Type https://github.com/rayd/html-parse-stringify2/blob/master/lib/parse.js%23L2 No Types Assigned https://github.com/rayd/html-parse-stringify2/blob/master/lib/parse.js%23L2 Broken Link, Third Party Advisory Changed Reference Type https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1080633 No Types Assigned https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1080633 Exploit, Patch, Third Party Advisory Changed Reference Type https://snyk.io/vuln/SNYK-JS-HTMLPARSESTRINGIFY-1079306 No Types Assigned https://snyk.io/vuln/SNYK-JS-HTMLPARSESTRINGIFY-1079306 Exploit, Patch, Third Party Advisory Changed Reference Type https://snyk.io/vuln/SNYK-JS-HTMLPARSESTRINGIFY2-1079307 No Types Assigned https://snyk.io/vuln/SNYK-JS-HTMLPARSESTRINGIFY2-1079307 Exploit, Patch, Third Party Advisory Added CWE NIST NVD-CWE-Other Added CPE Configuration OR *cpe:2.3:a:html-parse-stringify_project:html-parse-stringify:*:*:*:*:*:node.js:*:* versions up to (excluding) 2.0.1 -
CVE Modified by [email protected]
Mar. 04, 2021
Action Type Old Value New Value Changed Description This affects the package html-parse-stringify before 2.0.1; all versions of package html-parse-stringify2. Sending certain input could cause one of the regular expressions that is used for parsing to backtrack, freezing the process. This affects the package html-parse-stringify before 2.0.1; all versions of package html-parse-stringify2. Sending certain input could cause one of the regular expressions that is used for parsing to backtrack, freezing the process.
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2021-23346
is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2021-23346
weaknesses.
Exploit Prediction
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.
0.48 }} -0.00%
score
0.63620
percentile