{"id":"CVE-2022-39335","published":"2023-05-26T13:36:56Z","modified":"2025-02-13T16:32:59Z","title":"Synapse does not apply enough checks to servers requesting auth events of events in a room","vendor":"matrix-org","product":"synapse","tier":"tail","description":{"text":"Synapse is an open-source Matrix homeserver written and maintained by the Matrix.org Foundation. The Matrix Federation API allows remote homeservers to request the authorization events in a room. This is necessary so that a homeserver receiving some events can validate that those events are legitimate and permitted in their room. However, in versions of Synapse up to and including 1.68.0, a Synapse homeserver answering a query for authorization events does not sufficiently check that the requesting server should be able to access them. The issue was patched in Synapse 1.69.0. Homeserver administrators are advised to upgrade.","provenance":"source","from":"CVE.org"},"cvss":{"score":5,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:L","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00635,"percentile":0.51378,"provenance":"source"},"cwes":[{"id":"CWE-200","name":"Exposure of Sensitive Information to an Unauthorized Actor"}],"references":[{"url":"https://github.com/matrix-org/synapse/security/advisories/GHSA-45cj-f97f-ggwv","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/matrix-org/synapse/issues/13288","tags":["x_refsource_MISC"]},{"url":"https://github.com/matrix-org/synapse/pull/13823","tags":["x_refsource_MISC"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/T2MBNMZAFY4RCZL2VGBGAPKGB4JUPZVS/","tags":[]}],"priority":{"score":13.8,"factors":[{"name":"EPSS percentile","points":10.28},{"name":"CVSS severity","points":3.5}]},"vendorSlug":"matrix-org","affectedVersions":[{"vendor":"matrix-org","product":"synapse","versions":["< 1.69.0"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2025-01-14T19:45:19.888897Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"matrix-synapse","vulnerableRanges":["<1.69.0"],"patched":["1.69.0"],"from":["GHSA-45cj-f97f-ggwv","PYSEC-2023-65"],"provenance":"source"}],"summary":{"text":"The Synapse Matrix homeserver (maintained by the Matrix.org Foundation) fails to adequately check whether a requesting remote server is entitled to receive the authorization events for a room when answering Matrix Federation API queries, exposing sensitive information to unauthorized parties. An attacker able to reach the federation interface over the network and who holds low-privilege access to the homeserver can exploit this with no user interaction needed, but the attack complexity is high.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:44:10Z"},"euvd":{"id":"EUVD-2023-0137","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2022-31052","published":"2022-06-28","fixed":"1.61.1","kev":false},{"cve":"CVE-2022-31152","published":"2022-09-02","fixed":"1.62.0","kev":false},{"cve":"CVE-2022-39374","published":"2023-05-26","fixed":"1.68.0","kev":false,"link":{"from":"CVE-2022-39374","to":"CVE-2022-39335","relation":"successor","confidence":"low","kind":"sequence","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:matrix-synapse","fromFixed":"1.68.0","toFixed":"1.69.0","daysApart":0}]}},{"cve":"CVE-2022-39335","published":"2023-05-26","fixed":"1.69.0","kev":false},{"cve":"CVE-2023-32323","published":"2023-05-26","fixed":"1.74.0","kev":false,"link":{"from":"CVE-2022-39335","to":"CVE-2023-32323","relation":"successor","confidence":"low","kind":"sequence","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:matrix-synapse","fromFixed":"1.69.0","toFixed":"1.74.0","daysApart":0}]}},{"cve":"CVE-2023-32682","published":"2023-06-06","fixed":"1.85.0","kev":false},{"cve":"CVE-2023-32683","published":"2023-06-06","fixed":"1.85.0","kev":false}],"package":"PyPI:matrix-synapse"}}