cve.bz

CVE-2018-21270 nodejs node.js: Out-of-bounds Read

6.5 mediumExploit referenceEPSS 3.7%Fix available

Medium (6.5) in nodejs node.js. EPSS 3.7% estimated probability of exploitation activity in the next 30 days. Fixed in stringstream 0.0.6.

On this page
Versions less than 0.0.6 of the Node.js stringstream module are vulnerable to an out-of-bounds read because of allocation of uninitialized buffers when a number is passed in the input stream (when using Node.js 4.x).

Severity

CVSS 3.1

6.5 medium
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:H
EPSS
3.7% (unchanged from 3.7% a week ago; 3.7% 30 days ago) estimated probability of exploitation activity in the next 30 days; 90th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-125 Out-of-bounds Read
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-2018-21270 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2018-21270?via=ask-ai-copy and https://cve.bz/cve/CVE-2018-21270?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-2018-21270 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.jsbefore 0.0.6

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-mf6x-7mm4-x2g7npmstringstream<0.0.60.0.6

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13, 14node-stringstream0.0.6-1DEBIAN-CVE-2018-21270
Ubuntu18.04:LTSnode-stringstreamno fix listedUBUNTU-CVE-2018-21270

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

Red Hat Quay include stringstream as a dependency of Karma. Karma is only used at build time, and not at runtime reducing the impact of this vulnerability to low.

ProductPackageStateAdvisory
Red Hat Quay 3quay/quay-rhel8:v3.6.0-62Fixed 2021-10-19RHSA-2021:3917
Red Hat OpenShift Container Platform 3.11kibanaNot affected
Red Hat OpenShift Container Platform 4kibanaNot affected
Red Hat OpenShift Container Platform 4openshift4/ose-logging-kibana6Not affected
Red Hat OpenShift Container Platform 4openshift4/ose-metering-hadoopNot affected

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-2018-21270.

Attack patterns (CAPEC)

  • CAPEC-540 Overread Buffers Likelihood: Low · Severity: High

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

References

Check your stackJSON