cve.bz

CVE-2017-15897 nodejs node.js: Improper Initialization

3.1 lowEPSS 2.3%

Low (3.1) in nodejs node.js. EPSS 2.3% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

3.1 low
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N
EPSS
2.3% (unchanged from 2.3% a week ago; 2.3% 30 days ago) estimated probability of exploitation activity in the next 30 days; 84th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-665 Improper Initialization
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2017-15897 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2017-15897?via=ask-ai-copy and https://cve.bz/cve/CVE-2017-15897?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2017-15897 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
nodejs:node.jsfrom 8.0.0 through 8.8.1
nodejs:node.jsfrom 8.9.0 before 8.9.3
nodejs:node.jsfrom 9.0.0 before 9.2.1

Linux distributions

DistributionReleasePackageFixed inAdvisory
SUSELinux Enterprise Server 11 SP4-LTSSMozillaFirefox68.2.0-78.51.4SUSE-SU-2019:14246-1
SUSELinux Enterprise Server 11 SP4-LTSSMozillaFirefox-branding-SLED68-21.9.8SUSE-SU-2019:14246-1
SUSELinux Enterprise Server 11 SP4-LTSSfirefox-atk2.26.1-2.8.4SUSE-SU-2019:14246-1
SUSELinux Enterprise Server 11 SP4-LTSSfirefox-cairo1.15.10-2.13.4SUSE-SU-2019:14246-1
SUSELinux Enterprise Server 11 SP4-LTSSfirefox-gdk-pixbuf2.36.11-2.8.4SUSE-SU-2019:14246-1
SUSELinux Enterprise Server 11 SP4-LTSSfirefox-glib22.54.3-2.14.7SUSE-SU-2019:14246-1
SUSELinux Enterprise Server 11 SP4-LTSSfirefox-gtk33.10.9-2.15.3SUSE-SU-2019:14246-1
SUSELinux Enterprise Server 11 SP4-LTSSfirefox-harfbuzz1.7.5-2.7.4SUSE-SU-2019:14246-1
SUSELinux Enterprise Server 11 SP4-LTSSfirefox-libffi3.2.1.git259-2.3.3SUSE-SU-2019:14246-1
SUSELinux Enterprise Server 11 SP4-LTSSfirefox-libffi-gcc55.3.1+r233831-14.1SUSE-SU-2019:14246-1
SUSELinux Enterprise Server 11 SP4-LTSSfirefox-pango1.40.14-2.7.4SUSE-SU-2019:14246-1
SUSELinux Enterprise Server 11 SP4-LTSSmozilla-nspr4.21-29.6.1SUSE-SU-2019:14246-1
1 more for SUSE in the JSON and on SUSE's page.
Alpinev3.7, v3.8, v3.9 and 15 morenodejs8.9.3-r0ALPINE-CVE-2017-15897
Alpinev3.7, v3.8, v3.9 and 15 morenodejs-current9.2.1-r0ALPINE-CVE-2017-15897

From the distributions' data via OSV.dev: SUSE security data, CC BY 4.0; the Alpine secdb, CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: SUSE · Alpine.

Red Hat

Red Hat rates this Low.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 8nodejsWill not fix
Red Hat Enterprise Linux OpenStack Platform 7 (Kilo) Operational ToolsnodejsNot affected
Red Hat OpenShift Enterprise 3nodejsNot affected
Red Hat OpenStack Platform 9 (Mitaka) Operational ToolsnodejsNot affected
Red Hat Software Collectionsnodejs010-nodejsNot affected
Red Hat Software Collectionsrh-nodejs4-nodejsNot affected
Red Hat Software Collectionsrh-nodejs6-nodejsNot affected
Red Hat Software Collectionsrh-nodejs8-nodejsWill not fix

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2017-15897.

Attack patterns (CAPEC)

  • CAPEC-26 Leveraging Race Conditions Likelihood: High · Severity: High
  • CAPEC-29 Leveraging Time-of-Check and Time-of-Use (TOCTOU) Race Conditions Likelihood: High · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON