CVE-2018-12291 json
Matrix Synapse Security Filtering Flaw
published 2018-06-13 8 y ago modified 2026-07-06 4 mo ago also GHSA-v8wm-g9f2-xjv4 , PYSEC-2026-664 , EUVD-2022-5320
- cvss
- 7.5
- version 3.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.8%
- EPSS 1.8% chance of exploitation in 30 days, percentile 78%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- pypi matrix-synapse 0.31.1
- matrix synapse 0.31.1
- matrix-synapse Ubuntu Pro 18.04 LTS 0.24.0+dfsg-1ubuntu0.1~esm1
ubuntu advisories UBUNTU-CVE-2018-12291
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- matrix-synapse openSUSE Tumbleweed 1.43.0-1.1
opensuse advisories openSUSE-SU-2024:11041-1
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2018-12291 updated cvss 4.3
matrix-synapse: Missing event filtering in handlers/federation.py
-
Red Hat All currently supported Red Hat productsnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
1.79% chance of exploitation in the next 30 days, higher than 78% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.0 | 7.5 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| NVD | 2.0 | 5.0 | AV:N/AC:L/Au:N/C:P/I:N/A:N |
| OSV | 3.0 | 7.5 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| GitHub | 3.0 | 7.5 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| pypi | matrix-synapse | <0.31.1 |
0.31.1 |
References
-
github.com
/matrix-org/synapse/pull/3371
web, patch, third-party-advisory
-
github.com
/matrix-org/synapse/commit/0834b49c6a9b6c597a154d4b2dfcf8fff90699ec
web
-
github.com
/matrix-org/synapse/releases/tag/v0.31.1
web, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2018-12291
advisory
-
github.com
/matrix-org/synapse
package
-
pypi.org
/project/matrix-synapse
package
-
github.com
/advisories/GHSA-v8wm-g9f2-xjv4
advisory
Sources
- CVE List CVE-2018-12291
- GitHub Advisory GHSA-v8wm-g9f2-xjv4
- NVD CVE-2018-12291
- OSV PYSEC-2026-664
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.