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.
References
Link | Resource |
---|---|
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 |
Configurations
History
08 Aug 2023, 14:22
Type | Values Removed | Values Added |
---|---|---|
CWE | CWE-1333 |
Information
Published : 2021-03-12 22:15
Updated : 2024-02-28 18:08
NVD link : CVE-2021-28092
Mitre link : CVE-2021-28092
CVE.ORG link : CVE-2021-28092
JSON object : View
Products Affected
is-svg_project
- is-svg
CWE
CWE-1333
Inefficient Regular Expression Complexity