Skip to content

Out-of-bounds Read in stringstream

Moderate severity GitHub Reviewed Published Jun 20, 2019 to the GitHub Advisory Database • Updated Feb 1, 2023

Package

npm stringstream (npm)

Affected versions

< 0.0.6

Patched versions

0.0.6

Description

All versions of stringstream are vulnerable to out-of-bounds read as it allocates uninitialized Buffers when number is passed in input stream on Node.js 4.x and below.

Recommendation

No fix is currently available for this vulnerability. It is our recommendation to not install or use this module if user input is being passed in to stringstream.

References

Reviewed Jun 20, 2019
Published to the GitHub Advisory Database Jun 20, 2019
Published by the National Vulnerability Database Dec 3, 2020
Last updated Feb 1, 2023

Severity

Moderate

EPSS score

0.204%
(59th percentile)

Weaknesses

CVE ID

CVE-2018-21270

GHSA ID

GHSA-mf6x-7mm4-x2g7

Source code

No known source code
Loading Checking history
See something to contribute? Suggest improvements for this vulnerability.