Bug 1295717 - nodejs-ws: Remote memory disclosure via ping functionality
Summary: nodejs-ws: Remote memory disclosure via ping functionality
Keywords:
Status: CLOSED NOTABUG
Alias: None
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: 1295718 1295719 1295720 1295721
Blocks: 1295723
TreeView+ depends on / blocked
 
Reported: 2016-01-05 10:53 UTC by Adam Mariš
Modified: 2019-09-29 13:41 UTC (History)
11 users (show)

Fixed In Version: nodejs-ws 1.0.1
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-01-19 20:56:17 UTC


Attachments (Terms of Use)

Description Adam Mariš 2016-01-05 10:53:56 UTC
A vulnerability in the ping functionality of ws module which allowed clients to allocate memory by simply sending a ping frame. The ping functionality by default responds with a pong frame and the previously given payload of the ping frame. As a result, client receives non-zeroed out allocated buffer from server of arbitrary length. Assuming the usage of modern kernel, only the memory previously used and deallocated by the node process and the memory that has been previously allocated as a Buffer can be leaked using this way.

External reference:

https://nodesecurity.io/advisories/67

Comment 3 Adam Mariš 2016-01-05 10:55:00 UTC
Created nodejs-ws tracking bugs for this issue:

Affects: fedora-all [bug 1295718]
Affects: epel-all [bug 1295719]

Comment 4 Kurt Seifried 2016-01-12 04:56:15 UTC
OpenShift Enterprise 2.x does not use the ping functionality in openshift-origin-node-proxy.

Comment 5 Fedora Update System 2016-01-14 08:53:34 UTC
nodejs-ws-1.0.1-1.fc23 has been pushed to the Fedora 23 stable repository. If problems still persist, please make note of it in this bug report.

Comment 6 Fedora Update System 2016-01-14 09:49:14 UTC
nodejs-ws-1.0.1-1.fc22 has been pushed to the Fedora 22 stable repository. If problems still persist, please make note of it in this bug report.

Comment 7 Fedora Update System 2016-01-21 04:27:15 UTC
nodejs-ws-1.0.1-1.el6 has been pushed to the Fedora EPEL 6 stable repository. If problems still persist, please make note of it in this bug report.

Comment 8 Fedora Update System 2016-01-21 04:37:21 UTC
nodejs-ws-1.0.1-1.el7 has been pushed to the Fedora EPEL 7 stable repository. If problems still persist, please make note of it in this bug report.


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