{"id":"CVE-2022-39200","aliases":["CVE-2022-39200","GHSA-pfw4-xjgm-267c","GO-2022-0989"],"related":[],"kind":"vulnerability","state":"published","title":"Signature checks not applied to some retrieved missing events","summary":"Dendrite is a Matrix homeserver written in Go. In affected versions events retrieved from a remote homeserver using the `/get_missing_events` path did not have their signatures verified correctly. This could potentially allow a remote homeserver to provide invalid/modified events to Dendrite via this endpoint. Note that this does not apply to events retrieved through other endpoints (e.g. `/event`, `/state`) as they have been correctly verified. Homeservers that have federation disabled are not vulnerable. The problem has been fixed in Dendrite 0.9.8. Users are advised to upgrade. There are no known workarounds for this issue.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"Dendrite is a Matrix homeserver written in Go. In affected versions events retrieved from a remote homeserver using the `/get_missing_events` path did not have their signatures verified correctly. This could potentially allow a remote homeserver to provide invalid/modified events to Dendrite via this endpoint. Note that this does not apply to events retrieved through other endpoints (e.g. `/event`, `/state`) as they have been correctly verified. Homeservers that have federation disabled are not vulnerable. The problem has been fixed in Dendrite 0.9.8. Users are advised to upgrade. There are no known workarounds for this issue.","source":"cvelist"},{"lang":"en","text":"### 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.","format":"markdown","source":"ghsa"},{"lang":"en","text":"Dendrite signature checks not applied to some retrieved missing events in github.com/matrix-org/dendrite","format":"markdown","source":"go"},{"lang":"es","text":"Dendrite es un servidor doméstico de Matrix escrito en Go. En las versiones afectadas, los eventos recuperados de un servidor doméstico remoto usando la ruta \"/get_missing_events\" no presentaban sus firmas verificadas correctamente. Esto podría permitir que un servidor doméstico remoto proporcionara eventos no válidos/modificados a Dendrite por medio de este endpoint. Ten en cuenta que esto no es aplicado a eventos recuperados mediante otros endpoints (por ejemplo, \"/event\", \"/state\") ya que han sido correctamente verificados. Los servidores domésticos que presentan la federación deshabilitada no son vulnerables. El problema ha sido corregido en Dendrite versión 0.9.8. Es recomendado a usuarios actualizar. No se presentan mitigaciones conocidas para este problema","source":"nvd"}],"published":"2022-09-12T20:10:09.000Z","modified":"2026-06-17T04:57:54.137Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L","score":7.3,"rating":"HIGH"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L","score":7.3,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L","score":7.3,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","score":5.3,"rating":"MEDIUM"}],"cwes":["CWE-347"],"affected":[{"ranges":[{"version":"< 0.9.8","status":"affected"}],"vendor":"matrix-org","product":"dendrite","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"0.9.8"}],"ecosystem":"Go","package":"github.com/matrix-org/dendrite","purl":"pkg:golang/github.com/matrix-org/dendrite","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"0.9.8"}],"ecosystem":"Go","package":"github.com/matrix-org/dendrite","purl":"pkg:golang/github.com/matrix-org/dendrite","source":"go"},{"ranges":[{"status":"affected","fixed":"0.9.8"}],"vendor":"matrix","product":"dendrite","cpe":"cpe:2.3:a:matrix:dendrite:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/matrix-org/dendrite/security/advisories/GHSA-pfw4-xjgm-267c","tags":["advisory","third-party-advisory","web","x-refsource-confirm","x-transferred"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://github.com/matrix-org/dendrite/commit/2792d0490f3771488bad346981b8c26479a872c3","tags":["fix","patch","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-39200","tags":["advisory"],"sources":["ghsa","go"]},{"url":"https://github.com/matrix-org/dendrite","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"partial","date":"2025-04-23T15:51:38.411Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-39200","url":"https://www.cve.org/CVERecord?id=CVE-2022-39200","licence":"CVE Terms of Use","modified":"2025-04-23T17:12:01.868Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-pfw4-xjgm-267c","url":"https://github.com/advisories/GHSA-pfw4-xjgm-267c","licence":"CC-BY-4.0","modified":"2024-08-21T16:28:42.702Z"},{"source":"go","name":"Go Vulnerability Database","id":"GO-2022-0989","url":"https://pkg.go.dev/vuln/GO-2022-0989","licence":"CC-BY-4.0","modified":"2026-03-03T04:52:33.391Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-39200","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-39200","licence":"Public domain","modified":"2026-06-17T04:57:54.137Z"}],"updatedAt":"2026-11-25T22:58:14.840Z","epss":{"score":0.0038,"percentile":0.34079,"date":"2026-12-01T12:00:22.000Z"}}