github.com/matrix-org/dendrite
Affected
- introduced
0, fixed0.9.8(semver)
Fixed versions
0.9.8
Fix
- Fixed version
0.9.8go get github.com/matrix-org/[email protected]
Advisory
Also known as: CVE-2022-39200, GO-2022-0989
Dendrite signature checks not applied to some retrieved missing events
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.
High Basis: The source's own band: HIGH
0, fixed 0.9.8 (semver)0.9.8
0.9.8go get github.com/matrix-org/[email protected]Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0