cbcvebase.
CVE-2021-22930
published 2021-10-07

CVE-2021-22930: Node.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 corruption, to…

PriorityP263critical9.8CVSS 3.1
AVNACLPRNUINSUCHIHAH
EPSS
37.29%
98.4th percentile
Node.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 corruption, to change process behavior.

Affected

26 ranges· showing 25
VendorProductVersion rangeFixed in
debiandebian_linux
debiannodejs< nodejs 12.22.4~dfsg-1 (bookworm)nodejs 12.22.4~dfsg-1 (bookworm)
msrccbl2_nodejs_16.14.0-1_on_cbl_mariner_2.0
msrccbl_mariner_2.0_arm
msrccbl_mariner_2.0_x64
nodejsnode>= 10.0 < 10.*10.*
nodejsnode>= 11.0 < 11.*11.*
nodejsnode>= 12.0 < 12.22.412.22.4
nodejsnode>= 13.0 < 13.*13.*
nodejsnode>= 14.0 < 14.17.414.17.4
nodejsnode>= 15.0 < 15.*15.*
nodejsnode>= 16.0 < 16.6.016.6.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>= 12.0.0 < 12.22.412.22.4
nodejsnode.js>= 14.0.0 < 14.17.414.17.4
nodejsnode.js>= 16.0.0 < 16.6.016.6.0
nodejsnodejs>= 0 < 12.22.5~dfsg-2~11u112.22.5~dfsg-2~11u1
nodejsnodejs>= 0 < 12.22.4~dfsg-112.22.4~dfsg-1
nodejsnodejs>= 0 < 12.22.4~dfsg-112.22.4~dfsg-1
nodejsnodejs>= 0 < 12.22.4~dfsg-112.22.4~dfsg-1

Detection & IOCsextracted from sources · hover to see the quote

  • CVE-2021-22930 is a use-after-free vulnerability triggered via HTTP/2 stream cancellation in Node.js; monitor for unexpected process crashes or behavior changes in Node.js HTTP/2 servers as a potential exploitation indicator
  • The vulnerability is specifically in the HTTP/2 close-on-stream-canceling code path; detection should focus on anomalous HTTP/2 stream cancellation patterns sent to Node.js servers running versions before 16.6.0, 14.17.4, or 12.22.4
  • The Red Hat advisory titles this as 'Use-after-free on close http2 on stream canceling', confirming the attack vector is HTTP/2 stream cancellation; alert on Node.js process crashes (SIGSEGV/memory corruption) originating from HTTP/2 handler code
  • ·The fix for CVE-2021-22930 was incomplete; CVE-2021-22940 is a follow-up addressing the same use-after-free in HTTP/2 stream cancellation. Patching to 16.6.0/14.17.4/12.22.4 alone may not be sufficient — patch to 16.6.1/14.17.5/12.22.5 or later to fully remediate.
  • ·Red Hat Enterprise Linux 8 Node.js streams and Red Hat Software Collections are not affected by the incomplete fix (CVE-2021-22930 patch was never released to those channels), but the original underlying vulnerability does affect those components.
  • ·The highest threat from this vulnerability is to confidentiality and integrity, meaning successful exploitation could allow an attacker to change process behavior beyond a simple crash.

CVSS provenance

nvdv3.19.8CRITICALCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
nvdv2.07.5HIGHAV:N/AC:L/Au:N/C:P/I:P/A:P
osv9.8CRITICAL
vendor_debian9.8CRITICAL
vendor_msrc9.8CRITICAL
vendor_redhat9.8CRITICAL
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.