CVE-2021-28092

nodejs-is-svg: ReDoS via malicious string

Published Mar 12, 2021 CVSS 3.1 · 7.5 High EPSS 2.0% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2021-0627 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.
Github GHSA Github GHSA GHSA-7r28-3m3f-r2pr Regular Expression Denial of Service (ReDoS)
History
Type Values Removed Values Added
CPEs cpe:/a:redhat:acm:2.2::el7
Type Values Removed Values Added
CPEs cpe:/a:redhat:acm:2.2::el7
cpe:/a:redhat:acm:2.2::el8
Weaknesses

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
Aug 3, 2024, 9:33 PM
Reserved
Mar 8, 2021, 12:00 AM
Status
Modified
Published
Mar 12, 2021, 10:15 PM
Modified
Jun 17, 2026, 3:45 AM
Severity
Moderate
Public date
Mar 11, 2021, 12:00 AM