Vulnerability Details : CVE-2018-21270
Potential exploit
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).
Products affected by CVE-2018-21270
- cpe:2.3:a:nodejs:node.js:*:*:*:*:-:*:*:*
Exploit prediction scoring system (EPSS) score for CVE-2018-21270
0.22%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 60 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2018-21270
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
5.8
|
MEDIUM | AV:N/AC:M/Au:N/C:P/I:N/A:P |
8.6
|
4.9
|
NIST | |
6.5
|
MEDIUM | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:H |
2.2
|
4.2
|
NIST |
CWE ids for CVE-2018-21270
-
The product reads data past the end, or before the beginning, of the intended buffer.Assigned by: nvd@nist.gov (Primary)
References for CVE-2018-21270
-
https://hackerone.com/reports/321670
#321670 `stringstream` allocates uninitialized Buffers when number is passed in input stream on Node.js 4.x and belowExploit;Third Party Advisory
-
https://www.npmjs.com/advisories/664
npmExploit;Third Party Advisory
-
https://github.com/mhart/StringStream/issues/7
Uninitialized Memory Exposure · Issue #7 · mhart/StringStream · GitHubIssue Tracking;Third Party Advisory
Jump to