Skip to content

Conversation

bdarnell
Copy link
Member

Protects against memory exhaustion DoS attacks.

Protects against memory exhaustion DoS attacks.
@bdarnell bdarnell force-pushed the websocket-decompress-limit branch from 56053c6 to 7bd3ef3 Compare May 19, 2018 15:34
@bdarnell bdarnell merged commit 729f1d9 into tornadoweb:master May 19, 2018
@bdarnell bdarnell deleted the websocket-decompress-limit branch May 19, 2018 23:10
@spaceone
Copy link
Contributor

Is this exploitable even when one doesn't use websockets? E.g. in a standard tonado set up which serves some hello world html app?

@ploxiln
Copy link
Contributor

ploxiln commented Mar 25, 2020

Yes, I think standard http Content-Encoding: gzip has long been handled with a maximum decompress output size:
https://github.com/tornadoweb/tornado/blob/v6.0.4/tornado/http1connection.py#L730-L732

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants