Advisory

GHSA-273r-rm8g-7f3x

Also known as: CVE-2021-43801

Summary

Uncaught Exception in mercurius

Details

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:

Severity

High Basis: The source's own band: HIGH

Dates

Published
2021-12-13 21:33 UTC
Modified
2026-07-08 06:28 UTC

Affected packages and fixes

mercurius

npm · All systems

Affected

  • introduced 8.10.0, fixed 8.11.2 (semver)

Fixed versions

8.11.2

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences