UBUNTU-CVE-2024-31208 (CVE-2024-31208)
Vulnerability from osv_ubuntu – Published: 2024-04-23 18:15 – Updated: 2026-05-20 15:09 – Source websiteSynapse is an open-source Matrix homeserver. A remote Matrix user with malicious intent, sharing a room with Synapse instances before 1.105.1, can dispatch specially crafted events to exploit a weakness in the V2 state resolution algorithm. This can induce high CPU consumption and accumulate excessive data in the database of such instances, resulting in a denial of service. Servers in private federations, or those that do not federate, are not affected. Server administrators should upgrade to 1.105.1 or later. Some workarounds are available. One can ban the malicious users or ACL block servers from the rooms and/or leave the room and purge the room using the admin API.
{
"affected": [
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "synapse",
"binary_version": "0.2.99.2-1"
}
]
},
"package": {
"ecosystem": "Ubuntu:16.04:LTS",
"name": "synapse",
"purl": "pkg:deb/ubuntu/synapse@0.2.99.2-1?arch=source\u0026distro=xenial"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"0.2.99.1-1",
"0.2.99.2-1"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "matrix-synapse",
"binary_version": "0.24.0+dfsg-1ubuntu0.1~esm4"
}
]
},
"package": {
"ecosystem": "Ubuntu:Pro:18.04:LTS",
"name": "matrix-synapse",
"purl": "pkg:deb/ubuntu/matrix-synapse@0.24.0+dfsg-1ubuntu0.1~esm4?arch=source\u0026distro=esm-apps/bionic"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"0.19.2+dfsg-6",
"0.24.0+dfsg-1",
"0.24.0+dfsg-1ubuntu0.1~esm1",
"0.24.0+dfsg-1ubuntu0.1~esm4"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "synapse",
"binary_version": "0.2.99.4-1"
}
]
},
"package": {
"ecosystem": "Ubuntu:18.04:LTS",
"name": "synapse",
"purl": "pkg:deb/ubuntu/synapse@0.2.99.4-1?arch=source\u0026distro=bionic"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"0.2.99.2-3",
"0.2.99.3-1",
"0.2.99.4-1"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "matrix-synapse",
"binary_version": "1.11.0-1ubuntu0.1~esm2"
}
]
},
"package": {
"ecosystem": "Ubuntu:Pro:20.04:LTS",
"name": "matrix-synapse",
"purl": "pkg:deb/ubuntu/matrix-synapse@1.11.0-1ubuntu0.1~esm2?arch=source\u0026distro=esm-apps/focal"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.3.0-1",
"1.4.0-1",
"1.5.0-1",
"1.5.1-1",
"1.6.0-1",
"1.6.1-1",
"1.7.0-2",
"1.7.1-1",
"1.7.2-1",
"1.7.3-1",
"1.8.0-1",
"1.9.0-1",
"1.9.1-1",
"1.10.0-1",
"1.10.0-2",
"1.11.0-1",
"1.11.0-1ubuntu0.1~esm2"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "synapse",
"binary_version": "0.2.99.4-2"
}
]
},
"package": {
"ecosystem": "Ubuntu:20.04:LTS",
"name": "synapse",
"purl": "pkg:deb/ubuntu/synapse@0.2.99.4-2?arch=source\u0026distro=focal"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"0.2.99.4-2"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "synapse",
"binary_version": "0.2.99.4-3build1"
}
]
},
"package": {
"ecosystem": "Ubuntu:22.04:LTS",
"name": "synapse",
"purl": "pkg:deb/ubuntu/synapse@0.2.99.4-3build1?arch=source\u0026distro=jammy"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"0.2.99.4-3",
"0.2.99.4-3build1"
]
},
{
"ecosystem_specific": {
"availability": "Available with Ubuntu Pro: https://ubuntu.com/pro",
"binaries": [
{
"binary_name": "matrix-synapse",
"binary_version": "1.53.0-1ubuntu0.1~esm2"
}
]
},
"package": {
"ecosystem": "Ubuntu:Pro:22.04:LTS",
"name": "matrix-synapse",
"purl": "pkg:deb/ubuntu/matrix-synapse@1.53.0-1ubuntu0.1~esm2?arch=source\u0026distro=esm-apps/jammy"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "1.53.0-1ubuntu0.1~esm2"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.39.0-1",
"1.47.0-2",
"1.47.1-1",
"1.48.0-1",
"1.49.0-1",
"1.49.2-1",
"1.50.1-1",
"1.50.2-1",
"1.51.0-1",
"1.52.0-1",
"1.53.0-1"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "matrix-synapse",
"binary_version": "1.100.0-1ubuntu1"
}
]
},
"package": {
"ecosystem": "Ubuntu:24.04:LTS",
"name": "matrix-synapse",
"purl": "pkg:deb/ubuntu/matrix-synapse@1.100.0-1ubuntu1?arch=source\u0026distro=noble"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.90.0-1",
"1.100.0-1ubuntu1"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "synapse",
"binary_version": "0.2.99.4-4build2"
}
]
},
"package": {
"ecosystem": "Ubuntu:24.04:LTS",
"name": "synapse",
"purl": "pkg:deb/ubuntu/synapse@0.2.99.4-4build2?arch=source\u0026distro=noble"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"0.2.99.4-4",
"0.2.99.4-4build1",
"0.2.99.4-4build2"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "synapse",
"binary_version": "0.2.99.4-4build2"
}
]
},
"package": {
"ecosystem": "Ubuntu:25.10",
"name": "synapse",
"purl": "pkg:deb/ubuntu/synapse@0.2.99.4-4build2?arch=source\u0026distro=questing"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"0.2.99.4-4build2"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "synapse",
"binary_version": "0.2.99.4-4build3"
}
]
},
"package": {
"ecosystem": "Ubuntu:26.04:LTS",
"name": "synapse",
"purl": "pkg:deb/ubuntu/synapse@0.2.99.4-4build3?arch=source\u0026distro=resolute"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"0.2.99.4-4build2",
"0.2.99.4-4build3"
]
}
],
"aliases": [],
"details": "Synapse is an open-source Matrix homeserver. A remote Matrix user with malicious intent, sharing a room with Synapse instances before 1.105.1, can dispatch specially crafted events to exploit a weakness in the V2 state resolution algorithm. This can induce high CPU consumption and accumulate excessive data in the database of such instances, resulting in a denial of service. Servers in private federations, or those that do not federate, are not affected. Server administrators should upgrade to 1.105.1 or later. Some workarounds are available. One can ban the malicious users or ACL block servers from the rooms and/or leave the room and purge the room using the admin API.",
"id": "UBUNTU-CVE-2024-31208",
"modified": "2026-05-20T15:09:00Z",
"published": "2024-04-23T18:15:00Z",
"references": [
{
"type": "REPORT",
"url": "https://ubuntu.com/security/CVE-2024-31208"
},
{
"type": "REPORT",
"url": "https://www.cve.org/CVERecord?id=CVE-2024-31208"
},
{
"type": "REPORT",
"url": "https://github.com/element-hq/synapse/security/advisories/GHSA-3h7q-rfh9-xm4v"
},
{
"type": "REPORT",
"url": "https://github.com/element-hq/synapse/commit/55b0aa847a61774b6a3acdc4b177a20dc019f01a"
},
{
"type": "REPORT",
"url": "https://github.com/element-hq/synapse/releases/tag/v1.105.1"
},
{
"type": "ADVISORY",
"url": "https://ubuntu.com/security/notices/USN-7444-1"
}
],
"related": [
"USN-7444-1"
],
"schema_version": "1.7.0",
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H",
"type": "CVSS_V3"
},
{
"score": "medium",
"type": "Ubuntu"
}
],
"upstream": [
"CVE-2024-31208"
]
}
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.
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.
Browse all ATT&CK techniques and the vulnerabilities related to each.
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.