{"schemaVersion":3,"id":"CVE-2017-15897","aliases":["ALPINE-CVE-2017-15897","UBUNTU-CVE-2017-15897"],"status":"published","duplicateOf":null,"title":null,"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.","dates":{"published":"2017-12-11T21:00:00.000Z","modified":"2024-09-17T03:42:59.193Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":4.3,"severity":"medium","version":"2.0","versionLabel":"v2.0","source":"NVD","vector":"AV:N/AC:M/Au:N/C:P/I:N/A:N","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":3.1,"severity":"low","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N","exploitability":null,"impact":null,"computed":false},{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":4.3,"severity":"medium","vector":"AV:N/AC:M/Au:N/C:P/I:N/A:N","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Alpine","score":3.1,"severity":"low","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N","exploitability":4.1,"impact":2.3,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":3.1,"severity":"low","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N","exploitability":4.1,"impact":2.3,"computed":true},{"version":"3.0","versionLabel":"v3.0","source":"OSV · Ubuntu","score":3.1,"severity":"low","vector":"CVSS:3.0/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N","exploitability":4.1,"impact":2.3,"computed":true}]},"epss":{"probability":0.02322,"percentile":0.83215,"severity":"low","asOf":"2026-10-19T00:00:00.000Z","change":{"pp":0.019000000000000267,"baselineDate":"2026-09-19T00:00:00.000Z","baselineScore":0.02303},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.02303,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.02303,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.02303,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.02303,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.02303,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.02303,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.02303,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.02303,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.02303,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.02303,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.02303,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.02303,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.02303,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.02303,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.02303,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.02303,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.02303,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.02303,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.02303,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.02322,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.02322,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.02322,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.02322,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.02322,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.02322,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.02322,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.02322,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.02322,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.02322,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.02322,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.02322,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.02322,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.02322,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.02322,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.02322,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.02322,"percentile":0.83215}],"last30":[{"date":"2026-09-19T00:00:00.000Z","score":0.02303,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.02303,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.02303,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.02303,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.02303,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.02303,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.02303,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.02303,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.02303,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.02303,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.02303,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.02303,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.02303,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.02303,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.02322,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.02322,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.02322,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.02322,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.02322,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.02322,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.02322,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.02322,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.02322,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.02322,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.02322,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.02322,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.02322,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.02322,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.02322,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.02322,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.02322,"percentile":0.83215}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-665","name":"Improper Initialization","description":"The product does not initialize or incorrectly initializes a resource, which might leave the resource in an unexpected state when it is accessed or used.","type":"weakness","status":"Draft","abstraction":"Class","likelihoodOfExploit":"Medium","url":"https://cwe.mitre.org/data/definitions/665.html"}],"affected":[{"vendor":"alpine","product":"nodejs","name":"nodejs","label":"nodejs","ecosystem":"Alpine Linux","cpePart":null,"purl":"pkg:apk/alpine/nodejs","purlType":"apk","versions":[{"text":"< 8.9.3-r0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 8.9.3-r0","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"nodejs","name":"nodejs","label":"nodejs","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/nodejs","purlType":"deb","versions":[{"text":"< 8.10.0~dfsg-2","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 8.10.0~dfsg-2","eol":null,"hubHref":null},{"vendor":"nodejs","product":"node.js","name":"node.js","label":"node.js","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 8.0.0, ≤ 8.8.1","noFixRecorded":false,"fixedIn":null},{"text":"≥ 8.9.0, < 8.9.3","noFixRecorded":false,"fixedIn":null},{"text":"≥ 9.0.0, < 9.2.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 8.0.0, ≤ 8.8.1 | ≥ 8.9.0, < 8.9.3 | ≥ 9.0.0, < 9.2.1","eol":{"isEol":null,"eolDate":null,"matchMethod":"cpe","cycle":null,"product":{"name":"nodejs","label":"Node.js","category":"framework"}},"hubHref":"/vendor/nodejs/nodejs"},{"vendor":"the node.js project","product":"node.js","name":"Node.js","label":"node.js","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"8.0 and higher","noFixRecorded":false,"fixedIn":null},{"text":"9.0 and higher","noFixRecorded":false,"fixedIn":null}],"versionsText":"8.0 and higher | 9.0 and higher","eol":null,"hubHref":"/vendor/the_nodejs_project/nodejs"}],"affectedCount":4,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://nodejs.org/en/blog/vulnerability/december-2017-security-releases/","label":"nodejs.org/en/blog/vulnerability/december-2017-security-releases/","hostname":"nodejs.org","tags":["X Refsource CONFIRM","Issue Tracking","Vendor Advisory","REPORT"]},{"url":"https://security.alpinelinux.org/vuln/CVE-2017-15897","label":"security.alpinelinux.org/vuln/CVE-2017-15897","hostname":"security.alpinelinux.org","tags":["Advisory"]},{"url":"https://ubuntu.com/security/CVE-2017-15897","label":"ubuntu.com/security/CVE-2017-15897","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2017-15897","label":"www.cve.org/CVERecord?id=CVE-2017-15897","hostname":"www.cve.org","tags":["REPORT"]}],"lineage":{"upstream":[],"downstream":["SUSE-SU-2019:14246-1"],"duplicates":[],"related":["SUSE-SU-2019:14246-1"]},"timeline":[{"kind":"published","date":"2017-12-11T21:00:00.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-09-17T03:42:59.193Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":18,"level":"low","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-19T15:54:46.298Z","stale":false,"partial":false}}