cbcvebase.
CVE-2021-22883
published 2021-03-03

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 'unknownProtocol'…

PriorityP258high7.5CVSS 3.1
AVNACLPRNUINSUCNINAH
EPSS
77.39%
99.5th percentile
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.

Affected

35 ranges· showing 25
VendorProductVersion rangeFixed in
debiannodejs< nodejs 12.21.0~dfsg-1 (bookworm)nodejs 12.21.0~dfsg-1 (bookworm)
fedoraprojectfedora
fedoraprojectfedora
fedoraprojectfedora
nodejsnode>= 10.0 < 10.24.010.24.0
nodejsnode>= 11.0 < 11.*11.*
nodejsnode>= 12.0 < 12.21.012.21.0
nodejsnode>= 13.0 < 13.*13.*
nodejsnode>= 14.0 < 14.16.014.16.0
nodejsnode>= 15.0 < 15.10.015.10.0
nodejsnode>= 4.0 < 4.*4.*
nodejsnode>= 5.0 < 5.*5.*
nodejsnode>= 6.0 < 6.*6.*
nodejsnode>= 7.0 < 7.*7.*
nodejsnode>= 8.0 < 8.*8.*
nodejsnode>= 9.0 < 9.*9.*
nodejsnode.js>= 10.0.0 < 10.24.010.24.0
nodejsnode.js>= 12.0.0 < 12.21.012.21.0
nodejsnode.js>= 14.0.0 < 14.16.014.16.0
nodejsnode.js>= 15.0.0 < 15.10.015.10.0
nodejsnodejs>= 0 < 12.21.0~dfsg-112.21.0~dfsg-1
nodejsnodejs>= 0 < 12.21.0~dfsg-112.21.0~dfsg-1
nodejsnodejs>= 0 < 12.21.0~dfsg-112.21.0~dfsg-1
nodejsnodejs>= 0 < 12.21.0~dfsg-112.21.0~dfsg-1
nodejsnodejs>= 0 < 10.19.0~dfsg-3ubuntu1.210.19.0~dfsg-3ubuntu1.2

Detection & IOCsextracted from sources · hover to see the quote

  • Detect excessive connection attempts using 'unknownProtocol' against Node.js HTTP2 servers, which causes file descriptor leaks and potential DoS
  • Monitor Node.js processes for abnormal file descriptor exhaustion or memory growth, which may indicate active exploitation of this DoS vulnerability
  • Flag Node.js HTTP/2 servers running versions prior to 10.24.0, 12.21.0, 14.16.0, or 15.10.0 as vulnerable to this unknownProtocol DoS attack
  • ·No known public exploits specifically target this vulnerability as of the advisory date
  • ·Red Hat Enterprise Linux 9 package of nodejs is listed as Not Affected; Red Hat Quay 3 (quay/quay-rhel8) is listed as Will Not Fix — adjust detection scope accordingly
  • ·Red Hat Quay 3.3 and 3.2 are not impacted because they do not use Node.js as an HTTP server

CVSS provenance

nvdv3.17.5HIGHCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
nvdv2.07.8HIGHAV:N/AC:L/Au:N/C:N/I:N/A:C
osv7.5HIGH
vendor_debian7.5HIGH
vendor_oracle7.5HIGH
vendor_redhat7.5HIGH
vendor_ubuntu7.5HIGH
Stop checking back — get the weekly exploitation signal.

Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.