Advisory

GHSA-7r28-3m3f-r2pr

Also known as: CVE-2021-28092

Summary

Regular Expression Denial of Service (ReDoS)

Details

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.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2021-03-19 21:25 UTC
Modified
2023-11-08 04:05 UTC

Affected packages and fixes

is-svg

npm · All systems

Affected

  • introduced 2.1.0, fixed 4.2.2 (semver)

Fixed versions

4.2.2

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences