CVE-2023-22477 Mercurius is vulnerable to denial of service (DoS) when using subscriptions
HighCVSS 7.5
EPSS 1.1%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: yes · technical impact: partial
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.
Upgrade path
3 packages: 2 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| mercurius project mercurius | < 8.13.2; >= 9.0.0, < 11.5.0 | 8.13.2, 11.5.0 | Fixed |
| npm mercurius(npm) | < 8.13.2; >= 9.0.0, < 11.5.0 | 8.13.2, 11.5.0 | Fixed |
| mercurius-js mercurius | = < 10.5.0 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| npm mercurius(npm) | >= 9.0.0, < 11.5.0 | 11.5.0 |
| npm mercurius(npm) | < 8.13.2 | 8.13.2 |
| mercurius-js mercurius | = < 10.5.0 | No fix listed |
| mercurius project mercurius | < 8.13.2 | 8.13.2 |
| mercurius project mercurius | >= 9.0.0, < 11.5.0 | 11.5.0 |
References
- https://github.com/mercurius-js/mercurius/security/advisories/GHSA-cm8h-q92v-xcfc patch third-party-advisory vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- https://github.com/mercurius-js/mercurius/issues/939 exploit issue-tracking third-party-advisory
- github.com patch
- https://github.com/mercurius-js/mercurius/pull/940 patch third-party-advisory
- github.com
- github.com product