{"schemaVersion":3,"id":"CVE-2022-36009","aliases":["GHSA-grvv-h2f9-7v9c","GO-2022-0952"],"status":"published","duplicateOf":null,"title":null,"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.","dates":{"published":"2022-08-19T20:35:09.000Z","modified":"2025-04-23T17:48:13.250Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":8.8,"severity":"high","version":"3.1","versionLabel":"v3.1","source":"NVD","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":5,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:L","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Go","score":5,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:L","exploitability":4.1,"impact":5.7,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":8.8,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00834,"percentile":0.56948,"severity":"low","asOf":"2026-10-19T00:00:00.000Z","change":{"pp":0.01799999999999996,"baselineDate":"2026-09-19T00:00:00.000Z","baselineScore":0.00816},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00816,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00816,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00816,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00816,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00816,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00816,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00816,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00816,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00816,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00816,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00816,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00816,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00816,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00816,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00816,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00816,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00816,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00816,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00816,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00816,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00816,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00816,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00816,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00816,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00816,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00816,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00816,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00816,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00816,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00834,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00834,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00834,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00834,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00834,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00834,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00834,"percentile":0.56948}],"last30":[{"date":"2026-09-19T00:00:00.000Z","score":0.00816,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00816,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00816,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00816,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00816,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00816,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00816,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00816,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00816,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00816,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00816,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00816,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00816,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00816,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00816,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00816,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00816,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00816,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00816,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00816,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00816,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00816,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00816,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00816,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00834,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00834,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00834,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00834,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00834,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00834,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00834,"percentile":0.56948}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-863","name":"Incorrect Authorization","description":"The product performs an authorization check when an actor attempts to access a resource or perform an action, but it does not correctly perform the check.","type":"weakness","status":"Incomplete","abstraction":"Class","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/863.html"}],"affected":[{"vendor":"github.com/matrix-org","product":"dendrite","name":"github.com/matrix-org/dendrite","label":"dendrite","ecosystem":"Go","cpePart":null,"purl":"pkg:golang/github.com/matrix-org/dendrite","purlType":"golang","versions":[{"text":"< 0.9.3","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.9.3","eol":null,"hubHref":null},{"vendor":"github.com/matrix-org","product":"gomatrixserverlib","name":"github.com/matrix-org/gomatrixserverlib","label":"gomatrixserverlib","ecosystem":"Go","cpePart":null,"purl":"pkg:golang/github.com/matrix-org/gomatrixserverlib","purlType":"golang","versions":[{"text":"< 0.0.0-20220815091947-723fd495dde8","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.0.0-20220815091947-723fd495dde8","eol":null,"hubHref":null},{"vendor":"matrix-org","product":"gomatrixserverlib","name":"gomatrixserverlib","label":"gomatrixserverlib","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 0.9.3 for dendrite","noFixRecorded":false,"fixedIn":null},{"text":"< 723fd49 for gomatrixserverlib","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.9.3 for dendrite | < 723fd49 for gomatrixserverlib","eol":null,"hubHref":"/vendor/matrix-org/gomatrixserverlib"},{"vendor":"matrix","product":"dendrite","name":"dendrite","label":"dendrite","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≤ 0.9.2","noFixRecorded":false,"fixedIn":null}],"versionsText":"≤ 0.9.2","eol":null,"hubHref":"/vendor/matrix/dendrite"},{"vendor":"matrix","product":"gomatrixserverlib","name":"gomatrixserverlib","label":"gomatrixserverlib","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"na","noFixRecorded":false,"fixedIn":null}],"versionsText":"na","eol":null,"hubHref":"/vendor/matrix/gomatrixserverlib"}],"affectedCount":5,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/matrix-org/gomatrixserverlib/security/advisories/GHSA-grvv-h2f9-7v9c","label":"github.com/matrix-org/gomatrixserverlib/security/advisories/GHSA-grvv-h2f9-7v9c","hostname":"github.com","tags":["X Refsource CONFIRM","WEB","Third Party Advisory"]},{"url":"https://github.com/matrix-org/gomatrixserverlib/commit/723fd495dde835d078b9f2074b6b62c06dea4575","label":"github.com/matrix-org/gomatrixserverlib/commit/723fd495dde835d078b9f2074b6b62c06dea4575","hostname":"github.com","tags":["X Refsource MISC","WEB","FIX","Patch","Third Party Advisory"]},{"url":"https://matrix.org/docs/guides/moderation/#power-levels","label":"matrix.org/docs/guides/moderation/","hostname":"matrix.org","tags":["X Refsource MISC","WEB","Vendor Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-36009","label":"nvd.nist.gov/vuln/detail/CVE-2022-36009","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/matrix-org/gomatrixserverlib","label":"github.com/matrix-org/gomatrixserverlib","hostname":"github.com","tags":["PACKAGE"]},{"url":"https://pkg.go.dev/vuln/GO-2022-0952","label":"pkg.go.dev/vuln/GO-2022-0952","hostname":"pkg.go.dev","tags":["WEB"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2022-08-19T20:35:09.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2025-04-23T17:48:13.250Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":35,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-20T11:38:32.551Z","stale":false,"partial":false}}