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.
Remediation
References
https://github.com/mercurius-js/mercurius/security/advisories/GHSA-cm8h-q92v-xcfc
https://github.com/mercurius-js/mercurius/pull/940
https://github.com/mercurius-js/mercurius/issues/939
Related Vulnerabilities
CVE-2021-34082 Vulnerability in npm package proctree
CVE-2020-28452 Vulnerability in maven package com.softwaremill.akka-http-session:core_2.11
CVE-2020-15500 Vulnerability in npm package tileserver-gl
CVE-2020-36376 Vulnerability in npm package aaptjs
CVE-2022-29249 Vulnerability in maven package io.github.javaezlib:javaez