SecurityContext

CVE-2021-43801: Mercurius - Denial of Service

  • Cve: CVE-2021-43801
  • Name: Mercurius - Denial of Service
  • Description: 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.
  • Impact: Attackers can cause denial of service by sending malformed JSON requests, disrupting service availability.
  • Remediation: Update to version 8.11.2 or later.
  • Vulnerability type: denial_of_service
  • Vulnerability impact: denial_of_service
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: high
  • 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
  • Epss score: 0.01572
  • Epss percentile: 0.76041
  • Assignee: [email protected]
  • Published at: 2021-12-13T20:15:07Z
  • Age in days: 1807
  • Modified at: 2026-06-17T04:11:27Z
  • Patch available: yes
  • References total: 3
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2021-43801
  • Nvd status: modified
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
  • Not known: requirements, hackerone

Cwe

IdName
CWE-754Improper Check for Unusual or Exceptional Conditions

References

Same in every row:

  • Source: nvd
UrlTags
https://github.com/mercurius-js/mercurius/issues/677Issue Tracking, Patch, Third Party Advisory
https://github.com/mercurius-js/mercurius/pull/678/commits/732b2f895312da8deadd7b173dcd2d141d54b223Patch, Third Party Advisory
https://github.com/mercurius-js/mercurius/security/advisories/GHSA-273r-rm8g-7f3xPatch, Third Party Advisory

Products

ProductAffectedPlatform boundSourcesUrl
mercurius_project:mercurius>= 8.10.0, < 8.11.2nonvd/v1/products/mercurius_project/mercurius

Projects

RepositoryLink kindsIndexedUrl
mercurius-js/mercuriusfix, issues, package, pull, security_advisoryyes/v1/repositories/mercurius-js/mercurius

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Remote: yes
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts