mercurius
Affected
- introduced
9.0.0, fixed11.5.0(semver)
Fixed versions
11.5.0
Fix
- Fixed version
11.5.0npm install [email protected]
Advisory
Also known as: CVE-2023-22477
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
Medium Basis: The source's own band: MODERATE
9.0.0, fixed 11.5.0 (semver)11.5.0
11.5.0npm install [email protected]0, fixed 8.13.2 (semver)8.13.2
8.13.2npm install [email protected]Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0