CVE-2023-22477

Mercurius is vulnerable to denial of service (DoS) when using subscriptions

State
Published
Severity
5.3 Medium
Published
Jan 9, 2023
Updated
Mar 10, 2025
Reserved
Dec 29, 2022

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.15.3 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:LGitHub_M

Weaknesses

Affected Products

ProductVersions
mercuriusmercurius-js
  • < 10.5.0Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.