Vulnerability Description
A vulnerability was discovered in IS-SVG version 2.1.0 to 4.2.2 and below where a Regular Expression Denial of Service (ReDOS) occurs if the application is provided and checks a crafted invalid SVG string.
CVSS Score
HIGH
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Is-Svg Project | Is-Svg | >= 2.1.0, < 4.3.0 |
Related Weaknesses (CWE)
References
- https://github.com/sindresorhus/is-svg/releases/tag/v4.3.0Release NotesThird Party Advisory
- https://github.com/yetingli/PoCs/blob/main/CVE-2021-29059/IS-SVG.mdExploitPatchThird Party Advisory
- https://github.com/yetingli/SaveResults/blob/main/js/is-svg.jsThird Party Advisory
- https://www.npmjs.com/package/is-svgProduct
- https://github.com/sindresorhus/is-svg/releases/tag/v4.3.0Release NotesThird Party Advisory
- https://github.com/yetingli/PoCs/blob/main/CVE-2021-29059/IS-SVG.mdExploitPatchThird Party Advisory
- https://github.com/yetingli/SaveResults/blob/main/js/is-svg.jsThird Party Advisory
- https://www.npmjs.com/package/is-svgProduct
FAQ
What is CVE-2021-29059?
CVE-2021-29059 is a vulnerability with a CVSS score of 7.5 (HIGH). A vulnerability was discovered in IS-SVG version 2.1.0 to 4.2.2 and below where a Regular Expression Denial of Service (ReDOS) occurs if the application is provided and checks a crafted invalid SVG st...
How severe is CVE-2021-29059?
CVE-2021-29059 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-2021-29059?
Check the references section above for vendor advisories and patch information. Affected products include: Is-Svg Project Is-Svg.