CVE-2022-36009: matrix-org gomatrixserverlib Incorrect Authorization
Vulnerability summary
CVE-2022-36009 is a high (CVSS 8.8) Incorrect Authorization vulnerability in matrix-org gomatrixserverlib. EPSS estimates a 0.83% chance of exploitation in the next 30 days, higher than 56.9% of scored vulnerabilities.
Timeline
- 19-08-2022PublishedVulnerability first disclosed.
- 23-04-2025Last modifiedVulnerability information updated.
Description
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.
CVSS metrics
3 scores · 3 sources · 1 version- CVE.orgCNA5.0MediumCVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:LDiffers
- OSV · GoEcosystem advisory · calculated5.0MediumCVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:LDiffers
EPSS trend
Probability
0.83%
Chance of exploitation in the next 30 days
Percentile
57%
Versus all other CVEs
30-day change
+0.02 pp
From 0.82% on 19-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Github.com/matrix-org2 products
- dendrite< 0.9.3
- gomatrixserverlib< 0.0.0-20220815091947-723fd495dde8
Matrix2 products
- dendrite≤ 0.9.2
- gomatrixserverlibna
Matrix-org1 product
- gomatrixserverlib< 0.9.3 for dendrite | < 723fd49 for gomatrixserverlib
3 vendors · 5 products
References
6 links- github.com/matrix-org/gomatrixserverlib/security/advisories/GHSA-grvv-h2f9-7v9cX Refsource CONFIRMWEBThird Party Advisory
- github.com/matrix-org/gomatrixserverlib/commit/723fd495dde835d078b9f2074b6b62c06dea4575X Refsource MISCWEBFIXPatchThird Party Advisory