CVE-2022-39200 json
Signature checks not applied to some retrieved missing events
published 2022-09-12 4 y ago modified 2026-06-17 4 mo ago also GHSA-pfw4-xjgm-267c , GO-2022-0989 , EUVD-2022-6895
- cvss
- 7.3
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.4%
- EPSS 0.4% chance of exploitation in 30 days, percentile 30%
- public exploits
- 0
- none known
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.
Patch / fix
- go github.com/matrix-org/dendrite 0.9.8
- matrix dendrite 0.9.8
- dendrite Alpine 3.16 0.9.8-r0
alpine advisories ALPINE-CVE-2022-39200
Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
CISA SSVC
- Exploitation
- none
- Automatable
- yes
- Technical impact
- partial
- Assessed
- 18 mo ago
Exploit prediction
0.37% chance of exploitation in the next 30 days, higher than 30% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 7.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L |
| NVD | 3.1 | 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N |
| GitHub | 3.1 | 7.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| go | github.com/matrix-org/dendrite | <0.9.8 |
0.9.8 |
Affected products
- matrix-org dendrite
Classification
- Weakness
-
- CWE-347 Improper Verification of Cryptographic Signature
References
-
github.com
/matrix-org/dendrite/commit/2792d0490f3771488bad346981b8c26479a872c3
web, patch, third-party-advisory
-
github.com
/matrix-org/dendrite/security/advisories/GHSA-pfw4-xjgm-267c
web, third-party-advisory, advisory
-
nvd.nist.gov
/vuln/detail/CVE-2022-39200
advisory
-
github.com
/matrix-org/dendrite
package
Sources
- CVE List CVE-2022-39200
- GitHub Advisory GHSA-pfw4-xjgm-267c
- NVD CVE-2022-39200
- OSV GO-2022-0989
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.