CVE-2021-28092 json
Regular Expression Denial of Service (ReDoS)
published 2021-03-12 5 y ago modified 2026-06-17 4 mo ago also GHSA-7r28-3m3f-r2pr , EUVD-2021-0627
- cvss
- 7.5
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 2.0%
- EPSS 2.0% chance of exploitation in 30 days, percentile 81%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- npm is-svg 4.2.2
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2021-28092 updated cvss 7.5
nodejs-is-svg: ReDoS via malicious string
-
Red Hat OpenShift Service Mesh 2.0 servicemesh-grafana, servicemesh-prometheus, servicemesh-grafana-prometheus Red Hat Advanced Cluster Management for Kubernetes 2 rhacm2/console-rhel8, rhacm2/search-ui-rhel8, rhacm2/console-ui-rhel8affected: no fix available
-
Red Hat OpenShift Container Platform 3.11 kibanaaffected: no fix available “Fix deferred”
-
Red Hat OpenShift Container Platform 4 kibana, openshift4/ose-grafanaaffected: no fix available, no fix planned “Will not fix”
-
Red Hat Quay 3 quay/quay-rhel8affected: no fix available “Fix deferred”
-
Red Hat OpenShift Container Platform 4.8 openshift4/ose-thanos-rhel8 v4.8.0-202106291913.p0.git.c358e96.assembly.streamfixed: vendor fix RHSA-2021:2438
-
Red Hat OpenShift Container Platform 4.9 openshift4/ose-prometheus v4.9.0-202109302016.p0.git.3197fa7.assembly.streamfixed: vendor fix RHSA-2021:3759
-
Red Hat OpenShift Container Platform 4.8 openshift4/ose-cli v4.8.0-202106291725.p0.git.1077b05.assembly.stream, openshift4/ose-pod v4.8.0-202107161820.p0.git.051ac4f.assembly.stream, openshift4/ose-etcd v4.8.0-202106152230.p0.git.aefa6bf.assembly.stream, openshift4/ose-tests v4.8.0-202107131424.p0.git.0d958c3.assembly.stream, openshift4/ose-console v4.8.0-202107010336.p0.git.188a490.assembly.stream, openshift4/ose-coredns v4.8.0-202106291913.p0.git.642b46e.assembly.stream, +135 more Red Hat OpenShift Container Platform 4.9 openshift4/ose-cli v4.9.0-202109302317.p0.git.96e95ce.assembly.stream, openshift4/ose-pod v4.9.0-202110080828.p0.git.894a78b.assembly.stream, openshift4/ose-etcd v4.9.0-202109302317.p0.git.5c1feaf.assembly.stream, openshift4/ose-console v4.9.0-202110130449.p0.git.8c077e4.assembly.rc.8, openshift4/ose-tests v4.9.0-202110011028.p0.git.6105395.assembly.stream, openshift4/ose-coredns v4.9.0-202109302317.p0.git.3cb11c0.assembly.stream, +141 morenot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
2.03% chance of exploitation in the next 30 days, higher than 81% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | 2.0 | 5.0 | AV:N/AC:L/Au:N/C:N/I:N/A:P |
| GitHub | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| npm | is-svg | >=2.1.0, <4.2.2 |
4.2.2 |
Classification
References
-
github.com
/sindresorhus/is-svg/commit/01f8a087fab8a69c3ac9085fbb16035907ab6a5b
web
-
github.com
/sindresorhus/is-svg/releases
web, release-notes, third-party-advisory
-
npmjs.com
/package/is-svg
web, product
-
github.com
/sindresorhus/is-svg/releases/tag/v4.2.2
web, release-notes, third-party-advisory
-
security.netapp.com
/advisory/ntap-20210513-0008/
third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2021-28092
advisory
-
security.netapp.com
/advisory/ntap-20210513-0008
web
Sources
- CVE List CVE-2021-28092
- GitHub Advisory GHSA-7r28-3m3f-r2pr
- NVD CVE-2021-28092
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.