Ecosyste.ms: Advisories

An open API service providing security vulnerability metadata for many open source software ecosystems.

Security Advisories: MDE2OlNlY3VyaXR5QWR2aXNvcnlHSFNBLTdyMjgtM20zZi1yMnBy

Regular Expression Denial of Service (ReDoS)

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.

Permalink: https://github.com/advisories/GHSA-7r28-3m3f-r2pr
JSON: https://advisories.ecosyste.ms/api/v1/advisories/MDE2OlNlY3VyaXR5QWR2aXNvcnlHSFNBLTdyMjgtM20zZi1yMnBy
Source: GitHub Advisory Database
Origin: Unspecified
Severity: High
Classification: General
Published: about 3 years ago
Updated: 8 months ago


CVSS Score: 7.5
CVSS vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Identifiers: GHSA-7r28-3m3f-r2pr, CVE-2021-28092
References: Repository: https://github.com/sindresorhus/is-svg
Blast Radius: 47.0

Affected Packages

npm:is-svg
Dependent packages: 427
Dependent repositories: 1,819,878
Downloads: 7,270,165 last month
Affected Version Ranges: >= 2.1.0, < 4.2.2
Fixed in: 4.2.2
All affected versions: 2.1.0, 3.0.0, 4.0.0, 4.1.0, 4.2.0, 4.2.1
All unaffected versions: 0.1.0, 0.1.1, 0.1.2, 1.0.0, 1.0.1, 1.0.2, 1.1.0, 1.1.1, 2.0.0, 2.0.1, 4.2.2, 4.3.0, 4.3.1, 4.3.2, 4.4.0, 5.0.0, 5.0.1