CVE-2022-36009Matrix Dendrite
High 8.8
Follow: this CVE · Matrix · Matrix Dendrite We alert you by email or Slack (account required).
- Priority
- 53
- CVSS 3.1
- 8.8
- EPSS
- 0.9% probability of exploitation in 30 days · percentile 56
- Auth required
- Yes
- Published
- Aug 19, 2022
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-863
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
What happens
gomatrixserverlib is a Go library for matrix protocol federation. Dendrite is a Matrix homeserver written in Go, an alternative to Synapse. The power level parsing within gomatrixserverlib was failing to parse the `"events_default"` key of the `m.room.power_levels` event, defaulting the event default power level to zero in all cases. Power levels are the matrix terminology for user access level. In rooms where the `"events_default"` power level had been changed, this could result in events either being incorrectly authorised or rejected by Dendrite servers. gomatrixserverlib contains a fix as of commit `723fd49` and Dendrite 0.9.3 has been updated accordingly. Matrix rooms where the `"events_default"` power level has not been changed from the default of zero are not vulnerable. Users are advised to upgrade. There are no known workarounds for this issue.
What to do
- Apply the vendor's security update for Dendrite.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Go | github.com/matrix-org/dendrite |
< 0.9.3 |
0.9.3 |
go get github.com/matrix-org/dendrite@v0.9.3 |
| Go | github.com/matrix-org/gomatrixserverlib |
< 0.0.0-20220815091947-723fd495dde8 |
0.0.0-20220815091947-723fd495dde8 |
go get github.com/matrix-org/gomatrixserverlib@v0.0.0-20220815091947-723fd495dde8 |
| Go | github.com/matrix-org/gomatrixserverlib |
< 0.0.0-20220815091947-723fd495dde8 |
0.0.0-20220815091947-723fd495dde8 |
go get github.com/matrix-org/gomatrixserverlib@v0.0.0-20220815091947-723fd495dde8 |
Per OSV / GitHub Advisories (GHSA-grvv-h2f9-7v9c, GO-2022-0952). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| matrix | dendrite | ≤ 0.9.2 |
| matrix | gomatrixserverlib | all |
Official sources
References
Links published by the sources. Open them with care.
- github.com Patch Third Party Advisory
- github.com Third Party Advisory
- matrix.org Vendor Advisory