VDB
CVE-2018-21270
CVE-2018-21270
PUBLISHED
CVSS 6.5 MEDIUM
Out-of-bounds Read in stringstream
Reported by mitre · Published December 3, 2020
stringstream is fixed in 0.0.6 (npm)
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).
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| stringstream | npm | 0.0.6 |
Risk scores
CVSS 3.1
6.5
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:H
Affected products
| Vendor | Product | Versions |
|---|---|---|
| n/a | n/a | n/a |
| npm | stringstream | |
| npm | stringstream | 0 |
| n/a | n/a | * |
Timeline
- Dec 3, 2020 CVE Published
- Mar 19, 2021 CVE Updated
- Apr 14, 2021 EPSS Score (30 in total, the first dated here)
- Sep 21, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2018-21270
vulnetix vdb fixes CVE-2018-21270
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2018-21270/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- x_refsource_MISC
- x_refsource_MISC
- x_refsource_MISC
- https://github.com/mhart/StringStream/blob/v0.0.5/stringstream.js#L32 url
- https://github.com/advisories/GHSA-mf6x-7mm4-x2g7 advisory