CVEfocus › CVE database › CVE-2017-15897

CVE-2017-15897

CVSS 3.1 LowEPSS 2.3% (higher than 84% of CVEs)Published 2017-12-11Updated 2024-09-17Assigner: nodejs

Node.js had a bug in versions 8.X and 9.X which caused buffers to not be initialized when the encoding for the fill value did not match the encoding specified. For example, 'Buffer.alloc(0x100, "This is not correctly encoded", "hex");' The buffer implementation was updated such that the buffer will be initialized to all zeros in these cases.

What to do

Fixed builds are available from Alpine: see the table below for the fixed version per release.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

36Fixed
11Will not fix
1Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 16.04nodejsNot affected
vulnerable_code_not_present
Red Hat Enterprise Linux 8nodejsWill not fix
Will not fix
Red Hat Enterprise Linux 8nodejs-develWill not fix
Will not fix
Red Hat Enterprise Linux 8nodejs-docsWill not fix
Will not fix
Red Hat Enterprise Linux 8nodejs-full-i18nWill not fix
Will not fix
Red Hat Enterprise Linux 8nodejs-libsWill not fix
Will not fix
Red Hat Enterprise Linux 8nodejs-nodemonWill not fix
Will not fix
Red Hat Enterprise Linux 8nodejs-packagingWill not fix
Will not fix
Red Hat Enterprise Linux 8nodejs-packaging-bundlerWill not fix
Will not fix
Red Hat Enterprise Linux 8npmWill not fix
Will not fix
Red Hat Enterprise Linux 8v8-12.4-develWill not fix
Will not fix
Red Hat Enterprise Linux 8v8-13.6-develWill not fix
Will not fix
Alpine Linux 3.24nodejsFixed8.9.3-r0ALPINE-CVE-2017-15897
Alpine Linux 3.24nodejs-currentFixed9.2.1-r0ALPINE-CVE-2017-15897
Alpine Linux 3.23nodejsFixed8.9.3-r0ALPINE-CVE-2017-15897
Alpine Linux 3.23nodejs-currentFixed9.2.1-r0ALPINE-CVE-2017-15897
Alpine Linux 3.22nodejsFixed8.9.3-r0ALPINE-CVE-2017-15897
Alpine Linux 3.22nodejs-currentFixed9.2.1-r0ALPINE-CVE-2017-15897
Alpine Linux 3.21nodejsFixed8.9.3-r0ALPINE-CVE-2017-15897
Alpine Linux 3.21nodejs-currentFixed9.2.1-r0ALPINE-CVE-2017-15897
Alpine Linux 3.20nodejsFixed8.9.3-r0ALPINE-CVE-2017-15897
Alpine Linux 3.20nodejs-currentFixed9.2.1-r0ALPINE-CVE-2017-15897
Alpine Linux 3.19nodejsFixed8.9.3-r0ALPINE-CVE-2017-15897
Alpine Linux 3.19nodejs-currentFixed9.2.1-r0ALPINE-CVE-2017-15897
Alpine Linux 3.18nodejsFixed8.9.3-r0ALPINE-CVE-2017-15897
Alpine Linux 3.18nodejs-currentFixed9.2.1-r0ALPINE-CVE-2017-15897
Alpine Linux 3.17nodejsFixed8.9.3-r0ALPINE-CVE-2017-15897
Alpine Linux 3.17nodejs-currentFixed9.2.1-r0ALPINE-CVE-2017-15897
Alpine Linux 3.16nodejsFixed8.9.3-r0ALPINE-CVE-2017-15897
Alpine Linux 3.16nodejs-currentFixed9.2.1-r0ALPINE-CVE-2017-15897
Alpine Linux 3.15nodejsFixed8.9.3-r0ALPINE-CVE-2017-15897
Alpine Linux 3.15nodejs-currentFixed9.2.1-r0ALPINE-CVE-2017-15897
Alpine Linux 3.14nodejsFixed8.9.3-r0ALPINE-CVE-2017-15897
Alpine Linux 3.14nodejs-currentFixed9.2.1-r0ALPINE-CVE-2017-15897
Alpine Linux 3.13nodejsFixed8.9.3-r0ALPINE-CVE-2017-15897
Alpine Linux 3.13nodejs-currentFixed9.2.1-r0ALPINE-CVE-2017-15897
Alpine Linux 3.12nodejsFixed8.9.3-r0ALPINE-CVE-2017-15897
Alpine Linux 3.12nodejs-currentFixed9.2.1-r0ALPINE-CVE-2017-15897
Alpine Linux 3.11nodejsFixed8.9.3-r0ALPINE-CVE-2017-15897
Alpine Linux 3.11nodejs-currentFixed9.2.1-r0ALPINE-CVE-2017-15897
Alpine Linux 3.10nodejsFixed8.9.3-r0ALPINE-CVE-2017-15897
Alpine Linux 3.10nodejs-currentFixed9.2.1-r0ALPINE-CVE-2017-15897
Alpine Linux 3.9nodejsFixed8.9.3-r0ALPINE-CVE-2017-15897
Alpine Linux 3.9nodejs-currentFixed9.2.1-r0ALPINE-CVE-2017-15897
Alpine Linux 3.8nodejsFixed8.9.3-r0ALPINE-CVE-2017-15897
Alpine Linux 3.8nodejs-currentFixed9.2.1-r0ALPINE-CVE-2017-15897
Alpine Linux 3.7nodejsFixed8.9.3-r0ALPINE-CVE-2017-15897
Alpine Linux 3.7nodejs-currentFixed9.2.1-r0ALPINE-CVE-2017-15897

What the vendor says

As published in the CVE record by nodejs, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.