Ecosyste.ms: Advisories

An open API service providing security vulnerability metadata for many open source software ecosystems.

Security Advisories: GSA_kwCzR0hTQS0yNzNyLXJtOGctN2YzeM0a1w

Uncaught Exception in mercurius

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:

Permalink: https://github.com/advisories/GHSA-273r-rm8g-7f3x
JSON: https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS0yNzNyLXJtOGctN2YzeM0a1w
Source: GitHub Advisory Database
Origin: Unspecified
Severity: High
Classification: General
Published: over 2 years ago
Updated: about 1 year ago


CVSS Score: 7.5
CVSS vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Identifiers: GHSA-273r-rm8g-7f3x, CVE-2021-43801
References: Repository: https://github.com/mercurius-js/mercurius
Blast Radius: 19.0

Affected Packages

npm:mercurius
Dependent packages: 99
Dependent repositories: 341
Downloads: 1,167,675 last month
Affected Version Ranges: >= 8.10.0, < 8.11.2
Fixed in: 8.11.2
All affected versions: 8.10.0, 8.11.0, 8.11.1
All unaffected versions: 0.0.1, 0.0.2, 0.0.3, 0.0.4, 0.0.5, 0.0.6, 0.1.0, 0.1.1, 1.0.0, 6.0.0, 6.1.0, 6.1.1, 6.2.0, 6.3.0, 6.4.0, 6.5.0, 6.7.0, 6.8.0, 6.9.0, 6.9.1, 6.10.0, 6.10.1, 6.11.0, 6.12.0, 7.0.0, 7.1.0, 7.2.0, 7.3.0, 7.3.1, 7.3.2, 7.3.3, 7.4.0, 7.5.0, 7.6.0, 7.6.1, 7.7.0, 7.8.0, 7.9.0, 7.9.1, 8.0.0, 8.1.0, 8.1.1, 8.1.2, 8.1.3, 8.2.0, 8.2.1, 8.3.0, 8.4.0, 8.4.1, 8.4.2, 8.5.0, 8.6.0, 8.7.0, 8.8.0, 8.9.0, 8.9.1, 8.11.2, 8.12.0, 8.12.1, 8.12.2, 8.13.0, 8.13.1, 8.13.2, 9.0.0, 9.1.0, 9.2.0, 9.3.0, 9.3.1, 9.3.2, 9.3.3, 9.3.4, 9.3.5, 9.3.6, 9.4.0, 9.5.0, 9.6.0, 9.7.0, 9.8.0, 10.0.0, 10.1.0, 10.1.1, 10.2.0, 10.3.0, 10.4.0, 10.5.0, 10.5.1, 11.0.0, 11.0.1, 11.1.0, 11.2.0, 11.3.0, 11.4.0, 11.5.0, 12.0.0, 12.0.1, 12.1.0, 12.2.0, 13.0.0, 13.1.0, 13.2.0, 13.2.1, 13.2.2, 13.3.0, 13.3.1, 13.3.2, 13.3.3, 13.4.0, 13.4.1, 14.0.0, 14.1.0