CVE-2022-39374 json
Synapse Denial of service due to incorrect application of event authorization rules during state resolution
published 2023-05-24 3 y ago modified 2026-06-17 4 mo ago also GHSA-p9qp-c452-f9r7 , PYSEC-2023-66 , EUVD-2023-0138
- cvss
- 6.5
- version 3.0, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.9%
- EPSS 0.9% chance of exploitation in 30 days, percentile 61%
- public exploits
- 0
- none known
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
Patch / fix
- pypi matrix-synapse 1.68.0, 1.68.0rc1
- matrix synapse 1.68.0
- matrix-synapse Ubuntu Pro 20.04 LTS 1.11.0-1ubuntu0.1~esm2
- matrix-synapse Ubuntu Pro 22.04 LTS 1.53.0-1ubuntu0.1~esm2
ubuntu advisories UBUNTU-CVE-2022-39374
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- synapse Alpine 3.18 1.70.1-r0
- synapse Alpine 3.24, Alpine 3.23, Alpine 3.22 +3 more 1.68.0-r0
alpine advisories ALPINE-CVE-2022-39374
Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- github.com/matrix-org/synapse@b73cbb8 commit
- github.com/matrix-org/synapse#13723 pull request
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2022-39374 updated cvss 6.5
matrix-synapse: Synapse Denial of service due to incorrect application of event authorization rules during state resolution
-
Red Hat All currently supported Red Hat productsnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 21 mo ago
Exploit prediction
0.94% chance of exploitation in the next 30 days, higher than 61% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.0 | 6.5 | CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
| NVD | 3.1 | 6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
| GitHub | 3.1 | 6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| pypi | matrix-synapse | >=1.62.0, <1.68.0rc1 >=1.62.0, <1.68.0 |
1.68.0rc1 1.68.0 |
Affected products
- matrix-org synapse
Classification
- Weakness
-
- CWE-400 Uncontrolled Resource Consumption
References
-
github.com
/matrix-org/synapse/pull/13723
web, issue-tracking, patch
-
github.com
/matrix-org/synapse/commit/b73cbb82157d9666e8d667733afebc0d09ed858c
web
-
github.com
/matrix-org/synapse/security/advisories/GHSA-p9qp-c452-f9r7
web, mitigation, vendor-advisory, advisory
- lists.fedoraproject.org /archives/list/package-announce@lists.fedoraproject.org/message/UJIJRP5ZH6B3KGFLHCAKR2IX2Y4Z25QD/
-
nvd.nist.gov
/vuln/detail/CVE-2022-39374
advisory
-
github.com
/matrix-org/synapse
package
-
github.com
/pypa/advisory-database/tree/main/vulns/matrix-synapse/PYSEC-2023-66.yaml
web
-
lists.fedoraproject.org
/archives/list/package-announce@lists.fedoraproject.org/message/UJIJRP5ZH6B3KGFLHCAKR2IX2Y4Z25QD
web
Sources
- CVE List CVE-2022-39374
- GitHub Advisory GHSA-p9qp-c452-f9r7
- NVD CVE-2022-39374
- OSV PYSEC-2023-66
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.