{"id":"GHSA-pfw4-xjgm-267c","summary":"Dendrite signature checks not applied to some retrieved missing events","details":"### Impact\n\nEvents retrieved from a remote homeserver using `/get_missing_events` did not have their signatures verified correctly. This could potentially allow a remote homeserver to provide invalid/modified events to Dendrite via this endpoint.\n\nNote that this does not apply to events retrieved through other endpoints (e.g. `/event`, `/state`) as they have been correctly verified.\n\nHomeservers that have federation disabled are not vulnerable.\n\n### Patches\n\nThe problem has been fixed in Dendrite 0.9.8.\n\n### Workarounds\n\nThere are no workarounds.\n\n### Special thanks\n\nTulir Asokan, who spotted the issue originally.","aliases":["CVE-2022-39200","GO-2022-0989"],"modified":"2024-08-21T16:29:04.820407Z","published":"2022-09-15T03:28:01Z","database_specific":{"github_reviewed":true,"github_reviewed_at":"2022-09-15T03:28:01Z","nvd_published_at":"2022-09-12T20:15:00Z","cwe_ids":["CWE-347"],"severity":"HIGH"},"references":[{"type":"WEB","url":"https://github.com/matrix-org/dendrite/security/advisories/GHSA-pfw4-xjgm-267c"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-39200"},{"type":"WEB","url":"https://github.com/matrix-org/dendrite/commit/2792d0490f3771488bad346981b8c26479a872c3"},{"type":"PACKAGE","url":"https://github.com/matrix-org/dendrite"}],"affected":[{"package":{"name":"github.com/matrix-org/dendrite","ecosystem":"Go","purl":"pkg:golang/github.com/matrix-org/dendrite"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.9.8"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/09/GHSA-pfw4-xjgm-267c/GHSA-pfw4-xjgm-267c.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L"}]}