PT-2021-15450 · Unknown · Html-Parse-Stringify2+1

Yeting Li

·

Published

2021-03-04

·

Updated

2021-03-18

·

CVE-2021-23346

CVSS v3.1

5.3

Medium

VectorAV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
Name of the Vulnerable Software and Affected Versions html-parse-stringify versions prior to 2.0.1 html-parse-stringify2 (affected versions not specified)
Description The issue arises when certain input is sent, causing one of the regular expressions used for parsing to backtrack, which can freeze the process.
Recommendations For html-parse-stringify versions prior to 2.0.1, update to version 2.0.1 or later to resolve the issue. For html-parse-stringify2, at the moment, there is no information about a newer version that contains a fix for this vulnerability.

Exploit

Resource Exhaustion

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2021-23346
GHSA-545Q-3FG6-48M7
SNYK-JAVA-ORGWEBJARSNPM-1080633
SNYK-JS-HTMLPARSESTRINGIFY-1079306
SNYK-JS-HTMLPARSESTRINGIFY2-1079307

Affected Products

Html-Parse-Stringify
Html-Parse-Stringify2