CVE-2016-10518
Last modified
CVE-2016-10518 is a vulnerability of currently unknown severity. A vulnerability was found in the ping functionality of the ws module before 1.0.0 which allowed clients to allocate memory by sending a ping frame. The ping functionality by default responds with a pong frame and the previously given payload of the ping frame. EPSS estimates a 2.02% chance of exploitation in the next 30 days.
Description
A vulnerability was found in the ping functionality of the ws module before 1.0.0 which allowed clients to allocate memory by sending a ping frame. The ping functionality by default responds with a pong frame and the previously given payload of the ping frame. This is exactly what you expect, but internally ws always transforms all data that we need to send to a Buffer instance and that is where the vulnerability existed. ws didn't do any checks for the type of data it was sending. With buffers in node when you allocate it when a number instead of a string it will allocate the amount of bytes.
Metrics
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Ws Project | Ws | < 1.0.1 |
References
- https://gist.github.com/c0nrad/e92005446c480707a74aPatch, Third Party Advisory
- https://github.com/websockets/ws/releases/tag/1.0.1Release Notes, Third Party Advisory
- https://nodesecurity.io/advisories/67Third Party Advisory
- https://gist.github.com/c0nrad/e92005446c480707a74aPatch, Third Party Advisory
- https://github.com/websockets/ws/releases/tag/1.0.1Release Notes, Third Party Advisory
- https://nodesecurity.io/advisories/67Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2016-10518?
How severe is CVE-2016-10518?
How do I fix CVE-2016-10518?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2016
- CVE-2016-10512MultiTech FaxFinder before 4.1.2 stores Passwords unencrypte…
- CVE-2016-10513Cross Site Scripting (XSS) exists in Piwigo before 2.8.3 via…
- CVE-2016-10514url_check_format in include/functions.inc.php in Piwigo befo…
- CVE-2016-10515In Redmine before 3.2.3, there are stored XSS vulnerabilitie…
- CVE-2016-10516Cross-site scripting (XSS) vulnerability in the render_full …
- CVE-2016-10517networking.c in Redis before 3.2.7 allows "Cross Protocol Sc…
- CVE-2016-10519A security issue was found in bittorrent-dht before 5.1.3 th…
- CVE-2016-1052Use-after-free vulnerability in Adobe Reader and Acrobat bef…
- CVE-2016-10520jadedown is vulnerable to regular expression denial of servi…7.5
- CVE-2016-10521jshamcrest is vulnerable to regular expression denial of ser…7.5
- CVE-2016-10522rails_admin ruby gem <v1.1.1 is vulnerable to cross-site req…
- CVE-2016-10523MQTT before 3.4.6 and 4.0.x before 4.0.5 allows specifically…
Are you affected by CVE-2016-10518?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
