CVE-2021-27290 json
Regular Expression Denial of Service (ReDoS)
published 2021-03-12 5 y ago modified 2026-06-17 4 mo ago also GHSA-vx3p-948g-6vhq , EUVD-2021-0713
- cvss
- 7.5
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 4.7%
- EPSS 4.7% chance of exploitation in 30 days, percentile 91%
- public exploits
- 0
- none known
Summary
ssri 5.2.2-8.0.0, fixed in 8.0.1, processes SRIs using a regular expression which is vulnerable to a denial of service. Malicious SRIs could take an extremely long time to process, leading to denial of service. This issue only affects consumers using the strict option.
Patch / fix
- npm ssri 6.0.2, 7.1.1, 8.0.1
- ssri_project ssri 6.0.2, 8.0.1
- siemens sinec_infrastructure_network_services 1.0.1.1
- node-ssri Debian 14, Debian 13, Debian 12 8.0.1-1
debian advisories DEBIAN-CVE-2021-27290
- nodejs-packaging RHEL 8, RHEL 8.2 EUS, RHEL 8.1 EUS 17-3.module+el8.1.0+3369+37ae6a45
- npm RHEL 8 1:6.14.13-1.12.22.3.2.module+el8.4.0+11732+c668cc9f
- nodejs RHEL 8 1:12.22.3-2.module+el8.4.0+11732+c668cc9f
- nodejs-nodemon RHEL 8 2.0.3-1.module+el8.4.0+11732+c668cc9f
- nodejs-full-i18n RHEL 8 1:12.22.3-2.module+el8.4.0+11732+c668cc9f
- rh-nodejs14-nodejs RHEL 3 SOFTWARE_COLLECTIONS 14.17.2-1.el7
- rh-nodejs14-nodejs-nodemon RHEL 3 SOFTWARE_COLLECTIONS 2.0.3-2.el7
- rh-nodejs14-npm RHEL 3 SOFTWARE_COLLECTIONS 6.14.13-14.17.2.1.el7
red hat advisories RHSA-2021:3639RHSA-2021:3638RHSA-2021:3073RHSA-2021:2932RHSA-2021:2931RHSA-2021:3074
- nodejs8 SLES for SAP 15 SP1, SLES for SAP 15, SLES 15-LTSS +10 more 8.17.0-3.47.2
- nodejs-common SLES for SAP 15 SP1, SLES for SAP 15, SLES 15-LTSS +11 more 2.0-3.2.1
- nodejs8 SLE Module for Web and Scripting 15 SP2 8.17.0-10.12.2
- nodejs14 SLE Module for Web and Scripting 15 SP3, SLE Module for Web and Scripting 15 SP2 14.17.2-5.12.1
- nodejs10 SLES for SAP 15 SP1, SLES for SAP 15, SLES 15-LTSS +11 more 10.24.1-1.36.1
- nodejs12 SLE Module for Web and Scripting 15 SP3, SLE Module for Web and Scripting 15 SP2 12.22.2-4.16.1
- nodejs12 SLE Module for Web and Scripting 12 12.22.2-1.32.1
- nodejs10 SLE Module for Web and Scripting 12 10.24.1-1.39.1
suse advisories SUSE-SU-2021:2620-1SUSE-SU-2021:2618-1SUSE-SU-2021:2354-1SUSE-SU-2021:2353-1SUSE-SU-2021:2327-1SUSE-SU-2021:2326-1
- nodejs14 openSUSE Tumbleweed 14.17.5-1.2
- nodejs8 openSUSE Leap 15.2 8.17.0-lp152.3.14.1
- nodejs8 openSUSE Leap 15.3 8.17.0-10.12.2
- nodejs10 openSUSE Leap 15.2 10.24.1-lp152.2.15.1
- nodejs14 openSUSE Leap 15.2 14.17.2-lp152.11.1
- nodejs12 openSUSE Leap 15.2 12.22.2-lp152.3.15.1
- nodejs14 openSUSE Leap 15.3 14.17.2-5.12.1
- nodejs10 openSUSE Leap 15.3 10.24.1-1.36.1
opensuse advisories openSUSE-SU-2024:11096-1openSUSE-SU-2021:1113-1openSUSE-SU-2021:2618-1openSUSE-SU-2021:1061-1openSUSE-SU-2021:1060-1openSUSE-SU-2021:1059-1
- nodejs-nodemon AlmaLinux 8 2.0.3-1.module_el8.4.0+2521+c668cc9f
- nodejs-packaging AlmaLinux 8 23-3.module_el8.5.0+254+b4526b16
- nodejs-packaging AlmaLinux 8 23-3.module_el8.4.0+2522+3bd42762
- nodejs-packaging AlmaLinux 8 17-3.module_el8.4.0+2224+b07ac28e
- nodejs-packaging AlmaLinux 8 17-3.module_el8.4.0+2521+c668cc9f
- nodejs-packaging AlmaLinux 8 17-3.module_el8.3.0+2023+d2377ea3
almalinux advisories ALSA-2021:3074ALSA-2021:3073
- nodejs Rocky Linux 8 1:14.17.3-2.module+el8.4.0+639+18660d0d
- nodejs-nodemon Rocky Linux 8 2.0.3-1.module+el8.6.0+982+9fdca2d4
- nodejs-nodemon Rocky Linux 8 2.0.3-1.module+el8.3.0+100+234774f7
- nodejs-nodemon Rocky Linux 8 2.0.3-1.module+el8.4.0+638+5344c6f7
- nodejs-packaging Rocky Linux 8 23-3.module+el8.7.0+1071+4bdda2a8
- nodejs-packaging Rocky Linux 8 23-3.module+el8.3.0+100+234774f7
- nodejs-packaging Rocky Linux 8 23-3.module+el8.5.0+733+de4fee6c
- nodejs Rocky Linux 8 1:12.22.3-2.module+el8.4.0+638+5344c6f7
rocky linux advisories RLSA-2021:3074RLSA-2021:3073
- nodejs Alpine 3.13 14.16.1-r1
alpine advisories ALPINE-CVE-2021-27290
Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- nodejs Arch Linux 16.4.1-1
arch linux advisories AVG-2126
- github.com/npm/ssri@76e2233 commit
- github.com/npm/ssri@809c84d commit
- github.com/npm/ssri@b30dfdb commit
- github.com/npm/ssri#20 pull request
- oracle.com/security-alerts/cpuoct2021.html advisory
- doyensec.com/resources/Doyensec_Advisory_ssri_redos.pdf advisory
- cert-portal.siemens.com/productcert/pdf/ssa-389290.pdf advisory
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-27290 updated cvss 7.5
nodejs-ssri: Regular expression DoS (ReDoS) when parsing malicious SRI in strict mode
-
Red Hat Logging Subsystem for Red Hat OpenShift openshift-logging/kibana6-rhel8affected: no fix planned “Will not fix”
-
Red Hat OpenShift Service Mesh 2.0 kiali, servicemesh-grafana, servicemesh-prometheus, servicemesh-grafana-prometheusaffected: no fix available, no fix planned “Will not fix”
-
Red Hat Advanced Cluster Management for Kubernetes 2 ssri Red Hat Enterprise Linux 8 npm, pcs, nodejs, pcs-snmp, grafana-pcp, nodejs-libs, +5 moreaffected: no fix planned “Will not fix”
-
Red Hat Enterprise Linux 9 npm, nodejs, grafana-pcp, nodejs-libs, nodejs-full-i18n, js-d3-flame-graphaffected: no fix available
-
Red Hat OpenShift Container Platform 4 openshift4/ose-grafana, openshift4/ose-thanos-rhel9, golang-github-prometheus-prometheusaffected: no fix planned “Will not fix”
-
Red Hat OpenShift distributed tracing 2 rhosdt/jaeger-all-in-one-rhel8affected: no fix available
-
Red Hat Quay 3 quay/quay-rhel8affected: no fix available “Fix deferred”
-
Red Hat Software Collections rh-nodejs10-npm, rh-nodejs10-nodejs Red Hat Virtualization 4 ovirt-web-ui, cockpit-ovirt-uiplugin, cockpit-ovirt-dashboard, ovirt-engine-ui-extensionsaffected: no fix planned “Will not fix”
show 5 moreshow fewer
-
Red Hat Enterprise Linux AppStream (v. 8) nodejs 12.22.3-2.module+el8.4.0+11732+c668cc9f, nodejs 14.17.3-2.module+el8.4.0+11738+3bd42762, nodejs-packaging 17-3.module+el8.1.0+3369+37ae6a45, nodejs-packaging 23-3.module+el8.3.0+6519+9f98ed83, nodejs-nodemon 2.0.3-1.module+el8.3.0+6519+9f98ed83, nodejs-nodemon 2.0.3-1.module+el8.4.0+11732+c668cc9f, +4 morefixed: vendor fix RHSA-2021:3073
-
Red Hat Enterprise Linux AppStream EUS (v. 8.1) nodejs 12.22.5-1.module+el8.1.0+12238+63fe3aec, nodejs-packaging 17-3.module+el8.1.0+3369+37ae6a45, nodejs-nodemon 1.18.3-1.module+el8.1.0+3369+37ae6a45, npm 6.14.14-1.12.22.5.1.module+el8.1.0+12238+63fe3aec, nodejs-full-i18n 12.22.5-1.module+el8.1.0+12238+63fe3aecfixed: vendor fix RHSA-2021:3639
-
Red Hat Enterprise Linux AppStream EUS (v. 8.2) nodejs 12.22.5-1.module+el8.2.0+12241+a3db445b, nodejs-packaging 17-3.module+el8.1.0+3369+37ae6a45, nodejs-nodemon 1.18.3-1.module+el8.1.0+3369+37ae6a45, npm 6.14.14-1.12.22.5.1.module+el8.2.0+12241+a3db445b, nodejs-full-i18n 12.22.5-1.module+el8.2.0+12241+a3db445bfixed: vendor fix RHSA-2021:3638
-
Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 7) rh-nodejs12-nodejs 12.22.2-1.el7, rh-nodejs14-nodejs 14.17.2-1.el7, rh-nodejs12-npm 6.14.13-12.22.2.1.el7, rh-nodejs14-npm 6.14.13-14.17.2.1.el7, rh-nodejs12-nodejs-nodemon 2.0.3-2.el7, rh-nodejs14-nodejs-nodemon 2.0.3-2.el7 Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.7) rh-nodejs12-nodejs 12.22.2-1.el7, rh-nodejs14-nodejs 14.17.2-1.el7, rh-nodejs12-npm 6.14.13-12.22.2.1.el7, rh-nodejs14-npm 6.14.13-14.17.2.1.el7, rh-nodejs12-nodejs-nodemon 2.0.3-2.el7, rh-nodejs14-nodejs-nodemon 2.0.3-2.el7 Red Hat Software Collections for Red Hat Enterprise Linux Workstation (v. 7) rh-nodejs12-nodejs 12.22.2-1.el7, rh-nodejs14-nodejs 14.17.2-1.el7, rh-nodejs12-npm 6.14.13-12.22.2.1.el7, rh-nodejs14-npm 6.14.13-14.17.2.1.el7, rh-nodejs12-nodejs-nodemon 2.0.3-2.el7, rh-nodejs14-nodejs-nodemon 2.0.3-2.el7fixed: vendor fix RHSA-2021:2931
-
Red Hat Enterprise Linux 9 pcs, pcs-snmpnot 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
cisa ICSA-22-069-09 updated cvss 7.5
Siemens SINEC INS
-
Siemens SINEC INS <V1.0.1.1affected: fixed in V1.0.1.1 support.industry.siemens.com
Facts from CISA's republication of the vendor's own advisory (CSAF); the linked advisory is the authoritative source. CISA notification · csaf
Exploit prediction
4.72% chance of exploitation in the next 30 days, higher than 91% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- doyensec.com https://doyensec.com/resources/Doyensec_Advisory_ssri_redos.pdf referenced PoC, tagged "exploit" by a source, unverified
- github.com https://github.com/yetingli/SaveResults/blob/main/pdf/ssri-redos.pdf referenced PoC, tagged "exploit" by a source, unverified
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 | 4.3 | AV:N/AC:M/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 | ssri | >=5.2.2, <6.0.2 >=7.0.0, <7.1.1 >=8.0.0, <8.0.1 |
6.0.2 7.1.1 8.0.1 |
Classification
- Weakness
-
- CWE-400 Uncontrolled Resource Consumption
References
-
oracle.com
/security-alerts/cpuoct2021.html
web, patch, third-party-advisory
-
doyensec.com
/resources/Doyensec_Advisory_ssri_redos.pdf
web, exploit, patch, third-party-advisory
-
cert-portal.siemens.com
/productcert/pdf/ssa-389290.pdf
web, patch, third-party-advisory
-
github.com
/npm/ssri/pull/20#issuecomment-842677644
web
-
github.com
/npm/ssri/commit/76e223317d971f19e4db8191865bdad5edee40d2
web
-
github.com
/npm/ssri/commit/809c84d09ea87c3857fa171d42914586899d4538
web
-
github.com
/npm/ssri/commit/b30dfdb00bb94ddc49a25a85a18fb27afafdfbb1
web
-
github.com
/yetingli/SaveResults/blob/main/pdf/ssri-redos.pdf
web, exploit, third-party-advisory
-
npmjs.com
web, product
-
nvd.nist.gov
/vuln/detail/CVE-2021-27290
advisory
-
github.com
/npm/ssri
package
-
npmjs.com
/package/ssri
web
Sources
- CVE List CVE-2021-27290
- GitHub Advisory GHSA-vx3p-948g-6vhq
- NVD CVE-2021-27290
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.