Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. mercurius
  4. ›
  5. CVE-2023-22477

CVE-2023-22477: Uncaught Exception

January 9, 2023 (updated November 7, 2023)

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.

References

  • github.com/advisories/GHSA-cm8h-q92v-xcfc
  • github.com/fastify/fastify-websocket/pull/228
  • github.com/mercurius-js/mercurius/issues/939
  • github.com/mercurius-js/mercurius/pull/940
  • github.com/mercurius-js/mercurius/security/advisories/GHSA-cm8h-q92v-xcfc
  • nvd.nist.gov/vuln/detail/CVE-2023-22477

Code Behaviors & Features

Detect and mitigate CVE-2023-22477 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 8.13.2, all versions starting from 9.0.0 before 11.5.0

Fixed versions

  • 8.13.2
  • 11.5.0

Solution

Upgrade to versions 8.13.2, 11.5.0 or above.

Impact 7.5 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Learn more about CVSS

Source file

npm/mercurius/CVE-2023-22477.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:58 +0000.