mercurius-js/mercurius · Security
Uncaught Exception in mercurius
- GHSA ID
- GHSA-273r-rm8g-7f3x
- CVE ID
- CVE-2021-43801
- Severity
- high
- Published
- Updated
- CVSS
- 7.5 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- CVSS v3
- 7.5 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Description
Impact
Any users from [email protected] 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.
Patches
The vulnerability has been fixed in https://github.com/mercurius-js/mercurius/pull/678 and shipped as v8.11.2.
Workarounds
Use a custom error handler.
References
See https://github.com/mercurius-js/mercurius/issues/677
For more information
If you have any questions or comments about this advisory:
- Open an issue in https://github.com/mercurius-js/mercurius
- Email us at [email protected]
CWEs
- CWE-754 · Improper Check for Unusual or Exceptional Conditions
References
- https://github.com/mercurius-js/mercurius/security/advisories/GHSA-273r-rm8g-7f3x ↗
- https://github.com/mercurius-js/mercurius/issues/677 ↗
- https://github.com/mercurius-js/mercurius/pull/678/commits/732b2f895312da8deadd7b173dcd2d141d54b223 ↗
- https://nvd.nist.gov/vuln/detail/CVE-2021-43801 ↗
- https://github.com/advisories/GHSA-273r-rm8g-7f3x ↗