cve.bz

CVE-2021-28092 is-svg project is-svg

7.5 highEPSS 2.0%Fix available

High (7.5) in is-svg project is-svg. EPSS 2.0% estimated probability of exploitation activity in the next 30 days. Fixed in is-svg 4.2.2.

On this page
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.

Severity

CVSS 3.1

7.5 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS
2.0% (unchanged from 2.0% a week ago; 2.0% 30 days ago) estimated probability of exploitation activity in the next 30 days; 82nd percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-1333 Inefficient Regular Expression Complexity
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

  • is-svg (npm): fixed in 4.2.2

Ask an AI about this CVE

Show the promptExplain CVE-2021-28092 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2021-28092?via=ask-ai-copy and https://cve.bz/cve/CVE-2021-28092?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2021-28092 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
is-svg_project:is-svgfrom 2.1.0 through 4.2.1

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-7r28-3m3f-r2prnpmis-svg>=2.1.0 <4.2.24.2.2

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

Red Hat OpenShift Container Platform (RHOCP) 4 delivers the kibana package where the nodejs-is-svg package is bundled, but during the update to container first (to openshift4/ose-logging-kibana6 since OCP 4.5) the dependency was removed and hence kibana package is marked as wontfix. This may be fixed in the future.

In OpenShift ServiceMesh (OSSM) and Red Hat OpenShift Container Platform (RHOCP) the affected components are behind OpenShift OAuth. This restricts access to the vulnerable nodejs-is-svg to authenticated users only, therefore the impact is low.

Red Hat Quay includes is-svg as a dependency of css-loader which is only using during development, not runtime. This issues has been rated low impact for Red Hat Quay.

ProductPackageStateAdvisory
Red Hat OpenShift Container Platform 4.8openshift4/ose-thanos-rhel8:v4.8.0-202106291913.p0.git.c358e96.assembly.streamFixed 2021-07-27RHSA-2021:2438
Red Hat OpenShift Container Platform 4.9openshift4/ose-prometheus:v4.9.0-202109302016.p0.git.3197fa7.assembly.streamFixed 2021-10-18RHSA-2021:3759
OpenShift Service Mesh 2.0servicemesh-grafanaAffected
OpenShift Service Mesh 2.0servicemesh-prometheusAffected
Red Hat Advanced Cluster Management for Kubernetes 2rhacm2/console-rhel8Affected
Red Hat Advanced Cluster Management for Kubernetes 2rhacm2/console-ui-rhel8Affected
Red Hat Advanced Cluster Management for Kubernetes 2rhacm2/search-ui-rhel8Affected
Red Hat OpenShift Container Platform 3.11kibanaFix deferred
Red Hat OpenShift Container Platform 4kibanaWill not fix
Red Hat OpenShift Container Platform 4openshift4/ose-grafanaFix deferred
Red Hat Quay 3quay/quay-rhel8Fix deferred

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2021-28092.

Attack patterns (CAPEC)

  • CAPEC-492 Regular Expression Exponential Blowup

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON