Description
The implementation of realpath in libuv < 10.22.1, < 12.18.4, and < 14.9.0 used within Node.js incorrectly determined the buffer size which can result in a buffer overflow if the resolved path is longer than 256 bytes.
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.22.1, 11.0 – < 11.*, 12.0 – < 12.18.4, 13.0 – < 13.*, 14.0 – < 14.9.0 | 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 | libuv1 | 1.39.0-1 | — |
| Debian 13 | libuv1 | 1.39.0-1 | — |
| Debian 12 | libuv1 | 1.39.0-1 | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 20.04 LTS | libuv1 | 1.34.2-1ubuntu1.1 | USN-4548-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:0548, RHSA-2020:4272 |
| RHEL 8 | nodejs-nodemon | 1.18.3-1.module+el8.1.0+3369+37ae6a45 | RHSA-2021:0548, RHSA-2020:4272 |
| RHEL 8 | nodejs-packaging | 17-3.module+el8.1.0+3369+37ae6a45 | RHSA-2021:0548, RHSA-2020:4272 |
| RHEL 8 | npm | 1:6.14.6-1.12.18.4.2.module+el8.2.0+8361+192e434e | RHSA-2021:0548, RHSA-2020:4272 |
| 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.18.4-3.el7 | RHSA-2020:5086 |
| RHEL 3 | rh-nodejs12-npm | 6.14.6-12.18.4.3.el7 | RHSA-2020:5086 |
Show 1 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 8.1 EUS | nodejs +3 | 1:12.18.4-2.module+el8.1.0+8360+14141500 | RHSA-2020:4903 |
| RHEL 8.1 EUS | nodejs-nodemon | 1.18.3-1.module+el8.1.0+3369+37ae6a45 | RHSA-2020:4903 |
| RHEL 8.1 EUS | nodejs-packaging | 17-3.module+el8.1.0+3369+37ae6a45 | RHSA-2020:4903 |
| RHEL 8.1 EUS | npm | 1:6.14.6-1.12.18.4.2.module+el8.1.0+8360+14141500 | RHSA-2020:4903 |
AlmaLinux
Errata ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux 8 | nodejs-nodemon | 1.18.3-1.module_el8.3.0+2023+d2377ea3 | ALSA-2021:0548, ALSA-2020:4272 |
| AlmaLinux 8 | nodejs-packaging | 17-3.module_el8.3.0+2023+d2377ea3 | ALSA-2021:0548, ALSA-2020:4272 |
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:0548, RLSA-2020:4272 |
| Rocky Linux 8 | nodejs-packaging | 17-3.module+el8.3.0+101+f84c7154 | RLSA-2021:0548, RLSA-2020:4272 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 15 SP2 | nodejs10 | 10.22.1-1.27.1 | SUSE-SU-2020:2829-1 |
| SLES 15 SP2 | nodejs12 | 12.18.4-4.6.1 | SUSE-SU-2020:2813-1 |
| SLES 15 SP1 | nodejs10 | 10.22.1-1.27.1 | SUSE-SU-2020:2829-1 |
| SLES 15 | nodejs10 | 10.22.1-1.27.1 | SUSE-SU-2020:2829-1 |
| SLES 12 | nodejs10 | 10.22.1-1.30.1 | SUSE-SU-2020:2823-1 |
| SLES 12 | nodejs12 | 12.18.4-1.20.1 | SUSE-SU-2020:2812-1 |
Show 2 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES for SAP 15 | nodejs10 | 10.22.1-1.27.1 | SUSE-SU-2020:2829-1 |
| SLE HPC 15 | nodejs10 | 10.22.1-1.27.1 | SUSE-SU-2020:2829-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Leap 15.2 | nodejs10 | 10.22.1-lp152.2.6.1 | openSUSE-SU-2020:1660-1 |
| openSUSE Leap 15.2 | nodejs12 | 12.18.4-lp152.3.6.1 | openSUSE-SU-2020:1616-1 |
Alpine
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.24 | libuv | 1.39.0-r0 | — |
| Alpine v3.24 | nodejs | 12.18.4-r0 | — |
| Alpine v3.23 | libuv | 1.39.0-r0 | — |
| Alpine v3.23 | nodejs | 12.18.4-r0 | — |
| Alpine v3.22 | libuv | 1.39.0-r0 | — |
| Alpine v3.22 | nodejs | 12.18.4-r0 | — |
| Alpine v3.21 | libuv | 1.39.0-r0 | — |
| Alpine v3.21 | nodejs | 12.18.4-r0 | — |
| Alpine v3.20 | libuv | 1.39.0-r0 | — |
| Alpine v3.20 | nodejs | 12.18.4-r0 | — |
Show 9 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.19 | libuv | 1.39.0-r0 | — |
| Alpine v3.19 | nodejs | 12.18.4-r0 | — |
| Alpine v3.18 | libuv | 1.39.0-r0 | — |
| Alpine v3.18 | nodejs | 12.18.4-r0 | — |
| Alpine v3.17 | libuv | 1.39.0-r0 | — |
| Alpine v3.17 | nodejs | 12.18.4-r0 | — |
| Alpine v3.16 | libuv | 1.39.0-r0 | — |
| Alpine v3.16 | nodejs | 12.18.4-r0 | — |
| Alpine v3.15 | libuv | 1.39.0-r0 | — |
| Alpine v3.15 | nodejs | 12.18.4-r0 | — |
| Alpine v3.14 | libuv | 1.39.0-r0 | — |
| Alpine v3.14 | nodejs | 12.18.4-r0 | — |
| Alpine v3.13 | libuv | 1.39.0-r0 | — |
| Alpine v3.13 | nodejs | 12.18.4-r0 | — |
| Alpine v3.12 | libuv | 1.38.1-r0 | — |
| Alpine v3.12 | nodejs | 12.18.4-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-0548, ELSA-2020-4272 |
| Oracle Linux 8 | nodejs-nodemon | 1.18.3-1.module+el8.1.0+5392+4d6b561f | ELSA-2021-0548, ELSA-2020-4272 |
| Oracle Linux 8 | nodejs-packaging | 17-3.module+el8.1.0+5392+4d6b561f | ELSA-2021-0548, ELSA-2020-4272 |
| Oracle Linux 8 | npm | 1:6.14.6-1.12.18.4.2.module+el8.2.0+7806+0b44ae23 | ELSA-2021-0548, ELSA-2020-4272 |
Advisories 20
- ALSA-2021:0548 Moderate: nodejs:10 security update AlmaLinux Security Advisories · Oct 29, 2026
- ALSA-2020:4272 Moderate: nodejs:12 security and bug fix 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-2020:5086 Red Hat Security Advisory: rh-nodejs12-nodejs security update Red Hat Security Advisories (RHSA) · Oct 14, 2026
- RHSA-2020:4903 Red Hat Security Advisory: nodejs:12 security and bug fix update Red Hat Security Advisories (RHSA) · Oct 14, 2026
- RHSA-2020:4272 Red Hat Security Advisory: nodejs:12 security and bug fix update Red Hat Security Advisories (RHSA) · Oct 14, 2026
- USN-4548-1 libuv1 vulnerability Ubuntu Security Notices (USN) · Apr 22, 2026
- RLSA-2020:4272 Moderate: nodejs:12 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-2020:1660-1 Security update for nodejs10 SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2020:2812-1 Security update for nodejs12 SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2020:2823-1 Security update for nodejs10 SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2020:2813-1 Security update for nodejs12 SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2020:1616-1 Security update for nodejs12 SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2020:2829-1 Security update for nodejs10 SUSE / openSUSE Security Updates · May 2, 2025
- WID-SEC-2023-0486 Node.js: Mehrere Schwachstellen BSI CERT-Bund (WID) · Feb 27, 2023
- ICSA-22-111-03 Hitachi Energy MicroSCADA Pro/X SYS600 CISA ICS & IT advisories · Apr 21, 2022
- ELSA-2021-0548 Moderate: nodejs:10 security update (Oracle Linux 8) Oracle Linux Security Advisories (ELSA) · Feb 20, 2021
- ELSA-2020-4272 Moderate: nodejs:12 security and bug fix update (Oracle Linux 8) Oracle Linux Security Advisories (ELSA) · Oct 20, 2020
References
- https://nodejs.org/en/blog/vulnerability/september-2020-security-releases/
- https://hackerone.com/reports/965914
- GLSA-202009-15 vendor-advisory
- USN-4548-1 vendor-advisory
- openSUSE-SU-2020:1616 vendor-advisory
- https://security.netapp.com/advisory/ntap-20201009-0004/
- openSUSE-SU-2020:1660 vendor-advisory
- FEDORA-2020-43d5a372fc vendor-advisory