Vulnerability · Published Oct 7, 2021 · Assigned by hackerone
CVE-2021-22930
Critical 9.8
In plain English
A critical-severity use-after-free in Node from NodeJS. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 36.5% (higher than 98% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS NVD)9.8Critical
Exploit odds (30 days)36.5%top 1.5% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known
Official description
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 packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux:8 | nodejs | 1:12.22.5-1.module_el8.4.0+2529+af52a4c7 | ALSA-2021:3623 |
| AlmaLinux:8 | nodejs | 1:12.22.5-1.module_el8.5.0+85+79a7b441 | ALSA-2021:3623 |
| AlmaLinux:8 | nodejs-devel | 1:12.22.5-1.module_el8.5.0+85+79a7b441 | ALSA-2021:3623 |
| AlmaLinux:8 | nodejs-devel | 1:12.22.5-1.module_el8.4.0+2529+af52a4c7 | ALSA-2021:3623 |
| AlmaLinux:8 | nodejs-docs | 1:12.22.5-1.module_el8.4.0+2529+af52a4c7 | ALSA-2021:3623 |
| AlmaLinux:8 | nodejs-full-i18n | 1:12.22.5-1.module_el8.5.0+85+79a7b441 | ALSA-2021:3623 |
| AlmaLinux:8 | nodejs-full-i18n | 1:12.22.5-1.module_el8.4.0+2529+af52a4c7 | ALSA-2021:3623 |
| AlmaLinux:8 | nodejs-nodemon | 2.0.3-1.module_el8.4.0+2521+c668cc9f | ALSA-2021:3623 |
| AlmaLinux:8 | nodejs-nodemon | 2.0.3-1.module_el8.4.0+2521+c668cc9f | ALSA-2021:3666 |
| AlmaLinux:8 | nodejs-packaging | 23-3.module_el8.4.0+2522+3bd42762 | ALSA-2021:3666 |
| AlmaLinux:8 | nodejs-packaging | 17-3.module_el8.4.0+2224+b07ac28e | ALSA-2021:3623 |
| AlmaLinux:8 | nodejs-packaging | 17-3.module_el8.4.0+2521+c668cc9f | ALSA-2021:3623 |
| AlmaLinux:8 | nodejs-packaging | 17-3.module_el8.3.0+2023+d2377ea3 | ALSA-2021:3623 |
| AlmaLinux:8 | nodejs-packaging | 23-3.module_el8.5.0+254+b4526b16 | ALSA-2021:3666 |
| AlmaLinux:8 | npm | 1:6.14.14-1.12.22.5.1.module_el8.4.0+2529+af52a4c7 | ALSA-2021:3623 |
| AlmaLinux:8 | npm | 1:6.14.14-1.12.22.5.1.module_el8.5.0+85+79a7b441 | ALSA-2021:3623 |
| Alpine:v3.20 | nodejs | 14.17.4-r0 | ALPINE-CVE-2021-22930 |
| Alpine:v3.21 | nodejs | 14.17.4-r0 | ALPINE-CVE-2021-22930 |
| Alpine:v3.22 | nodejs | 14.17.4-r0 | ALPINE-CVE-2021-22930 |
| Alpine:v3.23 | nodejs | 14.17.4-r0 | ALPINE-CVE-2021-22930 |
| Alpine:v3.24 | nodejs | 14.17.4-r0 | ALPINE-CVE-2021-22930 |
| Alpine:v3.20 | nodejs-current | 16.6.0-r0 | ALPINE-CVE-2021-22930 |
| Alpine:v3.21 | nodejs-current | 16.6.0-r0 | ALPINE-CVE-2021-22930 |
| Alpine:v3.22 | nodejs-current | 16.6.0-r0 | ALPINE-CVE-2021-22930 |
| Alpine:v3.23 | nodejs-current | 16.6.0-r0 | ALPINE-CVE-2021-22930 |
| Alpine:v3.24 | nodejs-current | 16.6.0-r0 | ALPINE-CVE-2021-22930 |
| Debian:12 | nodejs | 12.22.4~dfsg-1 | DEBIAN-CVE-2021-22930 |
| Debian:13 | nodejs | 12.22.4~dfsg-1 | DEBIAN-CVE-2021-22930 |
| Debian:14 | nodejs | 12.22.4~dfsg-1 | DEBIAN-CVE-2021-22930 |
| Rocky Linux:8 | nodejs | 1:12.22.5-1.module+el8.4.0+647+e905fa21 | RLSA-2021:3623 |
| Rocky Linux:8 | nodejs | 1:14.17.5-1.module+el8.4.0+654+17ff1d38 | RLSA-2021:3666 |
| Rocky Linux:8 | nodejs-nodemon | 0:2.0.3-1.module+el8.4.0+638+5344c6f7 | RLSA-2021:3623 |
| Rocky Linux:8 | nodejs-nodemon | 0:2.0.3-1.module+el8.3.0+100+234774f7 | RLSA-2021:3666 |
| Rocky Linux:8 | nodejs-nodemon | 0:2.0.3-1.module+el8.6.0+982+9fdca2d4 | RLSA-2021:3666 |
| Rocky Linux:8 | nodejs-nodemon | 0:2.0.3-1.module+el8.4.0+638+5344c6f7 | RLSA-2021:3666 |
| Rocky Linux:8 | nodejs-nodemon | 0:2.0.3-1.module+el8.3.0+100+234774f7 | RLSA-2021:3623 |
| Rocky Linux:8 | nodejs-nodemon | 0:2.0.3-1.module+el8.6.0+982+9fdca2d4 | RLSA-2021:3623 |
| Rocky Linux:8 | nodejs-packaging | 0:17-3.module+el8.3.0+101+f84c7154 | RLSA-2021:3623 |
| Rocky Linux:8 | nodejs-packaging | 0:23-3.module+el8.5.0+733+de4fee6c | RLSA-2021:3666 |
| Rocky Linux:8 | nodejs-packaging | 0:23-3.module+el8.3.0+100+234774f7 | RLSA-2021:3666 |
| Rocky Linux:8 | nodejs-packaging | 0:23-3.module+el8.7.0+1071+4bdda2a8 | RLSA-2021:3666 |
Affected products (as reported)
Weakness: CWE-416
References
- https://hackerone.com/reports/1238162
- https://nodejs.org/en/blog/vulnerability/july-2021-security-releases-2/
- https://security.netapp.com/advisory/ntap-20211112-0002/
- https://cert-portal.siemens.com/productcert/pdf/ssa-389290.pdf
- [debian-lts-announce] 20221005 [SECURITY] [DLA 3137-1] nodejs security update mailing-list
- GLSA-202401-02 vendor-advisory