Skip to content
OpenAdvisories
High · 7.5 CVE-2021-43801 EUVD-2021-2420GHSA-273r-rm8g-7f3x

Uncaught Exception in mercurius

Published Dec 13, 2021 · Updated Aug 4, 2024 · Assigned by GitHub_M

Description

Mercurius is a GraphQL adapter for Fastify. Any users from Mercurius@8.10.0 to 8.11.1 are subjected to a denial of service attack by sending a malformed JSON to `/graphql` unless they are using a custom error handler. The vulnerability has been fixed in https://github.com/mercurius-js/mercurius/pull/678 and shipped as v8.11.2. As a workaround users may use a custom error handler.

Affected products

VendorProductAffectedFixed
mercurius-js mercurius >= 8.10.0, < 8.11.2 —

Affected packages

EcosystemPackageAffectedFixedRecord
npm mercurius >= 8.10.0, < 8.11.2 8.11.2 GHSA-273r-rm8g-7f3x

References