CVE-2023-22477

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

HIGH
7.5
CVSS Score
Published: January 9, 2023 at 02:12 PM UTC
Updated: June 17, 2026 at 05:35 AM UTC
2 products affected across 2 vendorsMercuriusProject Mercurius

Using mercurius by mercurius-js?

Get instant alerts when new vulnerabilities affect mercurius - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH7.5
Exploit prediction
EPSS 1%
SSVC
PoC

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

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

v < 8.13.29.0.0 ≤ v < 11.5.0
Affected range stops below 11.5.0, so it looks safe — our inference, not a vendor statement
Affected range stops below 8.13.2, so it looks safe — our inference, not a vendor statement
v < 10.5.0
Affected range stops below 10.5.0, so it looks safe — our inference, not a vendor statement

Remediation

No guide yet

No remediation guidance has been written for this CVE yet. What the record does show:

References (3)

x_refsource_MISCExploitIssue TrackingThird Party Advisory
https://github.com/mercurius-js/mercurius/issues/939
x_refsource_MISCPatchThird Party Advisory
https://github.com/mercurius-js/mercurius/pull/940

SSVC — Action Prioritization

SSVCPoCAutomatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

Attack Vector
NETWORK
Complexity
LOW
Privileges
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-248NVD-CWE-Other

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card