CVE-2021-23346
JSON

4.8medium

Regular Expression Denial of Service (ReDoS)

Severity
4.8medium CVSS:3.1 by snyk
Exploit likelihood
2.15% (higher than 82% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
snyk
Also known as
GHSA-545q-3fg6-48m7

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.

Affected

Product or packageVersionsReported by
html-parse-stringifyfrom unspecified before 2.0.1CVE List
html-parse-stringify2before unspecifiedCVE List
html-parse-stringify (npm)before 2.0.1GitHub Advisory Database
html-parse-stringify2 (npm)up to 2.0.1GitHub Advisory Database
html-parse-stringify_project html-parse-stringifybefore 2.0.1NVD

All scores

snyk4.8medium CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N/E:P/RL:O/RC:R
GitHub5.3medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
NVD5.3medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
NVD5.0medium CVSS:2.0AV:N/AC:L/Au:N/C:N/I:N/A:P

Classification

What each source says

CVE List

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.

NVD (es)

Esto afecta al paquete html-parse-stringify versiones anteriores a 2.0.1; todas las versiones del paquete html-parse-stringify2. Enviando determinada entrada podría causar que una de las expresiones regulares que son usadas para analizar el retroceso, congele el proceso

References

Sources

SourceRecordLicence
CVE ListCVE-2021-23346 changed 2024-09-16CVE Terms of Use
GitHub Advisory DatabaseGHSA-545q-3fg6-48m7 changed 2025-01-14CC-BY-4.0
NVDCVE-2021-23346 changed 2026-06-17Public domain