CVE-2021-28092
Is-svg Project Is-svg vulnerability
The is-svg package 2.1.0 through 4.2.1 for Node.js uses a regular expression that is vulnerable to Regular Expression Denial of Service (ReDoS). If an attacker provides a malicious string, is-svg will get stuck processing the input for a very long time.
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/sindresorhus/is-svg/releases · Third Party Advisory
- github.com/sindresorhus/is-svg/releases/tag/v4.2.2 · Third Party Advisory
- security.netapp.com/advisory/ntap-20210513-0008/ · Third Party Advisory
- www.npmjs.com/package/is-svg
- nvd.nist.gov/vuln/detail/CVE-2021-28092
- cve.org/CVERecord?id=CVE-2021-28092
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.