matrix-synapse
Affected
- introduced
1.62.0, fixed1.68.0rc1(ecosystem)
Fixed versions
1.68.0rc1
Fix
- Fixed version
1.68.0rc1pip install --upgrade matrix-synapse==1.68.0rc1
Advisory
Also known as: CVE-2022-39374, PYSEC-2023-66
Synapse Denial of service due to incorrect application of event authorization rules during state resolution
Impact
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.
Synapse homeservers are affected by this issue if and only if they are joined to rooms which members of untrusted homeservers are joined or invited to.
Patches
Administrators of homeservers with federation enabled are advised to upgrade to 1.68.0 or higher.
Workarounds
[]). from the vulnerable homeserver to be rejected. This issue has been patched in version 1.68.0References
[^1]: See m.federate in the `m.room.create` definition.
For more information
If you have any questions or comments about this advisory, e-mail us at [[email protected]](mailto:[email protected]).
High Basis: The source's own band: HIGH
1.62.0, fixed 1.68.0rc1 (ecosystem)1.68.0rc1
1.68.0rc1pip install --upgrade matrix-synapse==1.68.0rc1Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0