{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "versions": [
              {
                "introduced": "6.0.0"
              },
              {
                "fixed": "6.0.2"
              }
            ]
          },
          "events": [
            {
              "introduced": "52eeb0b541a0161b34f06a1d18bfe9130e62c89d"
            },
            {
              "fixed": "80c87c4bfc86082ed1a22b333f848ea25a3c68b3"
            }
          ],
          "repo": "https://github.com/matrix-org/matrix-hookshot",
          "type": "GIT"
        },
        {
          "database_specific": {
            "versions": [
              {
                "introduced": "0"
              },
              {
                "fixed": "5.4.2"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "916592b0a7871fe968b4dd956bc518d85922bf4a"
            }
          ],
          "repo": "https://github.com/matrix-org/matrix-hookshot",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-cr4q-jf47-3645"
  ],
  "database_specific": {
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
      "CWE-754"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/23xxx/CVE-2025-23197.json"
  },
  "details": "matrix-hookshot is a Matrix bot for connecting to external services like GitHub, GitLab, JIRA, and more. When Hookshot 6 version 6.0.1 or below, or Hookshot 5 version 5.4.1 or below, is configured with GitHub support, it is vulnerable to a Denial of Service (DoS) whereby it can crash on restart due to a missing check. The impact is greater to you untrusted users can add their own GitHub organizations to Hookshot in order to connect their room to a repository. This vulnerability is fixed in 6.0.2 and 5.4.2.",
  "id": "CVE-2025-23197",
  "modified": "2026-04-01T23:10:11.034499227Z",
  "published": "2025-01-27T17:21:40.377Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/23xxx/CVE-2025-23197.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/matrix-org/matrix-hookshot/security/advisories/GHSA-cr4q-jf47-3645"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2025-23197"
    },
    {
      "type": "FIX",
      "url": "https://github.com/matrix-org/matrix-hookshot/commit/e51d8210233ac759e7f7dfebc2c4f1bf6ce94802"
    }
  ],
  "schema_version": "1.7.3",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H",
      "type": "CVSS_V3"
    }
  ],
  "summary": "matrix-hookshot has a Potential Denial of Service when Hookshot is configured with GitHub support"
}