Bug 1532534 (CVE-2017-15897) - CVE-2017-15897 nodejs: Unitialized buffer due to incorrect encoding
Summary: CVE-2017-15897 nodejs: Unitialized buffer due to incorrect encoding
Keywords:
Status: CLOSED WONTFIX
Alias: CVE-2017-15897
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 1532535
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-01-09 09:33 UTC by Andrej Nemec
Modified: 2021-02-17 01:00 UTC (History)
30 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-06-08 03:36:30 UTC
Embargoed:


Attachments (Terms of Use)

Description Andrej Nemec 2018-01-09 09:33:55 UTC
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.

Versions 4.X and 6.X were not vulnerable.

The severity of this information disclosure vulnerability was low (due to the combination of coding errors that need to have been made in order to make it exploitable) and it has been assigned CVE-2017-15897.

External References:

https://nodejs.org/en/blog/vulnerability/december-2017-security-releases/

Comment 1 Andrej Nemec 2018-01-09 09:34:47 UTC
Created nodejs tracking bugs for this issue:

Affects: fedora-27 [bug 1532535]


Note You need to log in before you can comment on or make changes to this bug.