websockets is vulnerable to Denial of Service (DoS)
53
Medium Risk
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.
You are affected if you are using a version that falls within the vulnerable range and the connection negotiates the permessage-deflate extension.
websockets is vulnerable to Denial of Service (DoS) in versions 4.0 - 16.0.
Upgrade the websockets library to the patch version.
Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.
Free. No credit card required.

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.