Advisory

PYSEC-2022-262

Also known as: CVE-2022-31152, GHSA-jhjh-776m-4765

Summary

The record has no summary.

Details

Synapse is an open-source Matrix homeserver written and maintained by the Matrix.org Foundation. The Matrix specification specifies a list of event authorization rules which must be checked when determining if an event should be accepted into a room. In versions of Synapse up to and including version 1.61.0, some of these rules are not correctly applied. An attacker could craft events which would be accepted by Synapse but not a spec-conformant server, potentially causing divergence in the room state between servers. Administrators of homeservers with federation enabled are advised to upgrade to version 1.62.0 or higher. Federation can be disabled by setting `federation_domain_whitelist` to an empty list ([]) as a workaround.

Severity

Not rated by the source.

Dates

Published
2022-09-02 20:15 UTC
Modified
2023-11-08 04:09 UTC

Affected packages and fixes

matrix-synapse

PyPI · All systems

Affected

  • introduced 0, fixed 1.62.0 (ecosystem)

Fixed versions

1.62.0

Fix

  • Fixed version 1.62.0
    pip install --upgrade matrix-synapse==1.62.0

Fix 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

View this record on OSV.dev

Source

Source: PyPA Advisory Database · CC BY 4.0

Sources & licences