logo

CVE-2022-39200 github.com/matrix-org/dendrite

Package

Manager: go
Name: github.com/matrix-org/dendrite
Vulnerable Version: >=0 <0.9.8

Severity

Level: High

CVSS v3.1: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L

CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N

EPSS: 0.00031 pctl0.07129

Details

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.

Metadata

Created: 2022-09-15T03:28:01Z
Modified: 2022-09-15T03:28:01Z
Source: https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/09/GHSA-pfw4-xjgm-267c/GHSA-pfw4-xjgm-267c.json
CWE IDs: ["CWE-347"]
Alternative ID: GHSA-pfw4-xjgm-267c
Finding: F204
Auto approve: 1