Vulnerabilities · 2022 · Matrix
CVE-2022-39335
Matrix Synapse vulnerability
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.
Affected products
Synapse. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Matrix Synapse runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- github.com/matrix-org/synapse/security/advisories/GHSA-45cj-f97f-ggwv · Mitigation
- github.com/matrix-org/synapse/pull/13823 · Patch
- github.com/matrix-org/synapse/issues/13288
- lists.fedoraproject.org/archives/list/[email protected]/message/T2M
- nvd.nist.gov/vuln/detail/CVE-2022-39335
- github.com/pypa/advisory-database/tree/main/vulns/matrix-synapse/PYSEC-2023-65.yaml
- lists.fedoraproject.org/archives/list/[email protected]/message/T2M
- github.com/advisories/GHSA-45cj-f97f-ggwv
- nvd.nist.gov/vuln/detail/CVE-2022-39335
- cve.org/CVERecord?id=CVE-2022-39335
More vulnerabilities in Matrix products
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.