Power level parsing does not parse the "eventsdefault" key of the m.room.powerlevels 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.
{ "review_status": "REVIEWED", "url": "https://pkg.go.dev/vuln/GO-2022-0952" }
{ "imports": [ { "path": "github.com/matrix-org/gomatrixserverlib", "symbols": [ "Allowed", "Event.PowerLevels", "EventsLoader.LoadAndVerify", "HeaderedReverseTopologicalOrdering", "NewPowerLevelContentFromAuthEvents", "NewPowerLevelContentFromEvent", "RequestBackfill", "ResolveConflicts", "ResolveStateConflicts", "ResolveStateConflictsV2", "RespSendJoin.Check", "RespState.Check", "RespState.Events", "ReverseTopologicalOrdering", "VerifyAuthRulesAtState", "VerifyEventAuthChain" ] } ] }