{"schema_version":"1.9.0","id":"GHSA-v8wm-g9f2-xjv4","published":"2022-05-13T01:49:32Z","modified":"2026-07-06T08:11:16.864300527Z","aliases":["CVE-2018-12291","PYSEC-2026-664"],"summary":"Matrix Synapse Security Filtering Flaw","details":"The `on_get_missing_events` function in handlers/federation.py in Matrix Synapse before 0.31.1 has a security bug in the get_missing_events federation API where event visibility rules were not applied correctly.","affected":[{"package":{"name":"matrix-synapse","ecosystem":"PyPI","purl":"pkg:pypi/matrix-synapse"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.31.1"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-v8wm-g9f2-xjv4/GHSA-v8wm-g9f2-xjv4.json"}}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2018-12291"},{"type":"WEB","url":"https://github.com/matrix-org/synapse/pull/3371"},{"type":"WEB","url":"https://github.com/matrix-org/synapse/commit/0834b49c6a9b6c597a154d4b2dfcf8fff90699ec"},{"type":"PACKAGE","url":"https://github.com/matrix-org/synapse"},{"type":"WEB","url":"https://github.com/matrix-org/synapse/releases/tag/v0.31.1"}],"database_specific":{"cwe_ids":[],"github_reviewed":true,"github_reviewed_at":"2023-07-21T22:50:51Z","nvd_published_at":"2018-06-13T14:29:00Z","severity":"HIGH"},"severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"}]}