cve.bz

CVE-2021-22883 Uncontrolled Resource Consumption

7.5 highEPSS 77%Fix available

High (7.5). EPSS 77% estimated probability of exploitation activity in the next 30 days.

On this page
Node.js before 10.24.0, 12.21.0, 14.16.0, and 15.10.0 is vulnerable to a denial of service attack when too many connection attempts with an 'unknownProtocol' are established. This leads to a leak of file descriptors. If a file descriptor limit is configured on the system, then the server is unable to accept new connections and prevent the process also from opening, e.g. a file. If no file descriptor limit is configured, then this lead to an excessive memory usage and cause the system to run out of memory.

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
77% (unchanged from 77% a week ago; 77% 30 days ago) estimated probability of exploitation activity in the next 30 days; 100th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWEs
CWE-772 Missing Release of Resource after Effective Lifetime
CWE-400 Uncontrolled Resource Consumption
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2021-22883 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2021-22883?via=ask-ai-copy and https://cve.bz/cve/CVE-2021-22883?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-22883 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 CNA's record in the CVE List.

ProductAffected
NodeJS Nodefrom 4.0 before 4.*
NodeJS Nodefrom 5.0 before 5.*
NodeJS Nodefrom 6.0 before 6.*
NodeJS Nodefrom 7.0 before 7.*
NodeJS Nodefrom 8.0 before 8.*
NodeJS Nodefrom 9.0 before 9.*
NodeJS Nodefrom 10.0 before 10.24.0
NodeJS Nodefrom 11.0 before 11.*
NodeJS Nodefrom 12.0 before 12.21.0
NodeJS Nodefrom 13.0 before 13.*
NodeJS Nodefrom 14.0 before 14.16.0
NodeJS Nodefrom 15.0 before 15.10.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian10nodejs10.24.0~dfsg-1~deb10u1DSA-4863-1
Debian12, 13, 14nodejs12.21.0~dfsg-1DEBIAN-CVE-2021-22883
Ubuntu20.04:LTSnodejs10.19.0~dfsg-3ubuntu1.2UBUNTU-CVE-2021-22883 USN-6418-1
UbuntuPro:18.04:LTSnodejsno fix listedUBUNTU-CVE-2021-22883 USN-6418-1
Red Hatenterprise_linux:8::appstreamnodejs, nodejs-docs, nodejs-devel and 3 more1:10.24.0-1.module+el8.3.0+10166+b07ac28eRHSA-2021:0735
Red Hatenterprise_linux:8::appstreamnodejs, nodejs-docs, nodejs-devel and 3 more1:12.21.0-1.module+el8.3.0+10191+34fb5a07RHSA-2021:0734
Red Hatenterprise_linux:8::appstreamnodejs, nodejs-docs, nodejs-devel and 3 more1:14.16.0-2.module+el8.3.0+10180+b92e1eb6RHSA-2021:0744
Red Hatenterprise_linux:8::appstreamnodejs-nodemon0:1.18.3-1.module+el8+2632+6c5111edRHSA-2021:0735
Red Hatenterprise_linux:8::appstreamnodejs-nodemon0:2.0.3-1.module+el8.3.0+6519+9f98ed83RHSA-2021:0744
Red Hatenterprise_linux:8::appstreamnodejs-nodemon0:2.0.3-1.module+el8.3.0+9715+1718613fRHSA-2021:0734
Red Hatenterprise_linux:8::appstreamnodejs-packaging0:17-3.module+el8+2873+aa7dfd9aRHSA-2021:0735
Red Hatenterprise_linux:8::appstreamnodejs-packaging0:17-3.module+el8.1.0+3369+37ae6a45RHSA-2021:0734
Red Hatenterprise_linux:8::appstreamnodejs-packaging0:23-3.module+el8.3.0+6519+9f98ed83RHSA-2021:0744
Red Hatenterprise_linux:8::appstreamnpm1:6.14.11-1.10.24.0.1.module+el8.3.0+10166+b07ac28eRHSA-2021:0735
Red Hatenterprise_linux:8::appstreamnpm1:6.14.11-1.12.21.0.1.module+el8.3.0+10191+34fb5a07RHSA-2021:0734
Red Hatenterprise_linux:8::appstreamnpm1:6.14.11-1.14.16.0.2.module+el8.3.0+10180+b92e1eb6RHSA-2021:0744
22 more for Red Hat in the JSON and on Red Hat's page.
SUSEEnterprise Storage 6, Linux Enterprise High Performance Computing 15 SP1-ESPOS, Linux Enterprise High Performance Computing 15 SP1-LTSS and 11 morenodejs1010.24.0-1.33.2SUSE-SU-2021:0674-1
SUSELinux Enterprise Module for Web and Scripting 12nodejs1010.24.0-1.36.2SUSE-SU-2021:0673-1
SUSELinux Enterprise Module for Web and Scripting 12nodejs1212.21.0-1.29.2SUSE-SU-2021:0649-1
SUSELinux Enterprise Module for Web and Scripting 12nodejs1414.16.0-6.9.2SUSE-SU-2021:0650-1
SUSELinux Enterprise Module for Web and Scripting 15 SP2nodejs1212.21.0-4.13.2SUSE-SU-2021:0651-1
SUSELinux Enterprise Module for Web and Scripting 15 SP2nodejs1414.16.0-5.9.1SUSE-SU-2021:0648-1
openSUSELeap 15.2nodejs1010.24.0-lp152.2.12.1openSUSE-SU-2021:0372-1
openSUSELeap 15.2nodejs1212.21.0-lp152.3.12.1openSUSE-SU-2021:0357-1
openSUSELeap 15.2nodejs1414.16.0-lp152.8.1openSUSE-SU-2021:0356-1
openSUSETumbleweednodejs1414.17.5-1.2openSUSE-SU-2024:11096-1
AlmaLinux8nodejs, nodejs-devel, nodejs-full-i18n1:10.24.0-1.module_el8.4.0+2224+b07ac28eALSA-2021:0735
AlmaLinux8nodejs, nodejs-devel, nodejs-full-i18n1:10.24.0-1.module_el8.5.0+81+7dbe79d3ALSA-2021:0735
AlmaLinux8nodejs, nodejs-docs, nodejs-devel and 1 more1:10.24.0-1.module_el8.3.0+2047+b07ac28eALSA-2021:0735
AlmaLinux8nodejs-nodemon1.18.3-1.module_el8.3.0+2023+d2377ea3ALSA-2021:0735
AlmaLinux8nodejs-nodemon1.18.3-1.module_el8.3.0+2047+b07ac28eALSA-2021:0735
AlmaLinux8nodejs-nodemon2.0.3-1.module_el8.4.0+2521+c668cc9fALSA-2021:0734 ALSA-2021:0744
AlmaLinux8nodejs-packaging17-3.module_el8.3.0+2023+d2377ea3ALSA-2021:0734 ALSA-2021:0735
AlmaLinux8nodejs-packaging17-3.module_el8.4.0+2224+b07ac28eALSA-2021:0734 ALSA-2021:0735
AlmaLinux8nodejs-packaging17-3.module_el8.4.0+2521+c668cc9fALSA-2021:0734 ALSA-2021:0735
AlmaLinux8nodejs-packaging23-3.module_el8.4.0+2522+3bd42762ALSA-2021:0744
AlmaLinux8nodejs-packaging23-3.module_el8.5.0+254+b4526b16ALSA-2021:0744
AlmaLinux8npm1:6.14.11-1.10.24.0.1.module_el8.3.0+2047+b07ac28eALSA-2021:0735
2 more for AlmaLinux in the JSON.
Rocky Linux8nodejs1:10.24.0-1.module+el8.3.0+101+f84c7154RLSA-2021:0735
Rocky Linux8nodejs1:12.21.0-1.module+el8.3.0+99+3663d81cRLSA-2021:0734
Rocky Linux8nodejs1:14.16.0-2.module+el8.3.0+100+234774f7RLSA-2021:0744
Rocky Linux8nodejs-nodemon0:1.18.3-1.module+el8.3.0+101+f84c7154RLSA-2021:0735
Rocky Linux8nodejs-nodemon0:2.0.3-1.module+el8.3.0+100+234774f7RLSA-2021:0734 RLSA-2021:0744
Rocky Linux8nodejs-nodemon0:2.0.3-1.module+el8.4.0+638+5344c6f7RLSA-2021:0734 RLSA-2021:0744
Rocky Linux8nodejs-nodemon0:2.0.3-1.module+el8.6.0+982+9fdca2d4RLSA-2021:0734 RLSA-2021:0744
Rocky Linux8nodejs-packaging0:17-3.module+el8.3.0+101+f84c7154RLSA-2021:0734 RLSA-2021:0735
Rocky Linux8nodejs-packaging0:23-3.module+el8.3.0+100+234774f7RLSA-2021:0744
Rocky Linux8nodejs-packaging0:23-3.module+el8.5.0+733+de4fee6cRLSA-2021:0744
Rocky Linux8nodejs-packaging0:23-3.module+el8.7.0+1071+4bdda2a8RLSA-2021:0744
Alpinev3.11, v3.12nodejs12.21.0-r0ALPINE-CVE-2021-22883
Alpinev3.13, v3.14, v3.15 and 9 morenodejs14.16.0-r0ALPINE-CVE-2021-22883
Alpinev3.13, v3.14, v3.15 and 9 morenodejs-current15.10.0-r0ALPINE-CVE-2021-22883

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; the Alpine secdb, CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpine.

