{"api_version":"1","generated_at":"2026-07-23T08:16:15+00:00","cve":"CVE-2017-15897","urls":{"html":"https://cve.report/CVE-2017-15897","api":"https://cve.report/api/cve/CVE-2017-15897.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2017-15897","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2017-15897"},"summary":{"title":"CVE-2017-15897","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.","state":"PUBLISHED","assigner":"nodejs","published_at":"2017-12-11 21:29:00","updated_at":"2025-04-20 01:37:25"},"problem_types":["CWE-665","Un-initialized Data"],"metrics":[{"version":"3.1","source":"nvd@nist.gov","type":"Primary","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","data":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N","baseScore":3.1,"baseSeverity":"LOW","attackVector":"NETWORK","attackComplexity":"HIGH","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"LOW","integrityImpact":"NONE","availabilityImpact":"NONE"}},{"version":"2.0","source":"nvd@nist.gov","type":"Primary","score":"4.3","severity":"","vector":"AV:N/AC:M/Au:N/C:P/I:N/A:N","data":{"version":"2.0","vectorString":"AV:N/AC:M/Au:N/C:P/I:N/A:N","baseScore":4.3,"accessVector":"NETWORK","accessComplexity":"MEDIUM","authentication":"NONE","confidentialityImpact":"PARTIAL","integrityImpact":"NONE","availabilityImpact":"NONE"}}],"references":[{"url":"https://nodejs.org/en/blog/vulnerability/december-2017-security-releases/","name":"https://nodejs.org/en/blog/vulnerability/december-2017-security-releases/","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Issue Tracking","Vendor Advisory"],"title":"Data Confidentiality/Integrity Vulnerability, December 2017 | Node.js","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://www.cve.org/CVERecord?id=CVE-2017-15897","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2017-15897","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"The Node.js Project","product":"Node.js","version":"affected 8.0 and higher","platforms":[]},{"source":"CNA","vendor":"The Node.js Project","product":"Node.js","version":"affected 9.0 and higher","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2017","cve_id":"15897","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"nodejs","cpe5":"node.js","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"-","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2017","cve_id":"15897","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"nodejs","cpe5":"node.js","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"lts","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2017","cve_id":"15897","vulnerable":"1","versionEndIncluding":"8.8.1","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"nodejs","cpe5":"node.js","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"-","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":{"cve_year":"2017","cve_id":"15897","cve":"CVE-2017-15897","epss":"0.006420000","percentile":"0.708550000","score_date":"2026-05-17","updated_at":"2026-05-18 00:00:13"},"legacy_qids":[{"cve":"CVE-2017-15897","qid":"500451","title":"Alpine Linux Security Update for nodejs"},{"cve":"CVE-2017-15897","qid":"501099","title":"Alpine Linux Security Update for nodejs-current"},{"cve":"CVE-2017-15897","qid":"504217","title":"Alpine Linux Security Update for nodejs"}]},"source_records":{"cve_program":{"containers":{"adp":[{"providerMetadata":{"dateUpdated":"2024-08-05T20:04:50.511Z","orgId":"af854a3a-2127-422b-91ae-364da2661108","shortName":"CVE"},"references":[{"tags":["x_refsource_CONFIRM","x_transferred"],"url":"https://nodejs.org/en/blog/vulnerability/december-2017-security-releases/"}],"title":"CVE Program Container"}],"cna":{"affected":[{"product":"Node.js","vendor":"The Node.js Project","versions":[{"status":"affected","version":"8.0 and higher"},{"status":"affected","version":"9.0 and higher"}]}],"datePublic":"2017-12-07T00:00:00.000Z","descriptions":[{"lang":"en","value":"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."}],"problemTypes":[{"descriptions":[{"description":"Un-initialized Data","lang":"en","type":"text"}]}],"providerMetadata":{"dateUpdated":"2017-12-11T20:57:01.000Z","orgId":"386269d4-a6c6-4eaa-bf8e-bc0b0d010558","shortName":"nodejs"},"references":[{"tags":["x_refsource_CONFIRM"],"url":"https://nodejs.org/en/blog/vulnerability/december-2017-security-releases/"}],"x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"cve-request@iojs.org","DATE_PUBLIC":"2017-12-07T00:00:00","ID":"CVE-2017-15897","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"Node.js","version":{"version_data":[{"version_value":"8.0 and higher"},{"version_value":"9.0 and higher"}]}}]},"vendor_name":"The Node.js Project"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"Un-initialized Data"}]}]},"references":{"reference_data":[{"name":"https://nodejs.org/en/blog/vulnerability/december-2017-security-releases/","refsource":"CONFIRM","url":"https://nodejs.org/en/blog/vulnerability/december-2017-security-releases/"}]}}}},"cveMetadata":{"assignerOrgId":"386269d4-a6c6-4eaa-bf8e-bc0b0d010558","assignerShortName":"nodejs","cveId":"CVE-2017-15897","datePublished":"2017-12-11T21:00:00.000Z","dateReserved":"2017-10-25T00:00:00.000Z","dateUpdated":"2024-09-17T03:42:59.193Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.1"},"nvd":{"publishedDate":"2017-12-11 21:29:00","lastModifiedDate":"2025-04-20 01:37:25","problem_types":["CWE-665","Un-initialized Data"],"metrics":{"cvssMetricV31":[{"source":"nvd@nist.gov","type":"Primary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N","baseScore":3.1,"baseSeverity":"LOW","attackVector":"NETWORK","attackComplexity":"HIGH","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"LOW","integrityImpact":"NONE","availabilityImpact":"NONE"},"exploitabilityScore":1.6,"impactScore":1.4}],"cvssMetricV2":[{"source":"nvd@nist.gov","type":"Primary","cvssData":{"version":"2.0","vectorString":"AV:N/AC:M/Au:N/C:P/I:N/A:N","baseScore":4.3,"accessVector":"NETWORK","accessComplexity":"MEDIUM","authentication":"NONE","confidentialityImpact":"PARTIAL","integrityImpact":"NONE","availabilityImpact":"NONE"},"baseSeverity":"MEDIUM","exploitabilityScore":8.6,"impactScore":2.9,"acInsufInfo":false,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":false}]},"configurations":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:nodejs:node.js:*:*:*:*:-:*:*:*","versionStartIncluding":"8.0.0","versionEndIncluding":"8.8.1","matchCriteriaId":"74FB695D-2C76-47AB-988E-5629D2E695E5"},{"vulnerable":true,"criteria":"cpe:2.3:a:nodejs:node.js:*:*:*:*:lts:*:*:*","versionStartIncluding":"8.9.0","versionEndExcluding":"8.9.3","matchCriteriaId":"C45E9D50-CD3D-480B-B9B8-451ADFF26505"},{"vulnerable":true,"criteria":"cpe:2.3:a:nodejs:node.js:*:*:*:*:-:*:*:*","versionStartIncluding":"9.0.0","versionEndExcluding":"9.2.1","matchCriteriaId":"82FDBB10-3298-4C9A-9CC0-D34643AEC868"}]}]}]},"legacy_mitre":{"record":{"CveYear":"2017","CveId":"15897","Ordinal":"1","Title":"CVE-2017-15897","CVE":"CVE-2017-15897","Year":"2017"},"notes":[{"CveYear":"2017","CveId":"15897","Ordinal":"1","NoteData":"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.","Type":"Description","Title":"CVE-2017-15897"},{"CveYear":"2017","CveId":"15897","Ordinal":"2","NoteData":"2017-12-11","Type":"Other","Title":"Published"},{"CveYear":"2017","CveId":"15897","Ordinal":"3","NoteData":"2017-12-11","Type":"Other","Title":"Modified"}]}}}