Skip to content

CVE-2021-29059 ReDOS in IS-SVG

HighCVSS 7.5 EPSS 2.6% PoC
Published
Updated
Exploit status
Proof-of-concept only

Description

A vulnerability was discovered in IS-SVG version 2.1.0 to 4.2.2 and below where a Regular Expression Denial of Service (ReDOS) occurs if the application is provided and checks a crafted invalid SVG string.

Upgrade path

2 packages: 2 fixed.

PackageAffectedFixed inStatus
is-svg project is-svg >= 2.1.0, < 4.3.0 4.3.0 Fixed
npm is-svg(npm) >= 2.1.0, < 4.3.0 4.3.0 Fixed

Affected products

ProductAffected versionsFixed in
npm is-svg(npm) >= 2.1.0, < 4.3.0 4.3.0
is-svg project is-svg >= 2.1.0, < 4.3.0 4.3.0

References