CVE-2021-43801
Mercurius Project Mercurius vulnerability
Mercurius is a GraphQL adapter for Fastify. 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. 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.
Affected products
Mercurius. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Mercurius Project Mercurius runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/mercurius-js/mercurius/issues/677 · Patch
- github.com/mercurius-js/mercurius/pull/678/commits/732b2f895312da8deadd7b173dcd2d141d54b22 · Patch
- github.com/mercurius-js/mercurius/security/advisories/GHSA-273r-rm8g-7f3x · Patch
- nvd.nist.gov/vuln/detail/CVE-2021-43801
- cve.org/CVERecord?id=CVE-2021-43801
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.