CVE-2021-43801
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.
How to fix
- mercurius_project mercurius8.11.2 or later
- mercurius8.11.2 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| mercurius_project mercurius | 8.10.0 ≤ v < 8.11.2 | 8.11.2 |
| mercuriusnpm | 8.10.0 ≤ v < 8.11.2 | 8.11.2 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.