CVE-2021-43801
HIGH
Published Dec 13, 20214y ago · Modified Jun 17, 20262w ago
7.5 CVSS 3.1
Published Dec 13, 2021 4y ago
Last Modified Jun 17, 2026 2w ago
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.
CVSS Details
Base Score
Exploitability
Impact
Vector string
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H Attack Vector Network
Attack Complexity Low
Privileges Required None
User Interaction None
Scope Unchanged
Confidentiality None
Integrity None
Availability High
Threat Intelligence
No active exploitation signals — not in CISA KEV and no EPSS score yet.
Exploit & Patch Status
No Known Exploit
Patch Available
Weaknesses 1
CWE-754
Affected Products 1
| Vendor | Product | Version | Range |
|---|---|---|---|
| mercurius_project | mercurius | * | ≥8.10.0 – <8.11.2 |
References 3
- github.com https://github.com/mercurius-js/mercurius/issues/677
- github.com https://github.com/mercurius-js/mercurius/pull/678/commits/732b2f895312da8deadd7b173dcd2d141d54b223
- github.com https://github.com/mercurius-js/mercurius/security/advisories/GHSA-273r-rm8g-7f3x
Remediation
- github.com https://github.com/mercurius-js/mercurius/issues/677
- github.com https://github.com/mercurius-js/mercurius/pull/678/commits/732b2f895312da8deadd7b173dcd2d141d54b223
- github.com https://github.com/mercurius-js/mercurius/security/advisories/GHSA-273r-rm8g-7f3x