Skip to content
OpenAdvisories
High · 7.5 CVE-2021-28092 EUVD-2021-0627GHSA-7r28-3m3f-r2pr

Regular Expression Denial of Service (ReDoS)

Published Mar 12, 2021 · Updated Aug 3, 2024 · Assigned by mitre

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

EcosystemPackageAffectedFixedRecord
npm is-svg >= 2.1.0, < 4.2.2 4.2.2 GHSA-7r28-3m3f-r2pr

Advisories 2

References