CVE-2021-22883
Reported by hackerone · Published March 3, 2021
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| nodejs | Arch Linux | 15.10.0-1 |
| node-min | Bitnami | 15.10.0, 14.16.0, 12.21.0, 10.24.0 |
| nodejs-current | Alpine | 15.10.0-r0 |
| node | Bitnami | 15.10.0, 14.16.0, 12.21.0, 10.24.0 |
| nodejs | Alpine | 14.16.0-r0, 12.21.0-r0 |
| node | dhi.docker.com | 15.10.0, 14.16.0, 12.21.0, 10.24.0 |
| mysql_cluster | oracle | 8.0.25 |
| alpine/nodejs-20 | alpine | 15.10.0, 14.16.0, 12.21.0, 10.24.0 |
| jd_edwards_enterpriseone_tools | oracle | 9.2.6.0 |
| sinec_infrastructure_network_services | siemens | 1.0.1.1 |
| Node | NodeJS | 15.10.0, 14.16.0, 12.21.0, 10.24.0 |
| node | Bitnami | 15.10.0, 14.16.0, 12.21.0, 10.24.0 |
8 more packages have a fixed version. See every fix in Lookup.
Affected products
| Vendor | Product | Versions |
|---|---|---|
| NodeJS | Node | 4.0, 5.0, 6.0 |
| arch | nodejs | 0 |
| alpine | nodejs-current | 0 |
| NodeJS | Node | 8.0, 4.0, 10.0 |
| alpine | nodejs | 0, 0 |
Timeline
- Mar 3, 2021 CVE Published
- Mar 15, 2021 PoC Published
- Apr 14, 2021 EPSS Score (30 in total, the first dated here)
- Mar 7, 2026 Distribution Patch (12 in total, the first dated here)
- Mar 7, 2026 Security Advisory (17 in total, the first dated here)
- Aug 25, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2021-22883
vulnetix vdb fixes CVE-2021-22883
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2021-22883/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- x_refsource_MISC
- x_refsource_MISC
- FEDORA-2021-a760169c3c vendor-advisoryx_refsource_FEDORA
- FEDORA-2021-f6bd75e9d4 vendor-advisoryx_refsource_FEDORA
- FEDORA-2021-6aaba80ba2 vendor-advisoryx_refsource_FEDORA
- x_refsource_MISC
- x_refsource_CONFIRM
- x_refsource_MISC
- x_refsource_MISC
- x_refsource_CONFIRM