Description
Faye websocket-driver 0.5.0 before 0.8.0, permessage-deflate before 0.2.0, and websocket-extensions before 0.2.0 contain a decompression bomb vulnerability because messages are fully inflated before maxLength is enforced. Unauthenticated remote clients negotiating permessage-deflate can send highly compressible messages, forcing processIncomingMessage() to allocate excessive memory and crash the server process.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| faye | websocket-driver | 0.5.0 – < 0.8.0 | 0.8.0 |
| faye | permessage-deflate | < 0.2.0 | 0.2.0 |
| faye | websocket-extensions | < 0.2.0 | 0.2.0 |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | node-websocket-driver | No fix yet | — |
| Ubuntu 26.04 LTS | node-websocket-driver | No fix yet | — |
| Ubuntu 24.04 LTS | node-websocket-driver | No fix yet | — |
| Ubuntu 22.04 LTS | node-websocket-driver | No fix yet | — |
| Ubuntu 20.04 LTS | node-websocket-driver | No fix yet | — |
Show 2 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 18.04 LTS | node-websocket-driver | No fix yet | — |
| Ubuntu 16.04 LTS | node-websocket-driver | No fix yet | — |
References
- GitHub Security Advisory (GHSA-67p7-xj24-jfm9) vendor-advisory
- https://github.com/faye/permessage-deflate-node/commit/1db8cb6f973d0a7565e0c7530cec53efe9c7e6d3 patch
- https://github.com/faye/websocket-extensions-node/commit/11aa734992ecef4c93e11edaeaa935e169c0b974 patch
- https://github.com/faye/websocket-driver-node/commit/19853657d2a3a6e4f2450bbac3dfefec66a52376 patch
- https://github.com/faye/permessage-deflate-node/blob/0.1.7/lib/session.js#L23-L68 technical-description
- VulnCheck Advisory: Faye websocket-driver 0.5.0 before 0.8.0 Decompression Bomb via permessage-deflate third-party-advisory