CVEvulnerability
CVE-2021-28092
7.5 HIGH
Official page ↗
- Status
- Modified
- Published
- 2021-03-12
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.1 ([email protected])
- 7.5 HIGH — CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- CVSS 2.0 ([email protected])
- 5.0 MEDIUM — AV:N/AC:L/Au:N/C:N/I:N/A:P
- Weaknesses
- CWE-1333
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 configurations
• is-svg project is-svg (>= 2.1.0 <= 4.2.1)
Related
Weakness · CWE (1)
- CWE-1333 Inefficient Regular Expression Complexity weakness
References
- https://github.com/sindresorhus/is-svg/releases Release Notes, Third Party Advisory
- https://github.com/sindresorhus/is-svg/releases/tag/v4.2.2 Release Notes, Third Party Advisory
- https://security.netapp.com/advisory/ntap-20210513-0008/ Third Party Advisory
- https://www.npmjs.com/package/is-svg Product
- https://github.com/sindresorhus/is-svg/releases Release Notes, Third Party Advisory
- https://github.com/sindresorhus/is-svg/releases/tag/v4.2.2 Release Notes, Third Party Advisory
- https://security.netapp.com/advisory/ntap-20210513-0008/ Third Party Advisory
- https://www.npmjs.com/package/is-svg Product