Vulnerability · Published Mar 12, 2021 · Assigned by mitre
CVE-2021-28092
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.0% (higher than 81% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS NVD)7.5High
Exploit odds (30 days)2.0%top 18.9% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known
Official description
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 packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| npm | is-svg | 4.2.2 | GHSA-7r28-3m3f-r2pr |
Affected products (as reported)
References
- https://github.com/sindresorhus/is-svg/releases x_refsource_MISC
- https://www.npmjs.com/package/is-svg x_refsource_MISC
- https://github.com/sindresorhus/is-svg/releases/tag/v4.2.2 x_refsource_MISC
- https://security.netapp.com/advisory/ntap-20210513-0008/ x_refsource_CONFIRM