Incorrect parsing of access level in gomatrixserverlib and dendrite
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Security bypass
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · NVD. Fix status from CNA and GitHub. Impact type from CWE-863.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| matrix-org | gomatrixserverlib | < 0.9.3 for dendrite; < 723fd49 for gomatrixserverlib | — | No fix listed | CNA |
| — | github.com/matrix-org/dendrite (Go) | before 0.9.3 | 0.9.3 | Patch available | GHSA-grvv-h2f9-7v9c |
| — | github.com/matrix-org/gomatrixserverlib (Go) | before 0.0.0-20220815091947-723fd495dde8 | 0.0.0-20220815091947-723fd495dde8 | Patch available | GHSA-grvv-h2f9-7v9c |
- gomatrixserverlib Vendormatrix-org Affected < 0.9.3 for dendrite; < 723fd49 for gomatrixserverlib Fixed in — No fix listed CNA
- github.com/matrix-org/dendrite (Go) Vendor— Affected before 0.9.3 Fixed in 0.9.3 Patch available GHSA-grvv-h2f9-7v9c
- github.com/matrix-org/gomatrixserverlib (Go) Vendor— Affected before 0.0.0-20220815091947-723fd495dde8 Fixed in 0.0.0-20220815091947-723fd495dde8 Patch available GHSA-grvv-h2f9-7v9c
CPE configurations NVD · 2
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:matrix:dendrite:*:*:*:*:*:*:*:* | up to 0.9.2 | Vulnerable | matrix-org |
| cpe:2.3:a:matrix:gomatrixserverlib:-:*:*:*:*:*:*:* | not specified by NVD | Vulnerable | matrix-org |
- cpe:2.3:a:matrix:dendrite:*:*:*:*:*:*:*:* Versions up to 0.9.2 Vulnerable ·matrix-org
- cpe:2.3:a:matrix:gomatrixserverlib:-:*:*:*:*:*:*:* Versions not specified by NVD Vulnerable ·matrix-org
Remediation
- Fix · GHSA-grvv-h2f9-7v9c github.com/matrix-org/dendrite (Go) Fixed in 0.9.3 Advisory →
- Fix · GHSA-grvv-h2f9-7v9c github.com/matrix-org/gomatrixserverlib (Go) Fixed in 0.0.0-20220815091947-723fd495dde8 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2022-36009
- 2026-10-03 Alias added: GHSA-grvv-h2f9-7v9c
References
Patch 1
Advisory 3
More matrix-org Dendrite vulnerabilities
- TI-2022-18580 Signature checks not applied to some retrieved missing events CVSS 3.1HIGH 7.3
Sources
- CVE-2022-36009 · CVE Program
- CVE-2022-36009 · NVD
- FIRST EPSS
- GHSA-grvv-h2f9-7v9c · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences