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.
Use a custom error handler.
See https://github.com/mercurius-js/mercurius/issues/677
If you have any questions or comments about this advisory: * Open an issue in https://github.com/mercurius-js/mercurius * Email us at hello@matteocollina.com
{
"github_reviewed": true,
"nvd_published_at": "2021-12-13T20:15:00Z",
"severity": "HIGH",
"cwe_ids": [
"CWE-754"
],
"github_reviewed_at": "2021-12-13T20:20:28Z"
}