CVE-2022-36009

Incorrect parsing of access level in gomatrixserverlib and dendrite

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.

Category

5.0
CVSS
Severity: Medium
CVSS 3.1 •
EPSS 0.21%
Vendor Advisory matrix.org
Affected: matrix-org gomatrixserverlib
Published at:
Updated at:

References

Frequently Asked Questions

What is the severity of CVE-2022-36009?
CVE-2022-36009 has been scored as a medium severity vulnerability.
How to fix CVE-2022-36009?
To fix CVE-2022-36009, make sure you are using an up-to-date version of the affected component(s) by checking the vendor release notes. As for now, there are no other specific guidelines available.
Is CVE-2022-36009 being actively exploited in the wild?
As for now, there are no information to confirm that CVE-2022-36009 is being actively exploited. According to its EPSS score, there is a ~0% probability that this vulnerability will be exploited by malicious actors in the next 30 days.
What software or system is affected by CVE-2022-36009?
CVE-2022-36009 affects matrix-org gomatrixserverlib.
This platform uses data from the NIST NVD, MITRE CVE, MITRE CWE, First.org and CISA KEV but is not endorsed or certified by these entities. CVE is a registred trademark of the MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. CWE is a registred trademark of the MITRE Corporation and the authoritative source of CWE content is MITRE's CWE web site.
© 2025 Under My Watch. All Rights Reserved.