CVE & CISA-KEV Catalog

CVE-2018-7166

HIGHEPSS 87th pctl
7.5
CVSS v3
NVD

Description

In all versions of Node.js 10 prior to 10.9.0, an argument processing flaw can cause `Buffer.alloc()` to return uninitialized memory. This method is intended to be safe and only return initialized, or cleared, memory. The third argument specifying `encoding` can be passed as a number, this is misinterpreted by `Buffer's` internal "fill" method as the `start` to a fill operation. This flaw may be abused where `Buffer.alloc()` arguments are derived from user input to return uncleared memory blocks that may contain sensitive information.

How to fix

Remediation Available
Node.jsWindows application
Affected:10.0.0 10.9.0Fixed in:10.9.0Node.js Foundation
Node.js (LTS)Windows application
Affected:10.0.0 10.9.0Fixed in:10.9.0Node.js Foundation

Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.

CVSS v3 Vector

Exploitability

Attack VectorNetwork
Attack ComplexityLow
Privileges RequiredNone
User InteractionNone
ScopeUnchanged

Impact

ConfidentialityHigh
IntegrityNone
AvailabilityNone

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Exploit Intelligence

3.24%probability of exploitation in 30 days
87thpercentile

Elevated risk: more likely to be exploited than 87% of all known CVEs.

References

Vendor Advisory1
Third-Party Advisory1
Embed a live status badge for CVE-2018-7166
CVE-2018-7166 severity badge

Markdown

[![CVE-2018-7166](https://tridentstack.com/cve/badge/CVE-2018-7166.svg)](https://tridentstack.com/cve/CVE-2018-7166)

HTML

<a href="https://tridentstack.com/cve/CVE-2018-7166"><img src="https://tridentstack.com/cve/badge/CVE-2018-7166.svg" alt="CVE-2018-7166"></a>

Find and fix vulnerabilities across your fleet

TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.

Start free

This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2024-11-21.