What’s Vulnerable › Vulnerabilities

CVE-2023-22477: Mercurius is vulnerable to denial of service (DoS) when using subscriptions

Description

Mercurius is a GraphQL adapter for Fastify. Any users of Mercurius until version 10.5.0 are subjected to a denial of service attack by sending a malformed packet over WebSocket to `/graphql`. This issue was patched in #940. As a workaround, users can disable subscriptions.

Affected products

How to fix

Upgrade to a fixed version: mercurius-js mercurius 11.5.0, 8.13.2. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2023-22477 or the next vulnerability affects your stack