# CVE-2022-39374: Synapse Denial of service due to incorrect application of event authorization rules during state resolution

- Severity: Medium 6.5 (CVSS:3.0, scored by GitHub_M) `CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.94%, higher than 61% of CVEs (2026-12-01)
- Published: 2023-05-24T17:21:33.000Z
- Modified: 2026-06-17T04:58:14.383Z
- Also known as: GHSA-p9qp-c452-f9r7, PYSEC-2023-66
- Weaknesses: CWE-400
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

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

(As written by CVE List.)

## Affected

- matrix-org synapse: >= 1.62.0, < 1.68.0
- matrix-synapse (PyPI): from 1.62.0 before 1.68.0rc1; from 1.62.0 before 1.68.0
- matrix synapse: from 1.62.0 before 1.68.0

## Every score

- GitHub_M: CVSS:3.0 6.5 Medium `CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- GitHub: CVSS:3.1 6.5 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- GitHub: CVSS:4.0 High `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: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://github.com/matrix-org/synapse/security/advisories/GHSA-p9qp-c452-f9r7> (advisory, mitigation, vendor-advisory, web)
- <https://github.com/matrix-org/synapse/pull/13723> (fix, issue-tracking, patch, web)
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/UJIJRP5ZH6B3KGFLHCAKR2IX2Y4Z25QD/>
- <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)
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/UJIJRP5ZH6B3KGFLHCAKR2IX2Y4Z25QD> (web)

## Sources

- CVE List: [CVE-2022-39374](https://www.cve.org/CVERecord?id=CVE-2022-39374), CVE Terms of Use, modified 2025-02-13
- GitHub Advisory Database: [GHSA-p9qp-c452-f9r7](https://github.com/advisories/GHSA-p9qp-c452-f9r7), CC-BY-4.0, modified 2024-09-30
- NVD: [CVE-2022-39374](https://nvd.nist.gov/vuln/detail/CVE-2022-39374), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2023-66](https://osv.dev/vulnerability/PYSEC-2023-66), CC-BY-4.0, modified 2023-11-08

---

Page: https://cve.day/CVE-2022-39374 · Whole record: https://cve.day/CVE-2022-39374.json · Rebuilt by cve.day 2026-11-25T22:58:19.269Z
