The ongetmissingevents function in handlers/federation.py in Matrix Synapse before 0.31.1 has a security bug in the getmissing_events federation API where event visibility rules were not applied correctly.
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2018-12291.json"