Vulnerability · Published Jun 21, 2021 · Assigned by mitre
CVE-2021-29059
High 7.5
In plain English
A high-severity security flaw in the is-svg package (npm). There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 2.6% (higher than 86% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS NVD)7.5High
Exploit odds (30 days)2.6%top 14.4% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| npm | is-svg | 4.3.0 | GHSA-r8j5-h5cx-65gg |
Affected products (as reported)
References
- https://www.npmjs.com/package/is-svg x_refsource_MISC
- https://github.com/yetingli/SaveResults/blob/main/js/is-svg.js x_refsource_MISC
- https://github.com/sindresorhus/is-svg/releases/tag/v4.3.0 x_refsource_MISC
- https://github.com/yetingli/PoCs/blob/main/CVE-2021-29059/IS-SVG.md x_refsource_MISC