CVE-2021-23346: Regular expression denial of service (ReDoS)
This affects the package html-parse-stringify ; 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.
References
- github.com/HenrikJoreteg/html-parse-stringify/blob/master/lib/parse.js%23L2
- github.com/HenrikJoreteg/html-parse-stringify/commit/c7274a48e59c92b2b7e906fedf9065159e73fe12
- github.com/HenrikJoreteg/html-parse-stringify/releases/tag/v2.0.1
- github.com/advisories/GHSA-545q-3fg6-48m7
- github.com/rayd/html-parse-stringify2/blob/master/lib/parse.js%23L2
- nvd.nist.gov/vuln/detail/CVE-2021-23346
- snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1080633
- snyk.io/vuln/SNYK-JS-HTMLPARSESTRINGIFY-1079306
- snyk.io/vuln/SNYK-JS-HTMLPARSESTRINGIFY2-1079307
Detect and mitigate CVE-2021-23346 with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →