CVE-2021-29059
Is-svg Project Is-svg vulnerability
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.
Affected products
Is-svg. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Is-svg Project Is-svg runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/yetingli/PoCs/blob/main/CVE-2021-29059/IS-SVG.md · Exploit
- github.com/sindresorhus/is-svg/releases/tag/v4.3.0 · Third Party Advisory
- github.com/yetingli/SaveResults/blob/main/js/is-svg.js · Third Party Advisory
- www.npmjs.com/package/is-svg
- nvd.nist.gov/vuln/detail/CVE-2021-29059
- cve.org/CVERecord?id=CVE-2021-29059
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.