Advisory

GO-2022-0952

Also known as: CVE-2022-36009, GHSA-grvv-h2f9-7v9c

Summary

Incorrect event parsing in github.com/matrix-org/gomatrixserverlib

Details

Power level parsing does not parse the "events_default" key of the m.room.power_levels event, setting the event default power level to zero in all cases. This can cause events to be improperly accepted or rejected in rooms where the event_default power level has been changed.

Severity

Not rated by the source.

Dates

Published
2022-08-22 18:08 UTC
Modified
2024-05-20 16:03 UTC

Affected packages and fixes

github.com/matrix-org/gomatrixserverlib

Go · All systems

Affected

  • introduced 0, fixed 0.0.0-20220815091947-723fd495dde8 (semver)

Fixed versions

0.0.0-20220815091947-723fd495dde8

Fix

  • Fixed version 0.0.0-20220815091947-723fd495dde8
    go get github.com/matrix-org/[email protected]

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Go Vulnerability Database · CC BY 4.0

Sources & licences