Skip to content
OpenAdvisories
High · 7.5 CVE-2021-27290 EUVD-2021-0713GHSA-vx3p-948g-6vhq

Regular Expression Denial of Service (ReDoS)

Published Mar 12, 2021 · Updated Aug 3, 2024 · Assigned by mitre

Description

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.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 node-ssri 8.0.1-1 —
Debian 13 node-ssri 8.0.1-1 —
Debian 12 node-ssri 8.0.1-1 —
ReleasePackageFixed inAdvisory
Ubuntu 22.04 LTS node-ssri No fix yet —
Ubuntu 20.04 LTS node-ssri No fix yet —
ReleasePackageFixed inAdvisory
RHEL 8 nodejs +3 1:12.22.3-2.module+el8.4.0+11732+c668cc9f RHSA-2021:3074, RHSA-2021:3073
RHEL 8 nodejs-nodemon 2.0.3-1.module+el8.3.0+6519+9f98ed83 RHSA-2021:3074, RHSA-2021:3073
RHEL 8 nodejs-packaging 17-3.module+el8.1.0+3369+37ae6a45 RHSA-2021:3074, RHSA-2021:3073
RHEL 8 npm 1:6.14.13-1.12.22.3.2.module+el8.4.0+11732+c668cc9f RHSA-2021:3074, RHSA-2021:3073
RHEL 3 rh-nodejs12-nodejs +2 12.22.2-1.el7 RHSA-2021:2931
RHEL 3 rh-nodejs12-nodejs-nodemon +1 2.0.3-2.el7 RHSA-2021:2932, RHSA-2021:2931
RHEL 3 rh-nodejs12-npm 6.14.13-12.22.2.1.el7 RHSA-2021:2931
RHEL 3 rh-nodejs14-nodejs +2 14.17.2-1.el7 RHSA-2021:2932
RHEL 3 rh-nodejs14-npm 6.14.13-14.17.2.1.el7 RHSA-2021:2932
Show 2 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
RHEL 8.2 EUS nodejs +3 1:12.22.5-1.module+el8.2.0+12241+a3db445b RHSA-2021:3638
RHEL 8.2 EUS nodejs-nodemon 1.18.3-1.module+el8.1.0+3369+37ae6a45 RHSA-2021:3638
RHEL 8.2 EUS nodejs-packaging 17-3.module+el8.1.0+3369+37ae6a45 RHSA-2021:3638
RHEL 8.2 EUS npm 1:6.14.14-1.12.22.5.1.module+el8.2.0+12241+a3db445b RHSA-2021:3638
RHEL 8.1 EUS nodejs +3 1:12.22.5-1.module+el8.1.0+12238+63fe3aec RHSA-2021:3639
RHEL 8.1 EUS nodejs-nodemon 1.18.3-1.module+el8.1.0+3369+37ae6a45 RHSA-2021:3639
RHEL 8.1 EUS nodejs-packaging 17-3.module+el8.1.0+3369+37ae6a45 RHSA-2021:3639
RHEL 8.1 EUS npm 1:6.14.14-1.12.22.5.1.module+el8.1.0+12238+63fe3aec RHSA-2021:3639

AlmaLinux

Errata ↗
ReleasePackageFixed inAdvisory
AlmaLinux 8 nodejs-nodemon 2.0.3-1.module_el8.4.0+2521+c668cc9f ALSA-2021:3074, ALSA-2021:3073
AlmaLinux 8 nodejs-packaging 17-3.module_el8.3.0+2023+d2377ea3 ALSA-2021:3074, ALSA-2021:3073

Rocky Linux

