CVE-2022-39374
MEDIUM 6.5CVSS 3.1Synapse 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
- Published
- 26 May 2023
- Last modified
- 17 Jun 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Modified
- Weakness
- CWE-400
- Also known as
- GHSA-p9qp-c452-f9r7PYSEC-2023-66
- Sources
- NVDJSONOSV GHSA-p9qp-c452-f9r7JSONOSV PYSEC-2023-66JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N | |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
| OSV | GitHub | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
| NVD | security-advisories@github.com (Secondary) | CVSS 3.0 | MEDIUM 6.5 | CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | matrix | synapsecpe:2.3:a:matrix:synapse:*:*:*:*:*:*:*:* |
>= 1.62.0, < 1.68.0 | 1.68.0 |
| OSV | PyPI | matrix-synapse | >= 1.62.0, < 1.68.0rc1 | 1.68.0rc1 |
| OSV | PyPI | matrix-synapse | >= 1.62.0, < 1.68.0 | 1.68.0 |
References
- https://github.com/matrix-org/synapse/pull/13723 · Issue Tracking, Patch, WEB, FIX
- https://github.com/matrix-org/synapse/security/advisories/GHSA-p9qp-c452-f9r7 · Mitigation, Vendor Advisory, WEB, ADVISORY
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/UJIJRP5ZH6B3KGFLHCAKR2IX2Y4Z25QD/ · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2022-39374 · ADVISORY
- https://github.com/matrix-org/synapse/commit/b73cbb82157d9666e8d667733afebc0d09ed858c · WEB
- https://github.com/matrix-org/synapse · PACKAGE
- https://github.com/pypa/advisory-database/tree/main/vulns/matrix-synapse/PYSEC-2023-66.yaml · WEB
History
- 25 Nov 2026 20:36 UTC · NVD: first stored (published 26 May 2023)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 26 May 2023)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 24 May 2023)