Skip to content

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

HighCVSS 7.5 EPSS 1.1%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: yes · technical impact: partial

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.

Upgrade path

3 packages: 2 fixed.

PackageAffectedFixed inStatus
mercurius project mercurius < 8.13.2; >= 9.0.0, < 11.5.0 8.13.2, 11.5.0 Fixed
npm mercurius(npm) < 8.13.2; >= 9.0.0, < 11.5.0 8.13.2, 11.5.0 Fixed
mercurius-js mercurius = < 10.5.0 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
npm mercurius(npm) >= 9.0.0, < 11.5.0 11.5.0
npm mercurius(npm) < 8.13.2 8.13.2
mercurius-js mercurius = < 10.5.0 No fix listed
mercurius project mercurius < 8.13.2 8.13.2
mercurius project mercurius >= 9.0.0, < 11.5.0 11.5.0

References