Bug 1211782 (CVE-2022-39335)

Summary: VUL-0: CVE-2022-39335: matrix-synapse: Synapse does not apply enough checks to servers requesting auth events of events in a room
Product: [Novell Products] SUSE Security Incidents Reporter: Stoyan Manolov <stoyan.manolov>
Component: IncidentsAssignee: Security Team bot <security-team>
Status: RESOLVED FIXED QA Contact: Security Team bot <security-team>
Severity: Normal    
Priority: P5 - None CC: security-team
Version: unspecified   
Target Milestone: ---   
Hardware: Other   
OS: Other   
URL: https://smash.suse.de/issue/367464/
Whiteboard:
Found By: Security Response Team Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Stoyan Manolov 2023-05-29 02:57:22 UTC
CVE-2022-39335

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.

References:
http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2022-39335
https://bugzilla.redhat.com/show_bug.cgi?id=2209960
https://www.cve.org/CVERecord?id=CVE-2022-39335
http://www.cvedetails.com/cve/CVE-2022-39335/
https://github.com/matrix-org/synapse/issues/13288
https://github.com/matrix-org/synapse/pull/13823
https://github.com/matrix-org/synapse/security/advisories/GHSA-45cj-f97f-ggwv
Comment 1 Stoyan Manolov 2023-05-29 02:58:33 UTC
Fixed version >= v1.69.0.

SUSE:Factory/matrix-synapse ships version v1.77.0, so nothing to do here. Closing