Skip to content
OpenAdvisories
Unscored CVE-2018-7167 EUVD-2018-18909GHSA-jr5v-587f-389p

Calling Buffer.fill() or Buffer.alloc() with some parameters can lead to a hang which could result in a Denial of Service. In order to addr…

Published Jun 13, 2018 · Updated Oct 8, 2026 · Assigned by nodejs

Description

Calling Buffer.fill() or Buffer.alloc() with some parameters can lead to a hang which could result in a Denial of Service. In order to address this vulnerability, the implementations of Buffer.alloc() and Buffer.fill() were updated so that they zero fill instead of hanging in these cases. All versions of Node.js 6.x (LTS "Boron"), 8.x (LTS "Carbon"), and 9.x are vulnerable. All versions of Node.js 10.x (Current) are NOT vulnerable.

Affected products

VendorProductAffectedFixed
The Node.js Project Node.js 6.x+, 8.x+, 9.x+, 10.x+ —

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.

ReleasePackageFixed inAdvisory
Debian 14 nodejs 10.15.0~dfsg-6 —
Debian 13 nodejs 10.15.0~dfsg-6 —
Debian 12 nodejs 10.15.0~dfsg-6 —
ReleasePackageFixed inAdvisory
Ubuntu Pro 18.04 LTS nodejs 8.10.0~dfsg-2ubuntu0.4+esm1 USN-4796-1
Ubuntu Pro 16.04 LTS nodejs 4.2.6~dfsg-1ubuntu4.2+esm1 USN-4796-1
Ubuntu Pro 14.04 LTS nodejs 0.10.25~dfsg2-2ubuntu1.2+esm1 USN-4796-1
ReleasePackageFixed inAdvisory
RHEL 3 rh-nodejs8-nodejs +2 8.11.4-1.el7 RHSA-2018:2949
RHEL 3 rh-nodejs8-npm 5.6.0-8.11.4.1.el7 RHSA-2018:2949
ReleasePackageFixed inAdvisory
SLES 15 nodejs8 8.11.3-3.5.1 SUSE-SU-2018:1918-1
SLES 12 nodejs6 6.14.3-11.15.1 SUSE-SU-2018:1892-1
SLES 11 SP4 MozillaFirefox 68.2.0-78.51.4 SUSE-SU-2019:14246-1
SLES 11 SP4 MozillaFirefox-branding-SLED 68-21.9.8 SUSE-SU-2019:14246-1
SLES 11 SP4 firefox-atk 2.26.1-2.8.4 SUSE-SU-2019:14246-1
SLES 11 SP4 firefox-cairo 1.15.10-2.13.4 SUSE-SU-2019:14246-1
SLES 11 SP4 firefox-gdk-pixbuf 2.36.11-2.8.4 SUSE-SU-2019:14246-1
SLES 11 SP4 firefox-glib2 2.54.3-2.14.7 SUSE-SU-2019:14246-1
SLES 11 SP4 firefox-gtk3 3.10.9-2.15.3 SUSE-SU-2019:14246-1
SLES 11 SP4 firefox-harfbuzz 1.7.5-2.7.4 SUSE-SU-2019:14246-1
SLES 11 SP4 firefox-libffi 3.2.1.git259-2.3.3 SUSE-SU-2019:14246-1
SLES 11 SP4 firefox-libffi-gcc5 5.3.1+r233831-14.1 SUSE-SU-2019:14246-1
SLES 11 SP4 firefox-pango 1.40.14-2.7.4 SUSE-SU-2019:14246-1
SLES 11 SP4 mozilla-nspr 4.21-29.6.1 SUSE-SU-2019:14246-1
SLES 11 SP4 mozilla-nss 3.45-38.9.3 SUSE-SU-2019:14246-1
Show 3 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SUSE OpenStack Cloud Crowbar 8 nodejs6 6.14.3-11.15.1 SUSE-SU-2018:1892-1
SUSE OpenStack Cloud 7 nodejs6 6.14.3-11.15.1 SUSE-SU-2018:1892-1
SUSE Enterprise Storage 4 nodejs6 6.14.3-11.15.1 SUSE-SU-2018:1892-1
ReleasePackageFixed inAdvisory
Alpine v3.24 nodejs 8.11.3-r0 —
Alpine v3.23 nodejs 8.11.3-r0 —
Alpine v3.22 nodejs 8.11.3-r0 —
Alpine v3.21 nodejs 8.11.3-r0 —
Alpine v3.20 nodejs 8.11.3-r0 —
Show 12 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Alpine v3.19 nodejs 8.11.3-r0 —
Alpine v3.18 nodejs 8.11.3-r0 —
Alpine v3.17 nodejs 8.11.3-r0 —
Alpine v3.16 nodejs 8.11.3-r0 —
Alpine v3.15 nodejs 8.11.3-r0 —
Alpine v3.14 nodejs 8.11.3-r0 —
Alpine v3.13 nodejs 8.11.3-r0 —
Alpine v3.12 nodejs 8.11.3-r0 —
Alpine v3.11 nodejs 8.11.3-r0 —
Alpine v3.10 nodejs 8.11.3-r0 —
Alpine v3.9 nodejs 8.11.3-r0 —
Alpine v3.8 nodejs 8.11.3-r0 —

Advisories 5

References