Vulnerability Description
A Regular Expression Denial of Service (ReDoS) flaw was found in kangax html-minifier 4.0.0 because of the reCustomIgnore regular expression.
CVSS Score
HIGH
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Terser | Html-Minifier-Terser | <= 7.2.0 |
| Kangax | Html-Minifier | <= 4.0.0 |
Related Weaknesses (CWE)
References
- https://github.com/kangax/html-minifier/blob/51ce10f4daedb1de483ffbcccecc41be1c8Product
- https://github.com/kangax/html-minifier/blob/51ce10f4daedb1de483ffbcccecc41be1c8Product
- https://github.com/kangax/html-minifier/issues/1135Issue TrackingMitigationThird Party Advisory
- https://security.snyk.io/vuln/SNYK-JS-HTMLMINIFIER-3091181
- https://github.com/kangax/html-minifier/blob/51ce10f4daedb1de483ffbcccecc41be1c8Product
- https://github.com/kangax/html-minifier/blob/51ce10f4daedb1de483ffbcccecc41be1c8Product
- https://github.com/kangax/html-minifier/issues/1135Issue TrackingMitigationThird Party Advisory
FAQ
What is CVE-2022-37620?
CVE-2022-37620 is a vulnerability with a CVSS score of 7.5 (HIGH). A Regular Expression Denial of Service (ReDoS) flaw was found in kangax html-minifier 4.0.0 because of the reCustomIgnore regular expression.
How severe is CVE-2022-37620?
CVE-2022-37620 has been rated HIGH with a CVSS base score of 7.5/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2022-37620?
Check the references section above for vendor advisories and patch information. Affected products include: Terser Html-Minifier-Terser, Kangax Html-Minifier.