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.
References
Link | Resource |
---|---|
https://github.com/mercurius-js/mercurius/issues/677 | Issue Tracking Patch Third Party Advisory |
https://github.com/mercurius-js/mercurius/pull/678/commits/732b2f895312da8deadd7b173dcd2d141d54b223 | Patch Third Party Advisory |
https://github.com/mercurius-js/mercurius/security/advisories/GHSA-273r-rm8g-7f3x | Patch Third Party Advisory |
https://github.com/mercurius-js/mercurius/issues/677 | Issue Tracking Patch Third Party Advisory |
https://github.com/mercurius-js/mercurius/pull/678/commits/732b2f895312da8deadd7b173dcd2d141d54b223 | Patch Third Party Advisory |
https://github.com/mercurius-js/mercurius/security/advisories/GHSA-273r-rm8g-7f3x | Patch Third Party Advisory |
Configurations
History
21 Nov 2024, 06:29
Type | Values Removed | Values Added |
---|---|---|
References | () https://github.com/mercurius-js/mercurius/issues/677 - Issue Tracking, Patch, Third Party Advisory | |
References | () https://github.com/mercurius-js/mercurius/pull/678/commits/732b2f895312da8deadd7b173dcd2d141d54b223 - Patch, Third Party Advisory | |
References | () https://github.com/mercurius-js/mercurius/security/advisories/GHSA-273r-rm8g-7f3x - Patch, Third Party Advisory |
Information
Published : 2021-12-13 20:15
Updated : 2024-11-21 06:29
NVD link : CVE-2021-43801
Mitre link : CVE-2021-43801
CVE.ORG link : CVE-2021-43801
JSON object : View
Products Affected
mercurius_project
- mercurius
CWE
CWE-754
Improper Check for Unusual or Exceptional Conditions