-
Notifications
You must be signed in to change notification settings - Fork 240
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Invalid WebSocket frame: RSV2 and RSV3 must be clear #939
Comments
Last time it was an issue in
|
This is the second time you disclose a security vulnerability publicly. Please stop and report them privately instead. |
I apologise, this is the first time I've been told not to. |
Most project will have a SECURITY.md file. You should have followed the instructions there: https://github.com/mercurius-js/mercurius/blob/master/SECURITY.md |
It looks like the server crash in specific conditions.
This is related to #908.
I thought i solved it with fastify/fastify-websocket#228, but that's not completely true.
Before that PR, I was able to crash
mercurius
with:Now that's happening only specifying the websocket protocol.
Given this server
index.js
:I can crash it executing this script
crash_it.js
(see the second parameter of Websocket class):The text was updated successfully, but these errors were encountered: