Skip to content

CVE-2021-28092 Regular Expression Denial of Service (ReDoS)

HighCVSS 7.5 EPSS 2.0%
Published
Updated
Exploit status
No public exploit known

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.

Upgrade path

2 packages: 2 fixed.

PackageAffectedFixed inStatus
is-svg project is-svg >= 2.1.0, <= 4.2.1 after 4.2.1 Fixed
npm is-svg(npm) >= 2.1.0, < 4.2.2 4.2.2 Fixed

Affected products

ProductAffected versionsFixed in
npm is-svg(npm) >= 2.1.0, < 4.2.2 4.2.2
is-svg project is-svg >= 2.1.0, <= 4.2.1 No fix listed

References