CVE-2022-31152 | Synapse vulnerable to denial of service (DoS) due to incorrect application of event authorization rules

Synapse is an open-source Matrix homeserver written and maintained by the Matrix.org Foundation. The Matrix specification specifies a list of [event authorization rules](https://spec.matrix.org/v1.2/rooms/v9/#authorization-rules) which must be checked when determining if an event should be accepted into a room. In versions of Synapse up to and including version 1.61.0, some of these rules are not correctly applied. An attacker could craft events which would be accepted by Synapse but not a spec-conformant server, potentially causing divergence in the room state between servers. Administrators of homeservers with federation enabled are advised to upgrade to version 1.62.0 or higher. Federation can be disabled by setting [`federation_domain_whitelist`](https://matrix-org.github.io/synapse/latest/usage/configuration/config_documentation.html#federation_domain_whitelist) to an empty list (`[]`) as a workaround.

公開: 2022-09-02 最終更新: 2026-06-17 Assigner: [email protected] ソース: [email protected]

総合評価: CVE-2022-31152 は中リスク(45/100)。CVSS 深刻度は中。悪用される可能性が高い(EPSS 0.90%、55 パーセンタイル) 推奨対応: 影響資産を整理し、修補計画に組み込んでください。

リスクは変動します。再評価に基づき、本ページの表示内容を更新しています。

CVE-2022-31152 の EPSS(Exploit Prediction Scoring System)スコア

EPSS は日次で悪用されやすさの相対度合いを推定します。パーセンタイルは採点済み CVE の中での相対位置(高いほど相対的に深刻)を示します。

# 日付 旧 EPSS スコア 新 EPSS スコア Δ(新 − 旧)
1 2026-06-15 0.69% 0.90% +0.21%
2 2025-09-04 0.53% 0.69% +0.16%
3 2025-09-03 0.53%

EPSS の全履歴 (全 10 件)

CVE-2022-31152 の CVSS(Common Vulnerability Scoring System)指標

この CVE の CVSS 指標。

ベーススコア バージョン 深刻度 ベクトル 悪用しやすさ 影響 スコアの出典
6.4 3.1 MEDIUM
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:H クリックして展開
攻撃ベクター (AV:N)
インターネットなど、ルーティングされたネットワーク越しに遠隔から悪用しうる。端末の前にいる必要はない。
攻撃の複雑さ (AC:H)
到達できても、タイミング・負荷・周辺設定など、揃わないと成功しない局面が多い。
必要な権限 (PR:L)
一般ユーザー権限があれば足り、管理者(root 相当)は不要。
ユーザーの関与 (UI:N)
メールのリンクを開く、マクロを有効にするなど、被害者の協力がなくても成立しうる。
スコープ (S:U)
影響は脆弱コンポーネントと同一のセキュリティ権限・信頼境界の内側に収まる。
機密性への影響 (C:L)
一部のデータや属性が漏えいしうるが、全件一括流出といった規模には至らない。
完全性への影響 (I:L)
レコードの一部書き換えや設定の歪みなど、限定的だが検知・復旧が必要な水準。
可用性への影響 (A:H)
長時間のサービス停止、データ損壊による復旧不能に近い状態など、利用者に著しい不便を与えうる。
1.6 4.7 [email protected]
7.5 3.1 HIGH
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H クリックして展開
攻撃ベクター (AV:N)
インターネットなど、ルーティングされたネットワーク越しに遠隔から悪用しうる。端末の前にいる必要はない。
攻撃の複雑さ (AC:L)
攻撃者が条件を満たせば、レース条件や珍しい構成に依存せずに再現しやすい。
必要な権限 (PR:N)
事前のログインや昇格は不要で、匿名アクセスのまま踏み台にしうる。
ユーザーの関与 (UI:N)
メールのリンクを開く、マクロを有効にするなど、被害者の協力がなくても成立しうる。
スコープ (S:U)
影響は脆弱コンポーネントと同一のセキュリティ権限・信頼境界の内側に収まる。
機密性への影響 (C:N)
機微情報の漏えいは想定しにくい。
完全性への影響 (I:N)
改ざん・なりすましによる信頼毀損は軽微か、想定されない。
可用性への影響 (A:H)
長時間のサービス停止、データ損壊による復旧不能に近い状態など、利用者に著しい不便を与えうる。
3.9 3.6 [email protected]

CVE-2022-31152 の弱点分類(列挙)

CVE-2022-31152 の GitHub Security Advisory

GHSA-jhjh-776m-4765 · 深刻度: high · エコシステム: pip — Denial of service due to incorrect application of event authorization rules

CVE-2022-31152 の OS トラッカー

vendor priority summary link
alpine high CVE-2022-31152: 1 source package rows (synapse); 16 state rows across 2 repos (3.22-community, edge-community); fixed 0, open 16. https://security.alpinelinux.org/vuln/CVE-2022-31152
debian not yet assigned CVE-2022-31152 not yet assigned priority: Debian including 1 source packages (matrix-synapse), 2 status rows across 2 suites (forky, sid): resolved 2. https://security-tracker.debian.org/tracker/CVE-2022-31152
ubuntu medium CVE-2022-31152 medium priority: Ubuntu including 1 source packages (matrix-synapse), 11 status rows across 11 suites (bionic, focal, jammy, kinetic, lunar, mantic, noble, oracular, trusty, upstream, xenial): not-affected 5, needs-triage 3, ignored 2, released 1. https://ubuntu.com/security/CVE-2022-31152

CVE-2022-31152 の影響を受けるソフトウェア/構成

ベンダー 製品 バージョン 生の CPE
matrix synapse < 1.62.0 cpe:2.3:a:matrix:synapse:*:*:*:*:*:*:*:*

CVE-2022-31152 の参考情報

URL タグ
https://github.com/matrix-org/synapse/pull/13087 Issue Tracking Patch Third Party Advisory
https://github.com/matrix-org/synapse/pull/13088 Issue Tracking Patch Third Party Advisory
https://github.com/matrix-org/synapse/releases/tag/v1.62.0 Release Notes Third Party Advisory
https://github.com/matrix-org/synapse/security/advisories/GHSA-jhjh-776m-4765 Issue Tracking Mitigation Third Party Advisory
cvelogic Threat Intelligence