Resource exhaustion in HackerOne Uws Node Module
CVE-2016-10544
uws is a WebSocket server library. By sending a 256mb websocket message to a uws server instance with permessage-deflate enabled, there is a possibility used compression will shrink said 256mb down to less than 16mb of websocket payload which passes the length check of 16mb payload. This data will then inflate up to 256mb and crash the node process by exceeding V8's maximum string size. This affects uws >=0.10.0 <=0.10.8.
Vulnerability class: DoS (Denial of Service)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 5.9 (Medium). Vector: CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H.
EPSS exploit prediction
EPSS 0.013, 70.8th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- HackerOne Uws Node Module — versions >=0.10.0 <=0.10.8
- Uws Project
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 1 other repository (PalindromeLabs/awesome-websocket-security). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- github.com/uWebSockets/uWebSockets/commit/37deefd01f0875e133ea967122e3a5e421b8f… (Patch, Third Party Advisory)
- nodesecurity.io/advisories/149 (Third Party Advisory)