GCVE Workshop - 22 September 2026 (14:00-18:00), Luxembourg Before The Vulnopticon Conference - Registration

CVE-2023-22477 (GCVE-0-2023-22477)

Vulnerability from cvelistv5 – Published: 2023-01-09 14:12 – Updated: 2025-03-10 21:31
VLAI
Title
Mercurius is vulnerable to denial of service (DoS) when using subscriptions
Summary
Mercurius is a GraphQL adapter for Fastify. Any users of Mercurius until version 10.5.0 are subjected to a denial of service attack by sending a malformed packet over WebSocket to `/graphql`. This issue was patched in #940. As a workaround, users can disable subscriptions.
SSVC
Exploitation: poc Automatable: yes Technical Impact: partial
CISA Coordinator · CISA-ADP (v2.0.3)
Decision recorded 2025-03-10 21:02 UTC
CWE
Impacted products
Vendor Product Version CPE status
mercurius-js mercurius Affected: < 10.5.0
guessed Create a notification for this product.
Show details on NVD website

{
  "containers": {
    "adp": [
      {
        "providerMetadata": {
          "dateUpdated": "2024-08-02T10:13:48.466Z",
          "orgId": "af854a3a-2127-422b-91ae-364da2661108",
          "shortName": "CVE"
        },
        "references": [
          {
            "name": "https://github.com/mercurius-js/mercurius/security/advisories/GHSA-cm8h-q92v-xcfc",
            "tags": [
              "x_refsource_CONFIRM",
              "x_transferred"
            ],
            "url": "https://github.com/mercurius-js/mercurius/security/advisories/GHSA-cm8h-q92v-xcfc"
          },
          {
            "name": "https://github.com/mercurius-js/mercurius/issues/939",
            "tags": [
              "x_refsource_MISC",
              "x_transferred"
            ],
            "url": "https://github.com/mercurius-js/mercurius/issues/939"
          },
          {
            "name": "https://github.com/mercurius-js/mercurius/pull/940",
            "tags": [
              "x_refsource_MISC",
              "x_transferred"
            ],
            "url": "https://github.com/mercurius-js/mercurius/pull/940"
          }
        ],
        "title": "CVE Program Container"
      },
      {
        "metrics": [
          {
            "other": {
              "content": {
                "id": "CVE-2023-22477",
                "options": [
                  {
                    "Exploitation": "poc"
                  },
                  {
                    "Automatable": "yes"
                  },
                  {
                    "Technical Impact": "partial"
                  }
                ],
                "role": "CISA Coordinator",
                "timestamp": "2025-03-10T21:02:16.984138Z",
                "version": "2.0.3"
              },
              "type": "ssvc"
            }
          }
        ],
        "providerMetadata": {
          "dateUpdated": "2025-03-10T21:31:05.984Z",
          "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
          "shortName": "CISA-ADP"
        },
        "title": "CISA ADP Vulnrichment"
      }
    ],
    "cna": {
      "affected": [
        {
          "product": "mercurius",
          "vendor": "mercurius-js",
          "versions": [
            {
              "status": "affected",
              "version": "\u003c 10.5.0"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "Mercurius is a GraphQL adapter for Fastify. Any users of Mercurius until version 10.5.0 are subjected to a denial of service attack by sending a malformed packet over WebSocket to `/graphql`. This issue was patched in #940. As a workaround, users can disable subscriptions.\n\n"
        }
      ],
      "metrics": [
        {
          "cvssV3_1": {
            "attackComplexity": "LOW",
            "attackVector": "NETWORK",
            "availabilityImpact": "LOW",
            "baseScore": 5.3,
            "baseSeverity": "MEDIUM",
            "confidentialityImpact": "NONE",
            "integrityImpact": "NONE",
            "privilegesRequired": "NONE",
            "scope": "UNCHANGED",
            "userInteraction": "NONE",
            "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L",
            "version": "3.1"
          }
        }
      ],
      "problemTypes": [
        {
          "descriptions": [
            {
              "cweId": "CWE-248",
              "description": "CWE-248: Uncaught Exception",
              "lang": "en",
              "type": "CWE"
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2023-01-09T14:12:24.837Z",
        "orgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
        "shortName": "GitHub_M"
      },
      "references": [
        {
          "name": "https://github.com/mercurius-js/mercurius/security/advisories/GHSA-cm8h-q92v-xcfc",
          "tags": [
            "x_refsource_CONFIRM"
          ],
          "url": "https://github.com/mercurius-js/mercurius/security/advisories/GHSA-cm8h-q92v-xcfc"
        },
        {
          "name": "https://github.com/mercurius-js/mercurius/issues/939",
          "tags": [
            "x_refsource_MISC"
          ],
          "url": "https://github.com/mercurius-js/mercurius/issues/939"
        },
        {
          "name": "https://github.com/mercurius-js/mercurius/pull/940",
          "tags": [
            "x_refsource_MISC"
          ],
          "url": "https://github.com/mercurius-js/mercurius/pull/940"
        }
      ],
      "source": {
        "advisory": "GHSA-cm8h-q92v-xcfc",
        "discovery": "UNKNOWN"
      },
      "title": "Mercurius is vulnerable to denial of service (DoS) when using subscriptions"
    }
  },
  "cveMetadata": {
    "assignerOrgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
    "assignerShortName": "GitHub_M",
    "cveId": "CVE-2023-22477",
    "datePublished": "2023-01-09T14:12:24.837Z",
    "dateReserved": "2022-12-29T17:41:28.087Z",
    "dateUpdated": "2025-03-10T21:31:05.984Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.1",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2023-22477",
      "date": "2026-09-17",
      "epss": "0.01056",
      "percentile": "0.62808"
    },
    "fkie_nvd": {
      "configurations": "[{\"nodes\": [{\"operator\": \"OR\", \"negate\": false, \"cpeMatch\": [{\"vulnerable\": true, \"criteria\": \"cpe:2.3:a:mercurius_project:mercurius:*:*:*:*:*:node.js:*:*\", \"versionEndExcluding\": \"8.13.2\", \"matchCriteriaId\": \"78357691-02E7-4644-9A54-02DCBE4A6B47\"}, {\"vulnerable\": true, \"criteria\": \"cpe:2.3:a:mercurius_project:mercurius:*:*:*:*:*:node.js:*:*\", \"versionStartIncluding\": \"9.0.0\", \"versionEndExcluding\": \"11.5.0\", \"matchCriteriaId\": \"8FDDE8C9-B8CC-417B-9250-5950C2E48CC0\"}]}]}]",
      "descriptions": "[{\"lang\": \"en\", \"value\": \"Mercurius is a GraphQL adapter for Fastify. Any users of Mercurius until version 10.5.0 are subjected to a denial of service attack by sending a malformed packet over WebSocket to `/graphql`. This issue was patched in #940. As a workaround, users can disable subscriptions.\\n\\n\"}, {\"lang\": \"es\", \"value\": \"Mercurius es un adaptador GraphQL para Fastify. Cualquier usuario de Mercurius hasta la versi\\u00f3n 10.5.0 est\\u00e1 sujeto a un ataque de denegaci\\u00f3n de servicio al enviar un paquete con formato incorrecto a trav\\u00e9s de WebSocket a \\\"/graphql\\\". Este problema se solucion\\u00f3 en el n.\\u00b0 940. Como workaround, los usuarios pueden desactivar las suscripciones.\"}]",
      "id": "CVE-2023-22477",
      "lastModified": "2024-11-21T07:44:53.093",
      "metrics": "{\"cvssMetricV31\": [{\"source\": \"security-advisories@github.com\", \"type\": \"Secondary\", \"cvssData\": {\"version\": \"3.1\", \"vectorString\": \"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L\", \"baseScore\": 5.3, \"baseSeverity\": \"MEDIUM\", \"attackVector\": \"NETWORK\", \"attackComplexity\": \"LOW\", \"privilegesRequired\": \"NONE\", \"userInteraction\": \"NONE\", \"scope\": \"UNCHANGED\", \"confidentialityImpact\": \"NONE\", \"integrityImpact\": \"NONE\", \"availabilityImpact\": \"LOW\"}, \"exploitabilityScore\": 3.9, \"impactScore\": 1.4}, {\"source\": \"nvd@nist.gov\", \"type\": \"Primary\", \"cvssData\": {\"version\": \"3.1\", \"vectorString\": \"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H\", \"baseScore\": 7.5, \"baseSeverity\": \"HIGH\", \"attackVector\": \"NETWORK\", \"attackComplexity\": \"LOW\", \"privilegesRequired\": \"NONE\", \"userInteraction\": \"NONE\", \"scope\": \"UNCHANGED\", \"confidentialityImpact\": \"NONE\", \"integrityImpact\": \"NONE\", \"availabilityImpact\": \"HIGH\"}, \"exploitabilityScore\": 3.9, \"impactScore\": 3.6}]}",
      "published": "2023-01-09T15:15:11.127",
      "references": "[{\"url\": \"https://github.com/mercurius-js/mercurius/issues/939\", \"source\": \"security-advisories@github.com\", \"tags\": [\"Exploit\", \"Issue Tracking\", \"Third Party Advisory\"]}, {\"url\": \"https://github.com/mercurius-js/mercurius/pull/940\", \"source\": \"security-advisories@github.com\", \"tags\": [\"Patch\", \"Third Party Advisory\"]}, {\"url\": \"https://github.com/mercurius-js/mercurius/security/advisories/GHSA-cm8h-q92v-xcfc\", \"source\": \"security-advisories@github.com\", \"tags\": [\"Patch\", \"Third Party Advisory\"]}, {\"url\": \"https://github.com/mercurius-js/mercurius/issues/939\", \"source\": \"af854a3a-2127-422b-91ae-364da2661108\", \"tags\": [\"Exploit\", \"Issue Tracking\", \"Third Party Advisory\"]}, {\"url\": \"https://github.com/mercurius-js/mercurius/pull/940\", \"source\": \"af854a3a-2127-422b-91ae-364da2661108\", \"tags\": [\"Patch\", \"Third Party Advisory\"]}, {\"url\": \"https://github.com/mercurius-js/mercurius/security/advisories/GHSA-cm8h-q92v-xcfc\", \"source\": \"af854a3a-2127-422b-91ae-364da2661108\", \"tags\": [\"Patch\", \"Third Party Advisory\"]}]",
      "sourceIdentifier": "security-advisories@github.com",
      "vulnStatus": "Modified",
      "weaknesses": "[{\"source\": \"security-advisories@github.com\", \"type\": \"Secondary\", \"description\": [{\"lang\": \"en\", \"value\": \"CWE-248\"}]}, {\"source\": \"nvd@nist.gov\", \"type\": \"Primary\", \"description\": [{\"lang\": \"en\", \"value\": \"NVD-CWE-Other\"}]}]"
    },
    "nvd": "{\"cve\":{\"id\":\"CVE-2023-22477\",\"sourceIdentifier\":\"security-advisories@github.com\",\"published\":\"2023-01-09T15:15:11.127\",\"lastModified\":\"2026-06-17T05:35:32.530\",\"vulnStatus\":\"Modified\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"Mercurius is a GraphQL adapter for Fastify. Any users of Mercurius until version 10.5.0 are subjected to a denial of service attack by sending a malformed packet over WebSocket to `/graphql`. This issue was patched in #940. As a workaround, users can disable subscriptions.\\n\\n\"},{\"lang\":\"es\",\"value\":\"Mercurius es un adaptador GraphQL para Fastify. Cualquier usuario de Mercurius hasta la versi\u00f3n 10.5.0 est\u00e1 sujeto a un ataque de denegaci\u00f3n de servicio al enviar un paquete con formato incorrecto a trav\u00e9s de WebSocket a \\\"/graphql\\\". Este problema se solucion\u00f3 en el n.\u00b0 940. Como workaround, los usuarios pueden desactivar las suscripciones.\"}],\"affected\":[{\"source\":\"security-advisories@github.com\",\"affectedData\":[{\"vendor\":\"mercurius-js\",\"product\":\"mercurius\",\"versions\":[{\"version\":\"\u003c 10.5.0\",\"status\":\"affected\"}]}]}],\"metrics\":{\"cvssMetricV31\":[{\"source\":\"security-advisories@github.com\",\"type\":\"Secondary\",\"cvssData\":{\"version\":\"3.1\",\"vectorString\":\"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L\",\"baseScore\":5.3,\"baseSeverity\":\"MEDIUM\",\"attackVector\":\"NETWORK\",\"attackComplexity\":\"LOW\",\"privilegesRequired\":\"NONE\",\"userInteraction\":\"NONE\",\"scope\":\"UNCHANGED\",\"confidentialityImpact\":\"NONE\",\"integrityImpact\":\"NONE\",\"availabilityImpact\":\"LOW\"},\"exploitabilityScore\":3.9,\"impactScore\":1.4},{\"source\":\"nvd@nist.gov\",\"type\":\"Primary\",\"cvssData\":{\"version\":\"3.1\",\"vectorString\":\"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H\",\"baseScore\":7.5,\"baseSeverity\":\"HIGH\",\"attackVector\":\"NETWORK\",\"attackComplexity\":\"LOW\",\"privilegesRequired\":\"NONE\",\"userInteraction\":\"NONE\",\"scope\":\"UNCHANGED\",\"confidentialityImpact\":\"NONE\",\"integrityImpact\":\"NONE\",\"availabilityImpact\":\"HIGH\"},\"exploitabilityScore\":3.9,\"impactScore\":3.6}],\"ssvcV203\":[{\"source\":\"134c704f-9b21-4f2e-91b3-4a467353bcc0\",\"ssvcData\":{\"timestamp\":\"2025-03-10T21:02:16.984138Z\",\"id\":\"CVE-2023-22477\",\"options\":[{\"exploitation\":\"poc\"},{\"automatable\":\"yes\"},{\"technicalImpact\":\"partial\"}],\"role\":\"CISA Coordinator\",\"version\":\"2.0.3\"}}]},\"weaknesses\":[{\"source\":\"security-advisories@github.com\",\"type\":\"Secondary\",\"description\":[{\"lang\":\"en\",\"value\":\"CWE-248\"}]},{\"source\":\"nvd@nist.gov\",\"type\":\"Primary\",\"description\":[{\"lang\":\"en\",\"value\":\"NVD-CWE-Other\"}]}],\"configurations\":[{\"nodes\":[{\"operator\":\"OR\",\"negate\":false,\"cpeMatch\":[{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:mercurius_project:mercurius:*:*:*:*:*:node.js:*:*\",\"versionEndExcluding\":\"8.13.2\",\"matchCriteriaId\":\"78357691-02E7-4644-9A54-02DCBE4A6B47\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:mercurius_project:mercurius:*:*:*:*:*:node.js:*:*\",\"versionStartIncluding\":\"9.0.0\",\"versionEndExcluding\":\"11.5.0\",\"matchCriteriaId\":\"8FDDE8C9-B8CC-417B-9250-5950C2E48CC0\"}]}]}],\"references\":[{\"url\":\"https://github.com/mercurius-js/mercurius/issues/939\",\"source\":\"security-advisories@github.com\",\"tags\":[\"Exploit\",\"Issue Tracking\",\"Third Party Advisory\"]},{\"url\":\"https://github.com/mercurius-js/mercurius/pull/940\",\"source\":\"security-advisories@github.com\",\"tags\":[\"Patch\",\"Third Party Advisory\"]},{\"url\":\"https://github.com/mercurius-js/mercurius/security/advisories/GHSA-cm8h-q92v-xcfc\",\"source\":\"security-advisories@github.com\",\"tags\":[\"Patch\",\"Third Party Advisory\"]},{\"url\":\"https://github.com/mercurius-js/mercurius/issues/939\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\",\"tags\":[\"Exploit\",\"Issue Tracking\",\"Third Party Advisory\"]},{\"url\":\"https://github.com/mercurius-js/mercurius/pull/940\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\",\"tags\":[\"Patch\",\"Third Party Advisory\"]},{\"url\":\"https://github.com/mercurius-js/mercurius/security/advisories/GHSA-cm8h-q92v-xcfc\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\",\"tags\":[\"Patch\",\"Third Party Advisory\"]}]}}",
    "redhat_vex": {
      "current_release_date": "2025-05-28T23:12:28+00:00",
      "cve": "CVE-2023-22477",
      "id": "CVE-2023-22477",
      "initial_release_date": "2023-01-01T00:00:00+00:00",
      "product_status:known_not_affected": "1",
      "source": "Red Hat CSAF VEX",
      "status": "final",
      "title": "Mercurius is vulnerable to denial of service (DoS) when using subscriptions",
      "url": "https://security.access.redhat.com/data/csaf/v2/vex/2023/cve-2023-22477.json",
      "version": "3"
    },
    "vulnrichment": {
      "containers": "{\"adp\": [{\"title\": \"CVE Program Container\", \"references\": [{\"url\": \"https://github.com/mercurius-js/mercurius/security/advisories/GHSA-cm8h-q92v-xcfc\", \"name\": \"https://github.com/mercurius-js/mercurius/security/advisories/GHSA-cm8h-q92v-xcfc\", \"tags\": [\"x_refsource_CONFIRM\", \"x_transferred\"]}, {\"url\": \"https://github.com/mercurius-js/mercurius/issues/939\", \"name\": \"https://github.com/mercurius-js/mercurius/issues/939\", \"tags\": [\"x_refsource_MISC\", \"x_transferred\"]}, {\"url\": \"https://github.com/mercurius-js/mercurius/pull/940\", \"name\": \"https://github.com/mercurius-js/mercurius/pull/940\", \"tags\": [\"x_refsource_MISC\", \"x_transferred\"]}], \"providerMetadata\": {\"orgId\": \"af854a3a-2127-422b-91ae-364da2661108\", \"shortName\": \"CVE\", \"dateUpdated\": \"2024-08-02T10:13:48.466Z\"}}, {\"title\": \"CISA ADP Vulnrichment\", \"metrics\": [{\"other\": {\"type\": \"ssvc\", \"content\": {\"id\": \"CVE-2023-22477\", \"role\": \"CISA Coordinator\", \"options\": [{\"Exploitation\": \"poc\"}, {\"Automatable\": \"yes\"}, {\"Technical Impact\": \"partial\"}], \"version\": \"2.0.3\", \"timestamp\": \"2025-03-10T21:02:16.984138Z\"}}}], \"providerMetadata\": {\"orgId\": \"134c704f-9b21-4f2e-91b3-4a467353bcc0\", \"shortName\": \"CISA-ADP\", \"dateUpdated\": \"2025-03-10T21:02:18.313Z\"}}], \"cna\": {\"title\": \"Mercurius is vulnerable to denial of service (DoS) when using subscriptions\", \"source\": {\"advisory\": \"GHSA-cm8h-q92v-xcfc\", \"discovery\": \"UNKNOWN\"}, \"metrics\": [{\"cvssV3_1\": {\"scope\": \"UNCHANGED\", \"version\": \"3.1\", \"baseScore\": 5.3, \"attackVector\": \"NETWORK\", \"baseSeverity\": \"MEDIUM\", \"vectorString\": \"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L\", \"integrityImpact\": \"NONE\", \"userInteraction\": \"NONE\", \"attackComplexity\": \"LOW\", \"availabilityImpact\": \"LOW\", \"privilegesRequired\": \"NONE\", \"confidentialityImpact\": \"NONE\"}}], \"affected\": [{\"vendor\": \"mercurius-js\", \"product\": \"mercurius\", \"versions\": [{\"status\": \"affected\", \"version\": \"\u003c 10.5.0\"}]}], \"references\": [{\"url\": \"https://github.com/mercurius-js/mercurius/security/advisories/GHSA-cm8h-q92v-xcfc\", \"name\": \"https://github.com/mercurius-js/mercurius/security/advisories/GHSA-cm8h-q92v-xcfc\", \"tags\": [\"x_refsource_CONFIRM\"]}, {\"url\": \"https://github.com/mercurius-js/mercurius/issues/939\", \"name\": \"https://github.com/mercurius-js/mercurius/issues/939\", \"tags\": [\"x_refsource_MISC\"]}, {\"url\": \"https://github.com/mercurius-js/mercurius/pull/940\", \"name\": \"https://github.com/mercurius-js/mercurius/pull/940\", \"tags\": [\"x_refsource_MISC\"]}], \"descriptions\": [{\"lang\": \"en\", \"value\": \"Mercurius is a GraphQL adapter for Fastify. Any users of Mercurius until version 10.5.0 are subjected to a denial of service attack by sending a malformed packet over WebSocket to `/graphql`. This issue was patched in #940. As a workaround, users can disable subscriptions.\\n\\n\"}], \"problemTypes\": [{\"descriptions\": [{\"lang\": \"en\", \"type\": \"CWE\", \"cweId\": \"CWE-248\", \"description\": \"CWE-248: Uncaught Exception\"}]}], \"providerMetadata\": {\"orgId\": \"a0819718-46f1-4df5-94e2-005712e83aaa\", \"shortName\": \"GitHub_M\", \"dateUpdated\": \"2023-01-09T14:12:24.837Z\"}}}",
      "cveMetadata": "{\"cveId\": \"CVE-2023-22477\", \"state\": \"PUBLISHED\", \"dateUpdated\": \"2025-03-10T21:31:05.984Z\", \"dateReserved\": \"2022-12-29T17:41:28.087Z\", \"assignerOrgId\": \"a0819718-46f1-4df5-94e2-005712e83aaa\", \"datePublished\": \"2023-01-09T14:12:24.837Z\", \"assignerShortName\": \"GitHub_M\"}",
      "dataType": "CVE_RECORD",
      "dataVersion": "5.1"
    }
  }
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…

Related by attack behaviour

Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.


Loading…