CVE-2023-22477 MEDIUM

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

Vendor Mercurius-Js
Product mercurius
Weakness CWE-248
Published January 9, 2023
Last update March 10, 2025

CVSS base score

5.3/10
Attack vector Network
Attack complexity Low
Privileges required None
User interaction None
Confidentiality None
Integrity None

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

What the vulnerability does

01Description

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.

Key dates

02Disclosure timeline

January 9, 2023 CVE published
March 10, 2025 Record updated