CVE-2021-43801

High

Description

Mercurius is a GraphQL adapter for Fastify. Any users from [email protected] 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.

SeverityHigh
CVSS7.5
Exploit probability—
ProductMercurius
PublishedDec 13, 2021
First seenDec 13, 2021
Weakness typeCWE-754CWE-754

How to fix

Update
  • mercurius_project mercurius8.11.2 or later
  • mercurius8.11.2 or later

Affected products

ProductAffected versionsFixed in
mercurius_project mercurius8.10.0 ≤ v < 8.11.28.11.2
mercuriusnpm8.10.0 ≤ v < 8.11.28.11.2

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.