GitHub Advisoryadvisory · npm

GHSA-273r-rm8g-7f3x Uncaught Exception in mercurius

HIGH Published 2021-12-13 Modified 2021-12-13 Official page ↗
Aliases
CVE-2021-43801
Ecosystem
npm
Packages
mercurius
Severity
High
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Weaknesses
CWE-754
Reviewed
2021-12-13

Affected packages

• npm mercurius: >= 8.10.0, < 8.11.2 → fixed in 8.11.2

Description

Impact 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. Patches The vulnerability has been fixed in https://github.com/mercurius-js/mercurius/pull/678 and shipped as v8.11.2. Workarounds Use a custom error handler. References See https://github.com/mercurius-js/mercurius/issues/677 For more information If you have any questions or comments about this advisory: • Open an issue in https://github.com/mercurius-js/mercurius • Email us at [email protected]

Related

Alias · CVE (1)

  • CVE-2021-43801 Mercurius is a GraphQL adapter for Fastify. vulnerability

Weakness · CWE (1)

  • CWE-754 Improper Check for Unusual or Exceptional Conditions weakness

References