Synapse Denial of service due to incorrect application of event authorization rules during state resolution
Synapse is an open-source Matrix homeserver written and maintained by the Matrix.org Foundation. If Synapse and a malicious homeserver are both joined to the same room, the malicious homeserver can trick Synapse into accepting previously rejected events into its view of the current state of that room. This can be exploited in a way that causes all further messages and state changes sent in that room from the vulnerable homeserver to be rejected. This issue has been patched in version 1.68.0
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2022-39374
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 6 Nov 2026, 04:17 UTC · Revision 1
Source evidence
Synapse Denial of service due to incorrect application of event authorization rules during state resolution
core-osv · Original sourcePublished 26 May 2023, 13:44 UTC
Synapse is an open-source Matrix homeserver written and maintained by the Matrix.org Foundation. If Synapse and a malicious homeserver are both joined to the same room, the malicious homeserver can trick Synapse into accepting previously rejected events into its view of the current state of that room. This can be exploited in a way that causes all further messages and state changes sent in that room from the vulnerable homeserver to be rejected. This issue has been patched in version 1.68.0
osv:CVE-2022-39374
Complete source record
{
"id": "10149bdcfd787519ad8951a34fb6ba01cc211df0c3cd40ff39cc02885ae1880f",
"url": "https://osv.dev/vulnerability/CVE-2022-39374",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "Synapse Denial of service due to incorrect application of event authorization rules during state resolution",
"summary": "Synapse is an open-source Matrix homeserver written and maintained by the Matrix.org Foundation. If Synapse and a malicious homeserver are both joined to the same room, the malicious homeserver can trick Synapse into accepting previously rejected events into its view of the current state of that room. This can be exploited in a way that causes all further messages and state changes sent in that room from the vulnerable homeserver to be rejected. This issue has been patched in version 1.68.0",
"evidence": "osv:CVE-2022-39374",
"products": [],
"severity": "medium",
"structured": {
"id": "CVE-2022-39374",
"aliases": [
"CVE-2022-39374",
"GHSA-p9qp-c452-f9r7",
"PYSEC-2023-66"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/matrix-org/synapse",
"type": "GIT",
"events": [
{
"introduced": "b51a0f4be0287f88a747952fb3cc8132d29df4c8"
},
{
"fixed": "3853011d01ad3f5034f53a9dfb7a06e36cf70ae9"
}
],
"database_specific": {
"extracted_events": [
{
"range": [
{
"introduced": "1.62.0"
},
{
"fixed": "1.68.0"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StringRangeExpression"
},
{
"cpe": "cpe:2.3:a:matrix:synapse:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "1.62.0"
},
{
"fixed": "1.68.0"
}
],
"source": "CPE_RANGE"
}
]
}
}
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-39374.json"
}
}
],
"modified": "2026-10-28T02:30:46.697962388Z",
"provider": "osv",
"references": [
"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/UJIJRP5ZH6B3KGFLHCAKR2IX2Y4Z25QD/",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/39xxx/CVE-2022-39374.json",
"https://github.com/matrix-org/synapse/security/advisories/GHSA-p9qp-c452-f9r7",
"https://nvd.nist.gov/vuln/detail/CVE-2022-39374",
"https://github.com/matrix-org/synapse/pull/13723"
],
"provider_metadata": {
"cwe_ids": [
"CWE-400"
],
"cna_assigner": "GitHub_M",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/39xxx/CVE-2022-39374.json"
}
},
"related_cves": [
{
"value": "CVE-2022-39374",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 514594,
"published_at": "2023-05-26T13:44:44.113+00:00"
}