GHSA-5w8r-8pgj-5jmf · 深刻度: high · エコシステム: npm — matrix-js-sdk subject to user impersonation due to key/device identifier confusion in SAS verification
Matrix JavaScript SDK is the Matrix Client-Server software development kit (SDK) for JavaScript. Prior to version 19.7.0, an attacker cooperating with a malicious homeserver could interfere with the verification flow between two users, injecting its own cross-signing user identity in place of one of the users’ identities. This would lead to the other device trusting/verifying the user identity under the control of the homeserver instead of the intended one. The vulnerability is a bug in the matrix-js-sdk, caused by checking and signing user identities and devices in two separate steps, and inadequately fixing the keys to be signed between those steps. Even though the attack is partly made possible due to the design decision of treating cross-signing user identities as Matrix devices on the server side (with their device ID set to the public part of the user identity key), no other examined implementations were vulnerable. Starting with version 19.7.0, the matrix-js-sdk has been modified to double check that the key signed is the one that was verified instead of just referencing the key by ID. An additional check has been made to report an error when one of the device ID matches a cross-signing key. As this attack requires coordination between a malicious homeserver and an attacker, those who trust their homeservers do not need a particular workaround.
総合評価: CVE-2022-39250 は中リスク(54.5/100)。CVSS 深刻度は高。悪用される可能性が高い(EPSS 0.93%、56 パーセンタイル) 推奨対応: 影響資産を整理し、修補計画に組み込んでください。
リスクは変動します。再評価に基づき、本ページの表示内容を更新しています。
EPSS は日次で悪用されやすさの相対度合いを推定します。パーセンタイルは採点済み CVE の中での相対位置(高いほど相対的に深刻)を示します。
| # | 日付 | 旧 EPSS スコア | 新 EPSS スコア | Δ(新 − 旧) |
|---|---|---|---|---|
| 1 | 2026-06-15 | 0.34% | 0.93% | +0.59% |
| 2 | 2025-12-08 | 0.17% | 0.34% | +0.17% |
| 3 | 2025-11-21 | — | 0.17% | — |
EPSS の全履歴 (全 10 件)
この CVE の CVSS 指標。
| ベーススコア | バージョン | 深刻度 | ベクトル | 悪用しやすさ | 影響 | スコアの出典 |
|---|---|---|---|---|---|---|
| 8.6 | 3.1 | HIGH |
|
3.9 | 4.0 | [email protected] |
| 7.5 | 3.1 | HIGH |
|
3.9 | 3.6 | [email protected] |
GHSA-5w8r-8pgj-5jmf · 深刻度: high · エコシステム: npm — matrix-js-sdk subject to user impersonation due to key/device identifier confusion in SAS verification
| vendor | priority | summary | link |
|---|---|---|---|
alpine
|
high | CVE-2022-39250: 2 source package rows (element-web, riot-web); 8 state rows across 7 repos (3.17-community, 3.18-community, 3.19-community, 3.20-community, 3.21-community, 3.22-community, edge-community); fixed 8, open 0. | https://security.alpinelinux.org/vuln/CVE-2022-39250 |
debian
|
not yet assigned | CVE-2022-39250 not yet assigned priority: Debian including 1 source packages (node-matrix-js-sdk), 1 status rows across 1 suites (bullseye): open 1. | https://security-tracker.debian.org/tracker/CVE-2022-39250 |
gentoo
|
high | CVE-2022-39250: 1 GLSA(s) (202210-35), 2 atom(s) (mail-client/thunderbird, mail-client/thunderbird-bin); latest impact high. | https://bugs.gentoo.org/buglist.cgi?quicksearch=CVE-2022-39250 |
redhat
|
high | — | https://access.redhat.com/security/cve/CVE-2022-39250 |
suse
|
high | CVE-2022-39250 severity important: SUSE including 11 source package names (MozillaThunderbird-102.3.1-1.1, MozillaThunderbird-102.4.0-150200.8.85.1, …), 50 product×package rows across 19 product lines (SUSE Liberty Linux 7, SUSE Liberty Linux 8, … (19 product lines)): Fixed 50. | https://www.suse.com/security/cve/CVE-2022-39250/ |
ubuntu
|
medium | CVE-2022-39250 medium priority: Ubuntu including 2 source packages (node-matrix-js-sdk, thunderbird), 26 status rows across 13 suites (bionic, focal, jammy, kinetic, lunar, mantic, noble, oracular, plucky, questing, trusty, upstream, xenial): ignored 7, not-affected 6, needs-triage 5, DNE 4, released 4. | https://ubuntu.com/security/CVE-2022-39250 |
| ベンダー | 製品 | バージョン | 生の CPE |
|---|---|---|---|
| matrix | javascript_sdk | < 19.7.0 | cpe:2.3:a:matrix:javascript_sdk:*:*:*:*:*:node.js:*:* |
| URL | タグ |
|---|---|
| https://github.com/matrix-org/matrix-js-sdk/commit/a587d7c36026fe1fcf93dfff63588abee359be76 | Patch Third Party Advisory |
| https://github.com/matrix-org/matrix-js-sdk/releases/tag/v19.7.0 | Release Notes Third Party Advisory |
| https://github.com/matrix-org/matrix-js-sdk/security/advisories/GHSA-5w8r-8pgj-5jmf | Third Party Advisory |
| https://matrix.org/blog/2022/09/28/upgrade-now-to-address-encryption-vulns-in-matrix-sdks-and-clients | Vendor Advisory |
| https://security.gentoo.org/glsa/202210-35 | Third Party Advisory |