websockets is vulnerable to Denial of Service (DoS)
53
CVE Score
Medium
Denial of Service (DoS)
The permessage-deflate extension flushes a final empty block after decompressing a fragmented, compressed message of at least 2044 bytes, and discards any bytes produced by that flush without checking them against max_size. A crafted compressed message can make the connection accept more decompressed data than the configured message size limit allows. The decoder also does not reject continuation frames with the RSV1 bit set, letting a peer desynchronize the decompressor state. The fix checks the flush output against max_size and rejects RSV1 on continuation frames.
Upgrade the websockets library to the patch version.
You are affected if you are using a version that falls within the vulnerable range and the connection negotiates the permessage-deflate extension.
4.0 - 16.0
Fixed in 16.1websockets is vulnerable to Denial of Service (DoS) in versions 4.0 - 16.0.
Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.
No credit card required | Scan results in 32 seconds.
I consent to receiving marketing communications based on Aikido’s Privacy Policy.
SOC 2Compliant
ISO 27001Compliant
ISO 42001Compliant© All Intel data is openly available and commercially licensed.