Incorrect authorization in Synapse - CVE-2022-39374
Published: May 24, 2023 / Updated: May 4, 2026
Vulnerability details
The vulnerability allows a remote user to cause a denial of service.
The vulnerability exists due to improper authorization in event authorization rules during state resolution when processing room state from a joined malicious homeserver. A remote user can trick Synapse into accepting previously rejected events to cause a denial of service.
Exploitation is possible only when the homeserver is joined to rooms that include or invite members of untrusted homeservers.
Affected software
Fedora
rust-pythonize
python-matrix-common
matrix-synapse
How to mitigate CVE-2022-39374
rust-pythonize - update to 0.19.0-1.fc37
python-matrix-common - update to 1.3.0-7.fc37
matrix-synapse - update to 1.80.0-5.fc37