Red Hat

Red Hat rates this Important.

Red Hat's statement

Red Hat Quay from version 3.4 consumes the nodejs from RHEL, so security tracking is provided by the container health index on the customer portal [1]. Additionally there is no impact from this issue on Quay 3.3 and 3.2 because they don't use nodejs as a HTTP server.

[1] https://catalog.redhat.com/software/containers/quay/quay-rhel8/600e03aadd19c7786c43ae49?container-tabs=security

ProductPackageStateAdvisory
Red Hat Enterprise Linux 8nodejs:12-8030020210302104621.229f0a1cFixed 2021-03-04RHSA-2021:0734
Red Hat Enterprise Linux 8nodejs:10-8030020210225164533.229f0a1cFixed 2021-03-04RHSA-2021:0735
Red Hat Enterprise Linux 8nodejs:14-8030020210301172147.229f0a1cFixed 2021-03-08RHSA-2021:0744
Red Hat Enterprise Linux 8.1 Extended Update Supportnodejs:12-8010020210302113522.c27ad7f8Fixed 2021-03-08RHSA-2021:0739
Red Hat Enterprise Linux 8.1 Extended Update Supportnodejs:10-8010020210225115101.c27ad7f8Fixed 2021-03-08RHSA-2021:0741
Red Hat Enterprise Linux 8.2 Extended Update Supportnodejs:10-8020020210225153906.4cda2c84Fixed 2021-03-08RHSA-2021:0738
Red Hat Enterprise Linux 8.2 Extended Update Supportnodejs:12-8020020210302112530.4cda2c84Fixed 2021-03-08RHSA-2021:0740
Red Hat Software Collections for Red Hat Enterprise Linux 7rh-nodejs10-nodejs-0:10.24.0-1.el7Fixed 2021-03-15RHSA-2021:0827
Red Hat Software Collections for Red Hat Enterprise Linux 7rh-nodejs14-nodejs-0:14.16.0-1.el7Fixed 2021-03-15RHSA-2021:0830
Red Hat Software Collections for Red Hat Enterprise Linux 7rh-nodejs12-nodejs-0:12.21.0-1.el7Fixed 2021-03-15RHSA-2021:0831
Red Hat Software Collections for Red Hat Enterprise Linux 7.6 EUSrh-nodejs10-nodejs-0:10.24.0-1.el7Fixed 2021-03-15RHSA-2021:0827
Red Hat Software Collections for Red Hat Enterprise Linux 7.6 EUSrh-nodejs14-nodejs-0:14.16.0-1.el7Fixed 2021-03-15RHSA-2021:0830
Red Hat Software Collections for Red Hat Enterprise Linux 7.6 EUSrh-nodejs12-nodejs-0:12.21.0-1.el7Fixed 2021-03-15RHSA-2021:0831
Red Hat Software Collections for Red Hat Enterprise Linux 7.7 EUSrh-nodejs10-nodejs-0:10.24.0-1.el7Fixed 2021-03-15RHSA-2021:0827
Red Hat Software Collections for Red Hat Enterprise Linux 7.7 EUSrh-nodejs14-nodejs-0:14.16.0-1.el7Fixed 2021-03-15RHSA-2021:0830
Red Hat Software Collections for Red Hat Enterprise Linux 7.7 EUSrh-nodejs12-nodejs-0:12.21.0-1.el7Fixed 2021-03-15RHSA-2021:0831
Red Hat Enterprise Linux 9nodejsNot affected
Red Hat Quay 3quay/quay-rhel8Will not fix

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-22883.

ICS advisories (CISA)

AdvisoryTitlePublishedSectorsAffectedFixed
ICSA-22-090-02Hitachi Energy e-mesh EMS2022-03-31Energye-mesh EMS: Version 1.0none listed
ICSA-22-069-09Siemens SINEC INS2022-03-08MultipleSINEC INSnone listed

From CISA's ICS advisories (CSAF), provided under CISA's notification. Only the facts are shown; each advisory is on CISA's page. Credits.

Attack patterns (CAPEC)

  • CAPEC-469 HTTP DoS Severity: Low
  • CAPEC-147 XML Ping of the Death Likelihood: Low · Severity: Medium
  • CAPEC-227 Sustained Client Engagement
  • 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