VDB
Sign up
HIGH7.5

GHSA-273r-rm8g-7f3x

Uncaught Exception in mercurius

Quick fix

GHSA-273r-rm8g-7f3x — mercurius: upgrade to the fixed version with the command below.

npm install mercurius@8.11.2

Details

### Impact

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.

### 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 [hello@matteocollina.com](mailto:hello@matteocollina.com)

Are you affected?

Enter the version of the package you're using.

Affected packages

npm/mercurius
Introduced in: 8.10.0Fixed in: 8.11.2
Fixnpm install mercurius@8.11.2

References