Security mailing lists by PureSourceCode

CVE-2022-36009

HIGH 8.8CVSS 3.1

gomatrixserverlib and Dendrite vulnerable to incorrect parsing of the event default power level in event auth

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.

Published
19 Aug 2022
Last modified
17 Jun 2026
Assigned by
security-advisories@github.com
NVD status
Modified
Weakness
CWE-863
Also known as
GHSA-grvv-h2f9-7v9cGO-2022-0952
Sources
NVDJSONOSV GHSA-grvv-h2f9-7v9cJSONOSV GO-2022-0952JSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 3.1 HIGH 8.8 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
NVD security-advisories@github.com (Secondary) CVSS 3.1 MEDIUM 5.0 CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:L
OSV GitHub CVSS 3.1 MEDIUM 5.0 CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:L

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD matrix dendrite
cpe:2.3:a:matrix:dendrite:*:*:*:*:*:*:*:*
<= 0.9.2
NVD matrix gomatrixserverlib
cpe:2.3:a:matrix:gomatrixserverlib:-:*:*:*:*:*:*:*
(no version)
OSV Go github.com/matrix-org/dendrite < 0.9.3 0.9.3
OSV Go github.com/matrix-org/gomatrixserverlib < 0.0.0-20220815091947-723fd495dde8 0.0.0-20220815091947-723fd495dde8

References

History

  • 25 Nov 2026 20:34 UTC · NVD: first stored (published 19 Aug 2022)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 22 Aug 2022)
  • 25 Nov 2026 20:13 UTC · OSV: first stored (published 30 Aug 2022)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.