CVE-2021-28092

Source
https://nvd.nist.gov/vuln/detail/CVE-2021-28092
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-28092.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2021-28092
Aliases
Published
2021-03-12T22:15:14Z
Modified
2025-07-29T09:40:08.992574Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
[none]
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 for a very long time.

References

Affected packages

Git / github.com/sindresorhus/is-svg

Affected ranges

Type
GIT
Repo
https://github.com/sindresorhus/is-svg
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed

Affected versions

0.*

0.1.1
0.1.2

v0.*

v0.1.0

v1.*

v1.0.0
v1.0.1
v1.0.2
v1.1.0
v1.1.1

v2.*

v2.0.0
v2.0.1
v2.1.0

v3.*

v3.0.0

v4.*

v4.0.0
v4.1.0
v4.2.0
v4.2.1