# Synapse V2 state resolution weakness allows Denial of Service (DoS)

Advisory record · `GHSA-3h7q-rfh9-xm4v`

- **Identifiers:** `GHSA-3h7q-rfh9-xm4v` · `CVE-2024-31208` · `PYSEC-2024-50`
- **State:** Confirmed
- **Severity:** CVSS 6.5 Medium
- **Critical:** No
- **Weakness (CWE):** [CWE-770](https://cwe.mitre.org/data/definitions/770.html)
- **Tags:** [Denial of service](https://agentprime.io/advisories/tag/dos.md)
- **Published:** 23 Apr 2024
- **Updated:** 10 Sept 2026
- **Reviewed by a person:** No

Published by the GitHub Advisory Database at 23 Apr 2024, 21:15 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

## Affected packages

- `matrix-synapse` (PyPI): affected `<1.105.1`; fixed in `1.105.1`

## Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

> Synapse, the Matrix homeserver (matrix-synapse on PyPI), versions before 1.105.1 are vulnerable. A remote Matrix user who shares a room with the server can send specially crafted events that exploit a weakness in how the auth chain cover index is calculated, causing high CPU use and excess database growth that lead to denial of service. Upgrade to matrix-synapse 1.105.1 or later; servers in private federations or that do not federate are not affected.

Written 5 Nov 2026.

## Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

## Severity and exploitation

- 6.5 Medium, CVSS 3.1: `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`, from CNA (GitHub_M)

- **CISA KEV:** Not listed.
- **EPSS:** 0.015, the 74th percentile, on 18 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

- 31 Oct 2026, 14:35 UTC: First seen by agentprime
- 31 Oct 2026, 14:35 UTC: [Confirmed by OSV](https://osv.dev/vulnerability/GHSA-3h7q-rfh9-xm4v)

## Sources

- [GitHub Advisory Database: GHSA-3h7q-rfh9-xm4v](https://github.com/advisories/GHSA-3h7q-rfh9-xm4v)
- [OSV: GHSA-3h7q-rfh9-xm4v](https://osv.dev/vulnerability/GHSA-3h7q-rfh9-xm4v)
- <https://github.com/element-hq/synapse/security/advisories/GHSA-3h7q-rfh9-xm4v>
- <https://nvd.nist.gov/vuln/detail/CVE-2024-31208>
- <https://github.com/element-hq/synapse/commit/55b0aa847a61774b6a3acdc4b177a20dc019f01a>
- <https://github.com/element-hq/synapse>
- <https://github.com/element-hq/synapse/releases/tag/v1.105.1>
- <https://github.com/pypa/advisory-database/tree/main/vulns/matrix-synapse/PYSEC-2024-50.yaml>
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/R6FCCO4ODTZ3FDS7TMW76PKOSEL2TQVB>
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/RR53FNHV446CB37TP45GZ6F6HZLZCK3K>
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/VSF4NJJSTSQRJQ47PLYYSCFYKJBP7DET>

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.

## Check whether this affects you

A Match means an installed version is in the affected range above. Most don’t affect the app; agentprime hasn’t analysed this one yet.

- With the agentprime MCP server (<https://api.agentprime.io/mcp>), ask your agent to check the project: `check_lockfile` sends a lockfile, `check_packages` a list of installed packages, and both return the Matches and the upgrades that clear them. `get_advisory` returns this record. Setup: <https://agentprime.io/mcp.md>
- In a browser: <https://agentprime.io/check/> reads your lockfile in the browser, never uploading it.
- Whether it touches your code, with file and line: the Claude Code plugin, <https://agentprime.io/plugin.md>
- As JSON: <https://api.agentprime.io/v1/advisories/GHSA-3h7q-rfh9-xm4v>, or `POST https://api.agentprime.io/v1/match` with your packages (<https://agentprime.io/api.md>)

---

The web page: <https://agentprime.io/advisories/GHSA-3h7q-rfh9-xm4v/>. Everything for agents: <https://agentprime.io/llms.txt>.
