CVE-2021-22883: 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
Noroxi assessment
Priority: Plan (action score 53/100)
- The sources we track (CISA KEV, Exploit-DB, Metasploit, Nuclei, GitHub) show no public exploit code or exploitation in the wild.
- Probability of exploitation in the next 30 days: 77.3% (FIRST EPSS); higher than 99.5% of all records.
- Anyone who can reach it over the internet can trigger it. No account or password is required. No user action is required. No special conditions are required; it is repeatable.
- Fixed version: NodeJS Node 10.24.0, 11.*, 12.21.0.
- Mentioned 6 times in Turkish national cyber security advisories (siberguvenlik.gov.tr).
Add it to your regular patch cycle. Upgrade to NodeJS Node 10.24.0, 11.*, 12.21.0 or later.
Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it
Primary sources: NVD · CVE.org · FIRST EPSS
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.
- BDU:2021-01896
- ALSA-2021:0734
- ALSA-2021:0735
- ALSA-2021:0744
- DSA-4863-1
- openSUSE-SU-2021:0356-1
- openSUSE-SU-2021:0357-1
- openSUSE-SU-2021:0372-1
- openSUSE-SU-2024:11096-1
- RHSA-2021:0734
- RHSA-2021:0735
- RHSA-2021:0738
- RHSA-2021:0739
- RHSA-2021:0740
- RHSA-2021:0741
- RHSA-2021:0744
- RHSA-2021:0827
- RHSA-2021:0830
- RHSA-2021:0831
- RLSA-2021:0734
- Published
- Mar 3, 2021
- Updated
- Jun 16, 2026
- EPSS
- 77.3% · 99th percentile
- CWE
- CWE-400
Report tools
Action score
53
Plan
Add it to your regular patch cycle.
- CVSS
- 30 / 40 · 7.5 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 23 / 30 · 77.3%
Get told when this record changes
- Not in KEV: no record of exploitation in the wild
- No public exploit code on record
- A fix has been released
If any of these changes, we'll tell you in the daily email digest.
Running WordPress? Scan your site free with WP Lens
Noroxi analysis
What does it mean in your environment?
The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.
We use this product, ask for helpAffected systems
Is your version affected?
Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.
| Vendor | Product | CPE |
|---|---|---|
| nodejs | node.js | cpe:2.3:a:nodejs:node.js |
| fedoraproject | fedora | cpe:2.3:o:fedoraproject:fedora |
| netapp | e-series performance analyzer | cpe:2.3:a:netapp:e-series_performance_analyzer |
| oracle | graalvm | cpe:2.3:a:oracle:graalvm |
| oracle | jd edwards enterpriseone tools | cpe:2.3:a:oracle:jd_edwards_enterpriseone_tools |
| oracle | mysql cluster | cpe:2.3:a:oracle:mysql_cluster |
| oracle | nosql database | cpe:2.3:a:oracle:nosql_database |
| oracle | peoplesoft enterprise peopletools | cpe:2.3:a:oracle:peoplesoft_enterprise_peopletools |
| siemens | sinec infrastructure network services | cpe:2.3:a:siemens:sinec_infrastructure_network_services |
Using node.js? Add it to your stack and be the first to know about CVEs like this one. (Node.js)
Affected versions
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- nodejs node.js10.0.0 and later · before 10.24.0
- nodejs node.js12.0.0 and later · before 12.21.0
- nodejs node.js14.0.0 and later · before 14.16.0
- nodejs node.js15.0.0 and later · before 15.10.0
Versions reported by the vendor
Affected version ranges reported by the assigning authority (hackerone). Independent of NVD's CPE analysis and usually ahead of it.
NodeJS Node
- 4.0 and later · before 4.*affected · semver
- 5.0 and later · before 5.*affected · semver
- 6.0 and later · before 6.*affected · semver
- 7.0 and later · before 7.*affected · semver
- 8.0 and later · before 8.*affected · semver
- 9.0 and later · before 9.*affected · semver
- 10.0 and later · before 10.24.0affected · semver
- 11.0 and later · before 11.*affected · semver
- 12.0 and later · before 12.21.0affected · semver
- 13.0 and later · before 13.*affected · semver
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| AlmaLinux:8 | nodejs | before 1:10.24.0-1.module_el8.3.0+2047+b07ac28e | 1:10.24.0-1.module_el8.3.0+2047+b07ac28e |
| AlmaLinux:8 | nodejs | before 1:10.24.0-1.module_el8.5.0+81+7dbe79d3 | 1:10.24.0-1.module_el8.5.0+81+7dbe79d3 |
| AlmaLinux:8 | nodejs | before 1:10.24.0-1.module_el8.4.0+2224+b07ac28e | 1:10.24.0-1.module_el8.4.0+2224+b07ac28e |
| AlmaLinux:8 | nodejs-devel | before 1:10.24.0-1.module_el8.5.0+81+7dbe79d3 | 1:10.24.0-1.module_el8.5.0+81+7dbe79d3 |
| AlmaLinux:8 | nodejs-devel | before 1:10.24.0-1.module_el8.3.0+2047+b07ac28e | 1:10.24.0-1.module_el8.3.0+2047+b07ac28e |
| AlmaLinux:8 | nodejs-devel | before 1:10.24.0-1.module_el8.4.0+2224+b07ac28e | 1:10.24.0-1.module_el8.4.0+2224+b07ac28e |
| AlmaLinux:8 | nodejs-docs | before 1:10.24.0-1.module_el8.3.0+2047+b07ac28e | 1:10.24.0-1.module_el8.3.0+2047+b07ac28e |
| AlmaLinux:8 | nodejs-full-i18n | before 1:10.24.0-1.module_el8.3.0+2047+b07ac28e | 1:10.24.0-1.module_el8.3.0+2047+b07ac28e |
| AlmaLinux:8 | nodejs-full-i18n | before 1:10.24.0-1.module_el8.5.0+81+7dbe79d3 | 1:10.24.0-1.module_el8.5.0+81+7dbe79d3 |
| AlmaLinux:8 | nodejs-full-i18n | before 1:10.24.0-1.module_el8.4.0+2224+b07ac28e | 1:10.24.0-1.module_el8.4.0+2224+b07ac28e |
| AlmaLinux:8 | nodejs-nodemon | before 2.0.3-1.module_el8.4.0+2521+c668cc9f | 2.0.3-1.module_el8.4.0+2521+c668cc9f |
| AlmaLinux:8 | nodejs-nodemon | before 1.18.3-1.module_el8.3.0+2047+b07ac28e | 1.18.3-1.module_el8.3.0+2047+b07ac28e |
| AlmaLinux:8 | nodejs-nodemon | before 1.18.3-1.module_el8.3.0+2023+d2377ea3 | 1.18.3-1.module_el8.3.0+2023+d2377ea3 |
| AlmaLinux:8 | nodejs-packaging | before 17-3.module_el8.4.0+2224+b07ac28e | 17-3.module_el8.4.0+2224+b07ac28e |
| AlmaLinux:8 | nodejs-packaging | before 23-3.module_el8.4.0+2522+3bd42762 | 23-3.module_el8.4.0+2522+3bd42762 |
| AlmaLinux:8 | nodejs-packaging | before 23-3.module_el8.5.0+254+b4526b16 | 23-3.module_el8.5.0+254+b4526b16 |
| AlmaLinux:8 | nodejs-packaging | before 17-3.module_el8.3.0+2023+d2377ea3 | 17-3.module_el8.3.0+2023+d2377ea3 |
| AlmaLinux:8 | nodejs-packaging | before 17-3.module_el8.4.0+2521+c668cc9f | 17-3.module_el8.4.0+2521+c668cc9f |
| AlmaLinux:8 | npm | before 1:6.14.11-1.10.24.0.1.module_el8.3.0+2047+b07ac28e | 1:6.14.11-1.10.24.0.1.module_el8.3.0+2047+b07ac28e |
| AlmaLinux:8 | npm | before 1:6.14.11-1.10.24.0.1.module_el8.4.0+2224+b07ac28e | 1:6.14.11-1.10.24.0.1.module_el8.4.0+2224+b07ac28e |
| AlmaLinux:8 | npm | before 1:6.14.11-1.10.24.0.1.module_el8.5.0+81+7dbe79d3 | 1:6.14.11-1.10.24.0.1.module_el8.5.0+81+7dbe79d3 |
| Alpine:v3.11 | nodejs | before 12.21.0-r0 | 12.21.0-r0 |
| Alpine:v3.13 | nodejs | before 14.16.0-r0 | 14.16.0-r0 |
| Debian:10 | nodejs | before 10.24.0~dfsg-1~deb10u1 | 10.24.0~dfsg-1~deb10u1 |
+93
Same product
nodejs: all recordsOther highest-scoring records for the same primary product.
- CVE-2019-15605HTTP request smuggling in Node.js 10, 12, and 13 causes malicious payload delivery when transfer-encoding is malformed56Plan
- CVE-2021-22930Node.js before 16.6.0, 14.17.4, and 12.22.4 is vulnerable to a use after free attack where an attacker might be able to exploit the memory c50Plan
- CVE-2021-22931Node.js before 16.6.0, 14.17.4, and 12.22.4 is vulnerable to Remote Code Execution, XSS, Application crashes due to missing input validation46Plan
Published before and after this one in the same product
- ← EarlierCVE-2020-8265Jan 6, 2021 · Node.js versions before 10.23.1, 12.20.1, 14.15.4, 15.5.1 are vulnerable to a use-after-free bug in its TLS implementation.35Monitor
- ← EarlierCVE-2020-8287Jan 6, 2021 · Node.js versions before 10.23.1, 12.20.1, 14.15.4, 15.5.1 allow two copies of a header field in an HTTP request (for example, two Transfer-E31Monitor
- Later →CVE-2021-22884Mar 3, 2021 · Node.js before 10.24.0, 12.21.0, 14.16.0, and 15.10.0 is vulnerable to DNS rebinding attacks as the whitelist includes “localhost6”.41Plan
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| NodeJS Node | 10.24.0 | Vendor (CNA) |
| NodeJS Node | 11.* | Vendor (CNA) |
| NodeJS Node | 12.21.0 | Vendor (CNA) |
| NodeJS Node | 13.* | Vendor (CNA) |
| NodeJS Node | 14.16.0 | Vendor (CNA) |
| NodeJS Node | 15.10.0 | Vendor (CNA) |
| NodeJS Node | 4.* | Vendor (CNA) |
| NodeJS Node | 5.* | Vendor (CNA) |
| NodeJS Node | 6.* | Vendor (CNA) |
| NodeJS Node | 7.* | Vendor (CNA) |
| NodeJS Node | 8.* | Vendor (CNA) |
| NodeJS Node | 9.* | Vendor (CNA) |
| almalinux:nodejs | 1:10.24.0-1.module_el8.5.0+81+7dbe79d3 · AlmaLinux:8 | Package registry (OSV) |
| almalinux:nodejs-devel | 1:10.24.0-1.module_el8.4.0+2224+b07ac28e · AlmaLinux:8 | Package registry (OSV) |
| almalinux:nodejs-docs | 1:10.24.0-1.module_el8.3.0+2047+b07ac28e · AlmaLinux:8 | Package registry (OSV) |
| almalinux:nodejs-full-i18n | 1:10.24.0-1.module_el8.5.0+81+7dbe79d3 · AlmaLinux:8 | Package registry (OSV) |
| almalinux:nodejs-nodemon | 2.0.3-1.module_el8.4.0+2521+c668cc9f · AlmaLinux:8 | Package registry (OSV) |
| almalinux:nodejs-packaging | 17-3.module_el8.4.0+2224+b07ac28e · AlmaLinux:8 | Package registry (OSV) |
| almalinux:npm | 1:6.14.11-1.10.24.0.1.module_el8.5.0+81+7dbe79d3 · AlmaLinux:8 | Package registry (OSV) |
| alpine:nodejs | 12.21.0-r0 · Alpine:v3.11 | Package registry (OSV) |
| debian:nodejs | 12.21.0~dfsg-1 · Debian:12 | Package registry (OSV) |
| opensuse:nodejs10 | 10.24.0-lp152.2.12.1 · openSUSE:Leap 15.2 | Package registry (OSV) |
| opensuse:nodejs12 | 12.21.0-lp152.3.12.1 · openSUSE:Leap 15.2 | Package registry (OSV) |
| opensuse:nodejs14 | 14.16.0-lp152.8.1 · openSUSE:Leap 15.2 | Package registry (OSV) |
| red hat:nodejs | 1:12.21.0-1.module+el8.3.0+10191+34fb5a07 · Red Hat:enterprise_linux:8::appstream | Package registry (OSV) |
| red hat:nodejs-debuginfo | 1:12.21.0-1.module+el8.3.0+10191+34fb5a07 · Red Hat:enterprise_linux:8::appstream | Package registry (OSV) |
| red hat:nodejs-debugsource | 1:12.21.0-1.module+el8.3.0+10191+34fb5a07 · Red Hat:enterprise_linux:8::appstream | Package registry (OSV) |
| red hat:nodejs-devel | 1:12.21.0-1.module+el8.3.0+10191+34fb5a07 · Red Hat:enterprise_linux:8::appstream | Package registry (OSV) |
| red hat:nodejs-docs | 1:12.21.0-1.module+el8.3.0+10191+34fb5a07 · Red Hat:enterprise_linux:8::appstream | Package registry (OSV) |
| red hat:nodejs-full-i18n | 1:12.21.0-1.module+el8.3.0+10191+34fb5a07 · Red Hat:enterprise_linux:8::appstream | Package registry (OSV) |
+12
Exploit status
No known public exploit
No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
No dated events beyond publication.
FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).
Patch and commit links
Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.
No commit or PR link among the references.
Credits
All researchersFinders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.
No credits in the CNA record.
Variant candidates
Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.
No nightly-computed relations.
Chain candidates
An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.
—
Bug bounty scope
The product’s vendor appears in a public program. Matched by name; verify the scope text in the program.
National notice (Türkiye Cybersecurity Directorate / USOM)
Official security notices citing this record; remediation advice is on the agency's page.
- TR-22-0274 · Apr 1, 2022(Hitachi Güvenlik Bildirimi)
- TR-22-0215 · Mar 11, 2022(Siemens Güvenlik Bildirimi)
- TR-21-0803 · Oct 5, 2021(IBM Güvenlik Bülteni)
- TR-21-0612 · Aug 5, 2021(IBM Güvenlik Bülteni Yayınladı)
- TR-21-0484 · Jun 16, 2021(IBM Güvenlik Bülteni Yayınladı)
- TR-21-0372 · May 3, 2021(IBM Güvenlik Bülteni Yayınladı)
Technical details
Attack conditions
- Anyone who can reach it over the internet can trigger it.
- No account or password is required.
- No user action is required.
- No special conditions are required; it is repeatable.
If successful
- Confidentiality
- none
- Integrity
- none
- Availability
- high · the service can be disrupted
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality impact
- None
- Integrity impact
- None
- Availability impact
- High
Weakness class (CWE)
CWE-400 · Uncontrolled Resource ConsumptionCVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
nvd-primary
Root cause
Code that parses nested structures sets no depth or size limit. A small input can turn into a disproportionate processing load.
The bug in code
The whole CWE-400 classA representative example of this vulnerability class. Not the vendor's source code; it shows the faulty pattern and its fix.
Vulnerable
function expand(node) {
return node.children.map(expand);
}Fixed
const MAX_DEPTH = 32;
function expand(node, depth = 0) {
if (depth > MAX_DEPTH) throw new Error("too deep");
return node.children.map((c) => expand(c, depth + 1));
}Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
Change log
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
Show all references (9 more)Show less
- hackerone.com/reports/1043360
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/E4FRS5ZVK4ZQ7XIJQNGIKUXG2DJFHLO7/
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/F45Y7TXSU33MTKB6AGL2Q5V5ZOCNPKOG/
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/HSYFUGKFUSZ27M5TEZ3FKILWTWFJTFAZ/
- nodejs.org/en/blog/vulnerability/february-2021-security-releases/
- security.netapp.com/advisory/ntap-20210416-0001/
- www.oracle.com//security-alerts/cpujul2021.html
- www.oracle.com/security-alerts/cpuApr2021.html
- www.oracle.com/security-alerts/cpuoct2021.html
Vendor advisories and official records. Exploit/PoC links are deliberately left out.