Remote Memory Disclosure in ws
Low severity
GitHub Reviewed
Published
Feb 18, 2019
to the GitHub Advisory Database
•
Updated Sep 18, 2023
Description
Published to the GitHub Advisory Database
Feb 18, 2019
Reviewed
Jun 16, 2020
Last updated
Sep 18, 2023
Versions of
ws
prior to 1.0.1 are affected by a remote memory disclosure vulnerability.In certain rare circumstances, applications which allow users to control the arguments of a
client.ping()
call will causews
to send the contents of an allocated but non-zero-filled buffer to the server. This may disclose sensitive information that still exists in memory after previous use of the memory for other tasks.Proof of Concept
Recommendation
Update to version 1.0.1 or greater.
References