{"id":"GHSA-273r-rm8g-7f3x","summary":"Uncaught Exception in mercurius","details":"### Impact\n\nAny 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.\n\n### Patches\n\nThe vulnerability has been fixed in https://github.com/mercurius-js/mercurius/pull/678 and shipped as v8.11.2.\n\n### Workarounds\n\nUse a custom error handler.\n\n### References\n\nSee https://github.com/mercurius-js/mercurius/issues/677\n\n### For more information\nIf you have any questions or comments about this advisory:\n* Open an issue in https://github.com/mercurius-js/mercurius\n* Email us at [hello@matteocollina.com](mailto:hello@matteocollina.com)\n","aliases":["CVE-2021-43801"],"modified":"2026-07-08T06:28:22.772382774Z","published":"2021-12-13T21:33:04Z","database_specific":{"cwe_ids":["CWE-754"],"severity":"HIGH","github_reviewed":true,"github_reviewed_at":"2021-12-13T20:20:28Z","nvd_published_at":"2021-12-13T20:15:00Z"},"references":[{"type":"WEB","url":"https://github.com/mercurius-js/mercurius/security/advisories/GHSA-273r-rm8g-7f3x"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-43801"},{"type":"WEB","url":"https://github.com/mercurius-js/mercurius/issues/677"},{"type":"WEB","url":"https://github.com/mercurius-js/mercurius/pull/678/commits/732b2f895312da8deadd7b173dcd2d141d54b223"},{"type":"PACKAGE","url":"https://github.com/mercurius-js/mercurius"}],"affected":[{"package":{"name":"mercurius","ecosystem":"npm","purl":"pkg:npm/mercurius"},"ranges":[{"type":"SEMVER","events":[{"introduced":"8.10.0"},{"fixed":"8.11.2"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/12/GHSA-273r-rm8g-7f3x/GHSA-273r-rm8g-7f3x.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}]}