Errata ↗
ReleasePackageFixed inAdvisory
Rocky Linux 8 nodejs 1:12.22.3-2.module+el8.4.0+638+5344c6f7 RLSA-2021:3074, RLSA-2021:3073
Rocky Linux 8 nodejs-nodemon 2.0.3-1.module+el8.3.0+100+234774f7 RLSA-2021:3074, RLSA-2021:3073
Rocky Linux 8 nodejs-packaging 17-3.module+el8.3.0+101+f84c7154 RLSA-2021:3074, RLSA-2021:3073
ReleasePackageFixed inAdvisory
SLES 15 SP3 nodejs12 12.22.2-4.16.1 SUSE-SU-2021:2327-1
SLES 15 SP3 nodejs14 14.17.2-5.12.1 SUSE-SU-2021:2354-1
SLES 15 SP2 nodejs-common 2.0-3.2.1 SUSE-SU-2021:2620-1
SLES 15 SP2 nodejs10 10.24.1-1.36.1 SUSE-SU-2021:2353-1
SLES 15 SP2 nodejs12 12.22.2-4.16.1 SUSE-SU-2021:2327-1
SLES 15 SP2 nodejs14 14.17.2-5.12.1 SUSE-SU-2021:2354-1
SLES 15 SP2 nodejs8 8.17.0-10.12.2 SUSE-SU-2021:2618-1
SLES 15 SP1 nodejs-common 2.0-3.2.1 SUSE-SU-2021:2620-1
SLES 15 SP1 nodejs10 10.24.1-1.36.1 SUSE-SU-2021:2353-1
SLES 15 SP1 nodejs8 8.17.0-3.47.2 SUSE-SU-2021:2620-1
SLES 15 nodejs-common 2.0-3.2.1 SUSE-SU-2021:2620-1
SLES 15 nodejs10 10.24.1-1.36.1 SUSE-SU-2021:2353-1
SLES 15 nodejs8 8.17.0-3.47.2 SUSE-SU-2021:2620-1
SLES 12 nodejs10 10.24.1-1.39.1 SUSE-SU-2021:2323-1
SLES 12 nodejs12 12.22.2-1.32.1 SUSE-SU-2021:2326-1
SLES 12 nodejs14 14.17.2-6.12.1 SUSE-SU-2021:2319-1
Show 8 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES for SAP 15 SP1 nodejs-common 2.0-3.2.1 SUSE-SU-2021:2620-1
SLES for SAP 15 SP1 nodejs10 10.24.1-1.36.1 SUSE-SU-2021:2353-1
SLES for SAP 15 SP1 nodejs8 8.17.0-3.47.2 SUSE-SU-2021:2620-1
SLES for SAP 15 nodejs-common 2.0-3.2.1 SUSE-SU-2021:2620-1
SLES for SAP 15 nodejs10 10.24.1-1.36.1 SUSE-SU-2021:2353-1
SLES for SAP 15 nodejs8 8.17.0-3.47.2 SUSE-SU-2021:2620-1
SLE HPC 15 SP1 nodejs-common 2.0-3.2.1 SUSE-SU-2021:2620-1
SLE HPC 15 SP1 nodejs10 10.24.1-1.36.1 SUSE-SU-2021:2353-1
SLE HPC 15 SP1 nodejs8 8.17.0-3.47.2 SUSE-SU-2021:2620-1
SLE HPC 15 nodejs-common 2.0-3.2.1 SUSE-SU-2021:2620-1
SLE HPC 15 nodejs10 10.24.1-1.36.1 SUSE-SU-2021:2353-1
SLE HPC 15 nodejs8 8.17.0-3.47.2 SUSE-SU-2021:2620-1
SUSE Manager Server 4.0 nodejs-common 2.0-3.2.1 SUSE-SU-2021:2620-1
SUSE Manager Server 4.0 nodejs10 10.24.1-1.36.1 SUSE-SU-2021:2353-1
SUSE Manager Server 4.0 nodejs8 8.17.0-3.47.2 SUSE-SU-2021:2620-1
SUSE Manager Retail Branch Server 4.0 nodejs-common 2.0-3.2.1 SUSE-SU-2021:2620-1
SUSE Manager Retail Branch Server 4.0 nodejs10 10.24.1-1.36.1 SUSE-SU-2021:2353-1
SUSE Manager Retail Branch Server 4.0 nodejs8 8.17.0-3.47.2 SUSE-SU-2021:2620-1
SUSE Manager Proxy 4.0 nodejs-common 2.0-3.2.1 SUSE-SU-2021:2620-1
SUSE Manager Proxy 4.0 nodejs10 10.24.1-1.36.1 SUSE-SU-2021:2353-1
SUSE Manager Proxy 4.0 nodejs8 8.17.0-3.47.2 SUSE-SU-2021:2620-1
SUSE Enterprise Storage 6 nodejs-common 2.0-3.2.1 SUSE-SU-2021:2620-1
SUSE Enterprise Storage 6 nodejs10 10.24.1-1.36.1 SUSE-SU-2021:2353-1
SUSE Enterprise Storage 6 nodejs8 8.17.0-3.47.2 SUSE-SU-2021:2620-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed nodejs14 14.17.5-1.2 openSUSE-SU-2024:11096-1
openSUSE Leap 15.3 nodejs10 10.24.1-1.36.1 openSUSE-SU-2021:2353-1
openSUSE Leap 15.3 nodejs12 12.22.2-4.16.1 openSUSE-SU-2021:2327-1
openSUSE Leap 15.3 nodejs14 14.17.2-5.12.1 openSUSE-SU-2021:2354-1
openSUSE Leap 15.3 nodejs8 8.17.0-10.12.2 openSUSE-SU-2021:2618-1
openSUSE Leap 15.2 nodejs10 10.24.1-lp152.2.15.1 openSUSE-SU-2021:1061-1
openSUSE Leap 15.2 nodejs12 12.22.2-lp152.3.15.1 openSUSE-SU-2021:1059-1
openSUSE Leap 15.2 nodejs14 14.17.2-lp152.11.1 openSUSE-SU-2021:1060-1
openSUSE Leap 15.2 nodejs8 8.17.0-lp152.3.14.1 openSUSE-SU-2021:1113-1
ReleasePackageFixed inAdvisory
Alpine v3.13 nodejs 14.16.1-r1 —

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 8 nodejs +3 1:12.22.3-2.module+el8.4.0+20281+eb64e322 ELSA-2021-3074, ELSA-2021-3073
Oracle Linux 8 nodejs-nodemon 2.0.3-1.module+el8.3.0+7818+6cd30d85 ELSA-2021-3074, ELSA-2021-3073
Oracle Linux 8 nodejs-packaging 17-3.module+el8.1.0+5393+aaf413e3 ELSA-2021-3074, ELSA-2021-3073
Oracle Linux 8 npm 1:6.14.13-1.12.22.3.2.module+el8.4.0+20281+eb64e322 ELSA-2021-3074, ELSA-2021-3073

Affected packages

EcosystemPackageAffectedFixedRecord
npm ssri >= 5.2.2, < 6.0.2 6.0.2 GHSA-vx3p-948g-6vhq
npm ssri >= 7.0.0, < 7.1.1 7.1.1 GHSA-vx3p-948g-6vhq
npm ssri >= 8.0.0, < 8.0.1 8.0.1 GHSA-vx3p-948g-6vhq

Advisories 36

References