blob: 429e0f26961759d3c70abf12b31d4a8a43f22c3d [file] [log] [blame]
{
"schema_version": "1.3.1",
"id": "GO-2022-0952",
"modified": "0001-01-01T00:00:00Z",
"published": "2022-08-22T18:08:50Z",
"aliases": [
"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.",
"affected": [
{
"package": {
"name": "github.com/matrix-org/gomatrixserverlib",
"ecosystem": "Go"
},
"ranges": [
{
"type": "SEMVER",
"events": [
{
"introduced": "0"
},
{
"fixed": "0.0.0-20220815091947-723fd495dde8"
}
]
}
],
"ecosystem_specific": {
"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"
]
}
]
}
}
],
"references": [
{
"type": "FIX",
"url": "https://github.com/matrix-org/gomatrixserverlib/commit/723fd495dde835d078b9f2074b6b62c06dea4575"
}
],
"database_specific": {
"url": "https://pkg.go.dev/vuln/GO-2022-0952"
}
}