Description
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. When writing to a TLS enabled socket, node::StreamBase::Write calls node::TLSWrap::DoWrite with a freshly allocated WriteWrap object as first argument. If the DoWrite method does not return an error, this object is passed back to the caller as part of a StreamWriteResult structure. This may be exploited to corrupt memory leading to a Denial of Service or potentially other exploits.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| NodeJS | Node | 4.0 – < 4.*, 5.0 – < 5.*, 6.0 – < 6.*, 7.0 – < 7.*, 8.0 – < 8.*, 9.0 – < 9.*, 10.0 – < 10.23.1, 11.0 – < 11.*, 12.0 – < 12.20.1, 13.0 – < 13.*, 14.0 – < 14.15.4, 15.0 – < 15.5.1 | 4.* |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | nodejs | 12.20.1~dfsg-1 | — |
| Debian 13 | nodejs | 12.20.1~dfsg-1 | — |
| Debian 12 | nodejs | 12.20.1~dfsg-1 | — |
| Debian 10 | nodejs | 10.23.1~dfsg-1~deb10u1 | DSA-4826-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 20.04 LTS | nodejs | 10.19.0~dfsg-3ubuntu1.1 | USN-6380-1 |
Show 2 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 18.04 LTS | nodejs | 8.10.0~dfsg-2ubuntu0.4+esm2 | USN-6380-1 |
| Ubuntu Pro 16.04 LTS | nodejs | 4.2.6~dfsg-1ubuntu4.2+esm2 | USN-6380-1 |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 8 | nodejs +3 | 1:10.23.1-1.module+el8.3.0+9502+012d8a97 | RHSA-2021:0551, RHSA-2021:0549, RHSA-2021:0548 |
| RHEL 8 | nodejs-nodemon | 1.18.3-1.module+el8+2632+6c5111ed | RHSA-2021:0551, RHSA-2021:0549, RHSA-2021:0548 |
| RHEL 8 | nodejs-packaging | 17-3.module+el8.1.0+3369+37ae6a45 | RHSA-2021:0551, RHSA-2021:0549, RHSA-2021:0548 |
| RHEL 8 | npm | 1:6.14.10-1.10.23.1.1.module+el8.3.0+9502+012d8a97 | RHSA-2021:0551, RHSA-2021:0549, RHSA-2021:0548 |
| RHEL 3 | rh-nodejs10-nodejs +2 | 10.23.1-2.el7 | RHSA-2021:0521 |
| RHEL 3 | rh-nodejs10-npm | 6.14.10-10.23.1.2.el7 | RHSA-2021:0521 |
| RHEL 3 | rh-nodejs12-nodejs +2 | 12.20.1-1.el7 | RHSA-2021:0485 |
| RHEL 3 | rh-nodejs12-nodejs-nodemon | 2.0.3-1.el7 | RHSA-2021:0485 |
| RHEL 3 | rh-nodejs12-npm | 6.14.10-12.20.1.1.el7 | RHSA-2021:0485 |
| RHEL 3 | rh-nodejs14-nodejs +2 | 14.15.4-2.el7 | RHSA-2021:0421 |
| RHEL 3 | rh-nodejs14-npm | 6.14.10-14.15.4.2.el7 | RHSA-2021:0421 |
AlmaLinux
Errata ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux 8 | nodejs-nodemon | 1.18.3-1.module_el8.3.0+2023+d2377ea3 | ALSA-2021:0551, ALSA-2021:0549, ALSA-2021:0548 |
| AlmaLinux 8 | nodejs-packaging | 17-3.module_el8.3.0+2023+d2377ea3 | ALSA-2021:0551, ALSA-2021:0549, ALSA-2021:0548 |
Rocky Linux
Errata ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Rocky Linux 8 | nodejs-nodemon | 1.18.3-1.module+el8.3.0+101+f84c7154 | RLSA-2021:0551, RLSA-2021:0549, RLSA-2021:0548 |
| Rocky Linux 8 | nodejs-packaging | 17-3.module+el8.3.0+101+f84c7154 | RLSA-2021:0551, RLSA-2021:0549, RLSA-2021:0548 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 15 SP2 | nodejs10 | 10.23.1-1.30.1 | SUSE-SU-2021:0060-1 |
| SLES 15 SP2 | nodejs12 | 12.20.1-4.10.1 | SUSE-SU-2021:0062-1 |
| SLES 15 SP2 | nodejs14 | 14.15.4-5.6.1 | SUSE-SU-2021:0061-1 |
| SLES 15 SP1 | nodejs10 | 10.23.1-1.30.1 | SUSE-SU-2021:0060-1 |
| SLES 15 | nodejs10 | 10.23.1-1.30.1 | SUSE-SU-2021:0060-1 |
| SLES 12 | nodejs10 | 10.23.1-1.33.1 | SUSE-SU-2021:0082-1 |
| SLES 12 | nodejs12 | 12.20.1-1.26.1 | SUSE-SU-2021:0068-1 |
| SLES 12 | nodejs14 | 14.15.4-6.6.1 | SUSE-SU-2021:0107-1 |
Show 2 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES for SAP 15 | nodejs10 | 10.23.1-1.30.1 | SUSE-SU-2021:0060-1 |
| SLE HPC 15 | nodejs10 | 10.23.1-1.30.1 | SUSE-SU-2021:0060-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | nodejs14 | 14.17.5-1.2 | openSUSE-SU-2024:11096-1 |
| openSUSE Leap 15.2 | nodejs10 | 10.23.1-lp152.2.9.1 | openSUSE-SU-2021:0065-1 |
| openSUSE Leap 15.2 | nodejs12 | 12.20.1-lp152.3.9.1 | openSUSE-SU-2021:0064-1 |
| openSUSE Leap 15.2 | nodejs14 | 14.15.4-lp152.5.1 | openSUSE-SU-2021:0066-1 |
| openSUSE Leap 15.1 | nodejs10 | 10.23.1-lp151.2.15.1 | openSUSE-SU-2021:0082-1 |
Alpine
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.24 | nodejs | 14.15.4-r0 | — |
| Alpine v3.24 | nodejs-current | 15.5.1-r0 | — |
| Alpine v3.23 | nodejs | 14.15.4-r0 | — |
| Alpine v3.23 | nodejs-current | 15.5.1-r0 | — |
| Alpine v3.22 | nodejs | 14.15.4-r0 | — |
| Alpine v3.22 | nodejs-current | 15.5.1-r0 | — |
| Alpine v3.21 | nodejs | 14.15.4-r0 | — |
| Alpine v3.21 | nodejs-current | 15.5.1-r0 | — |
| Alpine v3.20 | nodejs | 14.15.4-r0 | — |
| Alpine v3.20 | nodejs-current | 15.5.1-r0 | — |
Show 9 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.19 | nodejs | 14.15.4-r0 | — |
| Alpine v3.19 | nodejs-current | 15.5.1-r0 | — |
| Alpine v3.18 | nodejs | 14.15.4-r0 | — |
| Alpine v3.18 | nodejs-current | 15.5.1-r0 | — |
| Alpine v3.17 | nodejs | 14.15.4-r0 | — |
| Alpine v3.17 | nodejs-current | 15.5.1-r0 | — |
| Alpine v3.16 | nodejs | 14.15.4-r0 | — |
| Alpine v3.16 | nodejs-current | 15.5.1-r0 | — |
| Alpine v3.15 | nodejs | 14.15.4-r0 | — |
| Alpine v3.15 | nodejs-current | 15.5.1-r0 | — |
| Alpine v3.14 | nodejs | 14.15.4-r0 | — |
| Alpine v3.14 | nodejs-current | 15.5.1-r0 | — |
| Alpine v3.13 | nodejs | 14.15.4-r0 | — |
| Alpine v3.13 | nodejs-current | 15.5.1-r0 | — |
| Alpine v3.12 | nodejs | 12.20.1-r0 | — |
| Alpine v3.11 | nodejs | 12.20.1-r0 | — |
Oracle Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Oracle Linux 8 | nodejs +3 | 1:10.23.1-1.module+el8.3.0+9642+87902f83 | ELSA-2021-0551, ELSA-2021-0549, ELSA-2021-0548 |
| Oracle Linux 8 | nodejs-nodemon | 1.18.3-1.module+el8.1.0+5392+4d6b561f | ELSA-2021-0551, ELSA-2021-0549, ELSA-2021-0548 |
| Oracle Linux 8 | nodejs-packaging | 17-3.module+el8.1.0+5392+4d6b561f | ELSA-2021-0551, ELSA-2021-0549, ELSA-2021-0548 |
| Oracle Linux 8 | npm | 1:6.14.10-1.10.23.1.1.module+el8.3.0+9642+87902f83 | ELSA-2021-0551, ELSA-2021-0549, ELSA-2021-0548 |
Advisories 33
- ALSA-2021:0549 Moderate: nodejs:12 security update AlmaLinux Security Advisories · Oct 29, 2026
- ALSA-2021:0551 Moderate: nodejs:14 security and bug fix update AlmaLinux Security Advisories · Oct 29, 2026
- ALSA-2021:0548 Moderate: nodejs:10 security update AlmaLinux Security Advisories · Oct 29, 2026
- RHSA-2021:0521 Red Hat Security Advisory: rh-nodejs10-nodejs security update Red Hat Security Advisories (RHSA) · Oct 14, 2026
- RHSA-2021:0548 Red Hat Security Advisory: nodejs:10 security update Red Hat Security Advisories (RHSA) · Oct 14, 2026
- RHSA-2021:0551 Red Hat Security Advisory: nodejs:14 security and bug fix update Red Hat Security Advisories (RHSA) · Oct 13, 2026
- RHSA-2021:0421 Red Hat Security Advisory: rh-nodejs14-nodejs security update Red Hat Security Advisories (RHSA) · Oct 13, 2026
- RHSA-2021:0549 Red Hat Security Advisory: nodejs:12 security update Red Hat Security Advisories (RHSA) · Jun 28, 2026
- RHSA-2021:0485 Red Hat Security Advisory: rh-nodejs12-nodejs security update Red Hat Security Advisories (RHSA) · Jun 28, 2026
- USN-6380-1 nodejs vulnerabilities Ubuntu Security Notices (USN) · Jun 25, 2026
- DSA-4826-1 nodejs - security update Debian Security (DSA / DLA) · Mar 9, 2026
- RLSA-2021:0549 Moderate: nodejs:12 security update Rocky Linux Security Advisories · Feb 5, 2026
- RLSA-2021:0551 Moderate: nodejs:14 security and bug fix update Rocky Linux Security Advisories · Feb 4, 2026
- RLSA-2021:0548 Moderate: nodejs:10 security update Rocky Linux Security Advisories · Feb 4, 2026
- openSUSE-SU-2021:0065-1 Security update for nodejs10 SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2021:0082-1 Security update for nodejs10 SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2021:0068-1 Security update for nodejs12 SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2021:0082-1 Security update for nodejs10 SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2021:0061-1 Security update for nodejs14 SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2021:0066-1 Security update for nodejs14 SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2021:0107-1 Security update for nodejs14 SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2021:0060-1 Security update for nodejs10 SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2024:11096-1 nodejs14-14.17.5-1.2 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2021:0062-1 Security update for nodejs12 SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2021:0064-1 Security update for nodejs12 SUSE / openSUSE Security Updates · Feb 4, 2026
- WID-SEC-2022-1000 Node.js: Mehrere Schwachstellen BSI CERT-Bund (WID) · Jun 19, 2025
- ICSA-22-069-09 Siemens SINEC INS CISA ICS & IT advisories · May 6, 2025
- ICSA-22-111-03 Hitachi Energy MicroSCADA Pro/X SYS600 CISA ICS & IT advisories · Apr 21, 2022
- ICSA-22-090-02 Hitachi Energy e-mesh EMS CISA ICS & IT advisories · Mar 31, 2022
- SSA-389290 SSA-389290: Third-Party Component Vulnerabilities in SINEC INS Siemens ProductCERT · Mar 8, 2022
- ELSA-2021-0549 Moderate: nodejs:12 security update (Oracle Linux 8) Oracle Linux Security Advisories (ELSA) · Feb 20, 2021
- ELSA-2021-0551 Moderate: nodejs:14 security and bug fix update (Oracle Linux 8) Oracle Linux Security Advisories (ELSA) · Feb 20, 2021
- ELSA-2021-0548 Moderate: nodejs:10 security update (Oracle Linux 8) Oracle Linux Security Advisories (ELSA) · Feb 20, 2021
References
- https://nodejs.org/en/blog/vulnerability/january-2021-security-releases/
- https://hackerone.com/reports/988103
- DSA-4826 vendor-advisory
- FEDORA-2021-fb1a136393 vendor-advisory
- GLSA-202101-07 vendor-advisory
- FEDORA-2021-d5b2c18fe6 vendor-advisory
- https://www.oracle.com/security-alerts/cpujan2021.html
- https://security.netapp.com/advisory/ntap-20210212-0003/
- https://cert-portal.siemens.com/productcert/pdf/ssa-389290.pdf