CVE-2023-22477 – mercurius
Package
Manager: npm
Name: mercurius
Vulnerable Version: >=9.0.0 <11.5.0 || >=0 <8.13.2
Severity
Level: Medium
CVSS v3.1: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N
EPSS: 0.00211 pctl0.43669
Details
mercurius has Uncaught Exception when using subscriptions ### Impact Any users of Mercurius until version v11.5.0 are subjected to a denial of service attack by sending a malformed packet over WebSocket to `/graphql`. ### Patches This was patched in https://github.com/mercurius-js/mercurius/pull/940. The patch was released as v11.5.0 and v8.13.2. ### Workarounds Disable subscriptions. ### References Reported publicly as https://github.com/mercurius-js/mercurius/issues/939. The same problem was solved in https://github.com/fastify/fastify-websocket/pull/228
Metadata
Created: 2023-01-09T21:55:44Z
Modified: 2023-01-10T16:15:07Z
Source: https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2023/01/GHSA-cm8h-q92v-xcfc/GHSA-cm8h-q92v-xcfc.json
CWE IDs: ["CWE-248"]
Alternative ID: GHSA-cm8h-q92v-xcfc
Finding: F140
Auto approve: 1