CVE-2021-43801
HIGH 7.5CVSS 3.1Uncaught Exception in mercurius
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.
- Published
- 13 Dec 2021
- Last modified
- 8 Jul 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Modified
- Weakness
- CWE-754
- Also known as
- GHSA-273r-rm8g-7f3x
- Sources
- NVDJSONOSV GHSA-273r-rm8g-7f3xJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 5.0 | AV:N/AC:L/Au:N/C:N/I:N/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | mercurius_project | mercuriuscpe:2.3:a:mercurius_project:mercurius:*:*:*:*:*:node.js:*:* |
>= 8.10.0, < 8.11.2 | 8.11.2 |
| OSV | npm | mercurius | >= 8.10.0, < 8.11.2 | 8.11.2 |
References
- https://github.com/mercurius-js/mercurius/issues/677 · Issue Tracking, Patch, Third Party Advisory, WEB
- https://github.com/mercurius-js/mercurius/pull/678/commits/732b2f895312da8deadd7b173dcd2d141d54b223 · Patch, Third Party Advisory, WEB
- https://github.com/mercurius-js/mercurius/security/advisories/GHSA-273r-rm8g-7f3x · Patch, Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2021-43801 · ADVISORY
- https://github.com/mercurius-js/mercurius · PACKAGE
History
- 25 Nov 2026 20:33 UTC · NVD: first stored (published 13 Dec 2021)
- 25 Nov 2026 20:10 UTC · OSV: first stored (published 13 Dec 2021)