VulnerabilityModified
CVE-2021-28092
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).
HIGH 7.5EPSS 2.17%
Does this matter?
High impact if exploited, but EPSS currently rates exploitation as unlikely (2.17%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit.
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.
- CVSS 3.1
- 7.5 HIGHCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- EPSS
- 2.17% probability · 81th percentile
- CISA KEV
- Not listed
- Weakness
- CWE-1333
- Affected
- is-svg project/is-svg
- Source
- cve@mitre.org
References
- https://github.com/sindresorhus/is-svg/releasesRelease Notes, Third Party Advisory
- https://github.com/sindresorhus/is-svg/releases/tag/v4.2.2Release Notes, Third Party Advisory
- https://security.netapp.com/advisory/ntap-20210513-0008/Third Party Advisory
- https://www.npmjs.com/package/is-svgProduct
- https://github.com/sindresorhus/is-svg/releasesRelease Notes, Third Party Advisory
- https://github.com/sindresorhus/is-svg/releases/tag/v4.2.2Release Notes, Third Party Advisory
- https://security.netapp.com/advisory/ntap-20210513-0008/Third Party Advisory
- https://www.npmjs.com/package/is-svgProduct
Source: NVD record, EPSS from FIRST.org, KEV from CISA. Refreshed daily.