CVE-2022-39200
Dendrite signature checks not applied to some retrieved missing events
Auswirkung
### Impact Events 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. 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. ### Patches The problem has been fixed in Dendrite 0.9.8. ### Workarounds There are no workarounds. ### Special thanks Tulir Asokan, who spotted the issue originally.
Ein Angreifer kann die Lücke über das Netzwerk ausnutzen, ohne Anmeldung, ohne Zutun eines Nutzers. Bei Erfolg: geringes Risiko, dass Daten ausgelesen werden, geringes Risiko, dass Daten oder Systeme verändert werden, geringes Risiko für Ausfälle.
Betroffene Pakete
| Ökosystem | Paket | Betroffen | Behoben in |
|---|---|---|---|
| go | github.com/matrix-org/dendrite | < 0.9.8 | 0.9.8 |
Betroffene Produkte · Matrix
| Produkt | Betroffene Versionen |
|---|---|
| Dendrite | vor 0.9.8 |
Schwachstellenklasse
Referenzen
- NVD-Eintrag
- CVE.org-Eintrag
- GitHub-Advisory
- https://github.com/matrix-org/dendrite/commit/2792d0490f3771488bad346981b8c26479a872c3
- https://github.com/matrix-org/dendrite/security/advisories/GHSA-pfw4-xjgm-267c
- https://github.com/advisories/GHSA-pfw4-xjgm-267c
- https://nvd.nist.gov/vuln/detail/CVE-2022-39200