{"cve":"CVE-2022-36009","nvd":{"published":"2022-08-19T21:15:08.547","modified":"2026-06-17T04:52:43.903","status":"Modified","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_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":8.8},"cwes":["CWE-863"],"references":["https://github.com/matrix-org/gomatrixserverlib/commit/723fd495dde835d078b9f2074b6b62c06dea4575","https://github.com/matrix-org/gomatrixserverlib/security/advisories/GHSA-grvv-h2f9-7v9c","https://matrix.org/docs/guides/moderation/#power-levels","https://github.com/matrix-org/gomatrixserverlib/commit/723fd495dde835d078b9f2074b6b62c06dea4575","https://github.com/matrix-org/gomatrixserverlib/security/advisories/GHSA-grvv-h2f9-7v9c"],"products":["matrix:dendrite","matrix:gomatrixserverlib"],"source":"nvd","synced_at":"2026-10-19T21:34:18.502168378+00:00"},"epss":{"cve":"CVE-2022-36009","score":0.00834,"percentile":0.57683,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-grvv-h2f9-7v9c","url":"https://osv.dev/vulnerability/GHSA-grvv-h2f9-7v9c","summary":"gomatrixserverlib and Dendrite vulnerable to incorrect parsing of the event default power level in event auth","modified":"2023-11-08T04:09:57.073105Z","packages":[{"ecosystem":"Go","name":"github.com/matrix-org/dendrite","purl":"pkg:golang/github.com/matrix-org/dendrite","ranges":["<0.9.3"],"fixed":["0.9.3"]},{"ecosystem":"Go","name":"github.com/matrix-org/gomatrixserverlib","purl":"pkg:golang/github.com/matrix-org/gomatrixserverlib","ranges":["<0.0.0-20220815091947-723fd495dde8"],"fixed":["0.0.0-20220815091947-723fd495dde8"]}]},{"id":"GO-2022-0952","url":"https://osv.dev/vulnerability/GO-2022-0952","summary":"Incorrect event parsing in github.com/matrix-org/gomatrixserverlib","modified":"2024-05-20T16:03:47Z","packages":[{"ecosystem":"Go","name":"github.com/matrix-org/gomatrixserverlib","purl":"pkg:golang/github.com/matrix-org/gomatrixserverlib","ranges":["<0.0.0-20220815091947-723fd495dde8"],"fixed":["0.0.0-20220815091947-723fd495dde8"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}