{"cve":"CVE-2023-22477","nvd":{"published":"2023-01-09T15:15:11.127","modified":"2026-06-17T05:35:32.530","status":"Modified","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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5},"cwes":["CWE-248"],"references":["https://github.com/mercurius-js/mercurius/issues/939","https://github.com/mercurius-js/mercurius/pull/940","https://github.com/mercurius-js/mercurius/security/advisories/GHSA-cm8h-q92v-xcfc","https://github.com/mercurius-js/mercurius/issues/939","https://github.com/mercurius-js/mercurius/pull/940"],"products":["mercurius_project:mercurius"],"source":"nvd","synced_at":"2026-10-19T21:37:34.931465858+00:00"},"epss":{"cve":"CVE-2023-22477","score":0.01086,"percentile":0.65297,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-cm8h-q92v-xcfc","url":"https://osv.dev/vulnerability/GHSA-cm8h-q92v-xcfc","summary":"mercurius has Uncaught Exception when using subscriptions","modified":"2023-11-08T04:11:36.112865Z","packages":[{"ecosystem":"npm","name":"mercurius","purl":"pkg:npm/mercurius","ranges":[">=9.0.0 <11.5.0"],"fixed":["11.5.0"]},{"ecosystem":"npm","name":"mercurius","purl":"pkg:npm/mercurius","ranges":["<8.13.2"],"fixed":["8.13.2"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}