High severityNVD Advisory· Published Dec 13, 2021· Updated Aug 4, 2024
Uncaught Exception in mercurius
CVE-2021-43801
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
mercuriusnpm | >= 8.10.0, < 8.11.2 | 8.11.2 |
Affected products
2- mercurius-js/mercuriusv5Range: >= 8.10.0, < 8.11.2
Patches
Vulnerability mechanics
References
5- github.com/advisories/GHSA-273r-rm8g-7f3xghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2021-43801ghsaADVISORY
- github.com/mercurius-js/mercurius/issues/677ghsax_refsource_MISCWEB
- github.com/mercurius-js/mercurius/pull/678/commits/732b2f895312da8deadd7b173dcd2d141d54b223ghsax_refsource_MISCWEB
- github.com/mercurius-js/mercurius/security/advisories/GHSA-273r-rm8g-7f3xghsax_refsource_CONFIRMWEB
News mentions
0No linked articles in our index yet.