Advisory

GHSA-pfw4-xjgm-267c

Also known as: CVE-2022-39200, GO-2022-0989

Summary

Dendrite signature checks not applied to some retrieved missing events

Details

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.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2022-09-15 03:28 UTC
Modified
2024-08-21 16:28 UTC

Affected packages and fixes

github.com/matrix-org/dendrite

Go · All systems

Affected

  • introduced 0, fixed 0.9.8 (semver)

Fixed versions

0.9.8

Fix

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

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences