nodejs: Unitialized buffer due to incorrect encoding
Published Dec 11, 2017
3.1
LOWCVSS 3.1
EPSS 2.30%
Description
Node.js had a bug in versions 8.X and 9.X which caused buffers to not be initialized when the encoding for the fill value did not match the encoding specified. For example, 'Buffer.alloc(0x100, "This is not correctly encoded", "hex");' The buffer implementation was updated such that the buffer will be initialized to all zeros in these cases.
Affected products
-
- Version 8.0 and higherStatusaffectedConstraints-
- Version 9.0 and higherStatusaffectedConstraints-
- Version
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| The Node.js Project | Node.js | n/a |
|
No data.
Red Hat Enterprise Linux 8
nodejs
Will not fix
Red Hat Enterprise Linux OpenStack Platform 7 (Kilo) Operational Tools
nodejs
Not affected
Red Hat OpenShift Enterprise 3
nodejs
Not affected
Red Hat OpenStack Platform 9 (Mitaka) Operational Tools
nodejs
Not affected
Red Hat Software Collections
nodejs010-nodejs
Not affected
Red Hat Software Collections
rh-nodejs4-nodejs
Not affected
Red Hat Software Collections
rh-nodejs6-nodejs
Not affected
Red Hat Software Collections
rh-nodejs8-nodejs
Will not fix
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 8 | nodejs | Will not fix | n/a |
| Red Hat Enterprise Linux OpenStack Platform 7 (Kilo) Operational Tools | nodejs | Not affected | n/a |
| Red Hat OpenShift Enterprise 3 | nodejs | Not affected | n/a |
| Red Hat OpenStack Platform 9 (Mitaka) Operational Tools | nodejs | Not affected | n/a |
| Red Hat Software Collections | nodejs010-nodejs | Not affected | n/a |
| Red Hat Software Collections | rh-nodejs4-nodejs | Not affected | n/a |
| Red Hat Software Collections | rh-nodejs6-nodejs | Not affected | n/a |
| Red Hat Software Collections | rh-nodejs8-nodejs | Will not fix | n/a |
No package ranges for this CVE.
Remediation
No remediation recorded yet.
Metrics
No CVSS v4.0 score for this CVE.
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L
AV:N/AC:M/Au:N/C:P/I:N/A:N
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 2, 2026.
Score over time
2021–2026- EPSS v1
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Percentile over time
- EPSS v1
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Table of values (14 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 2, 2026 | 2.30% (0.02303) | 82.72th | v5 (v2026.06.15) |
| Jun 15, 2026 | 2.30% (0.02303) | 81.01th | v5 (v2026.06.15) |
| May 1, 2025 | 0.43% (0.00425) | 61.24th | v4 (v2025.03.14) |
| Mar 29, 2025 | 1.47% (0.01467) | 69.03th | v4 (v2025.03.14) |
| Jul 20, 2024 | 0.05% (0.00054) | 22.17th | v3 (v2023.03.01) |
| Mar 7, 2023 | 0.05% (0.00054) | 20.65th | v3 (v2023.03.01) |
| Mar 6, 2023 | 0.89% (0.00885) | 27.89th | v2 (v2022.01.01) |
| Sep 10, 2022 | 0.89% (0.00885) | 26.24th | v2 (v2022.01.01) |
| Apr 1, 2022 | 0.89% (0.00885) | 24.24th | v2 (v2022.01.01) |
| Feb 4, 2022 | 0.89% (0.00885) | 10.50th | v2 (v2022.01.01) |
| Feb 3, 2022 | 0.42% (0.00416) | 10.04th | v1 |
| Jan 6, 2022 | 0.42% (0.00416) | 9.79th | v1 |
| Sep 1, 2021 | 0.42% (0.00416) | 25.53th | v1 |
| Apr 14, 2021 | 0.42% (0.00416) | 0.00th | v1 |
References (5)
- https://access.redhat.com/security/cve/CVE-2017-15897 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1532534 Issue Tracking
- https://nodejs.org/en/blog/vulnerability/december-2017-security-releases/ x_refsource_CONFIRMIssue TrackingVendor Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2017-15897
- https://www.cve.org/CVERecord?id=CVE-2017-15897
| Link | Providers | Tags |
|---|---|---|
| https://access.redhat.com/security/cve/CVE-2017-15897 | Vendor Advisory | |
| https://bugzilla.redhat.com/show_bug.cgi?id=1532534 | Issue Tracking | |
| https://nodejs.org/en/blog/vulnerability/december-2017-security-releases/ | x_refsource_CONFIRMIssue TrackingVendor Advisory | |
| https://nvd.nist.gov/vuln/detail/CVE-2017-15897 | ||
| https://www.cve.org/CVERecord?id=CVE-2017-15897 |
Change history (0)
No recorded changes yet.