Skip to content
OpenAdvisories
High CVE-2016-10544 EUVD-2020-1096GHSA-hf5h-hh56-3vrg

Denial of Service in uws

Published May 31, 2018 · Updated Sep 17, 2024 · Assigned by hackerone

Description

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.

Affected products

VendorProductAffectedFixed
HackerOne uws node module >=0.10.0 <=0.10.8 —

Affected packages

EcosystemPackageAffectedFixedRecord
npm uws >= 0.10.0, < 0.10.9 0.10.9 GHSA-hf5h-hh56-3vrg

References