CVE-2022-39250
published high CVSS 3.1 · 8.6Matrix JavaScript SDK vulnerable to key/device identifier confusion in SAS verification
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| matrix-org | — | matrix-js-sdk< 19.7.0 | Affected | Not stated | GitHub_M |
| Amazon Linux | AL2 | Release evaluationALAS2-2022-1900 | Fixed | Not stated | Amazon Linux assessment |
| AlmaLinux | 8 | thunderbird | Advisory build | 102.4.0-1.el8_6.alma | ALSA-2022:7190 |
| Alpine Linux | v3.16 | riot-web | Fixed | 1.11.7-r0 | Package fix record |
| Oracle Linux | 7 | thunderbirdaarch64 | Advisory build | 0:102.4.0-1.0.1.el7_9 | ELSA-2022-7184 |
| Red Hat Enterprise Linux | RHEL-7 | thunderbirdppc64le | Advisory build | 102.4.0-1.el7_9 | RHSA-2022:7184 |
| SUSE / openSUSE | SLE-15-SP3 | MozillaThunderbirdaarch64 | Advisory build | 102.4.0-150200.8.85.1 | SUSE-SU-2022:3800-1 |
| AlmaLinux | 9 | thunderbird | Advisory build | 102.4.0-1.el9_0.alma | ALSA-2022:7178 |
Show 94 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Alpine Linux | v3.17 | riot-web | Fixed | 1.11.7-r0 | Package fix record |
| Alpine Linux | v3.18 | element-web | Fixed | 1.11.7-r0 | Package fix record |
| Alpine Linux | v3.19 | element-web | Fixed | 1.11.7-r0 | Package fix record |
| Alpine Linux | v3.20 | element-web | Fixed | 1.11.7-r0 | Package fix record |
| Alpine Linux | v3.21 | element-web | Fixed | 1.11.7-r0 | Package fix record |
| Alpine Linux | v3.22 | element-web | Fixed | 1.11.7-r0 | Package fix record |
| Alpine Linux | v3.23 | element-web | Fixed | 1.11.7-r0 | Package fix record |
| Alpine Linux | v3.24 | element-web | Fixed | 1.11.7-r0 | Package fix record |
| Oracle Linux | 7 | thunderbirdx86_64 | Advisory build | 0:102.4.0-1.0.1.el7_9 | ELSA-2022-7184 |
| Oracle Linux | 8 | thunderbirdaarch64 | Advisory build | 0:102.4.0-1.0.1.el8_6 | ELSA-2022-7190 |
| Oracle Linux | 8 | thunderbirdx86_64 | Advisory build | 0:102.4.0-1.0.1.el8_6 | ELSA-2022-7190 |
| Oracle Linux | 9 | thunderbirdaarch64 | Advisory build | 0:102.4.0-1.el9_0 | ELSA-2022-7178 |
| Oracle Linux | 9 | thunderbirdx86_64 | Advisory build | 0:102.4.0-1.el9_0 | ELSA-2022-7178 |
| Red Hat Enterprise Linux | RHEL-7 | thunderbirdsrc | Advisory build | 102.4.0-1.el7_9 | RHSA-2022:7184 |
| Red Hat Enterprise Linux | RHEL-7 | thunderbirdx86_64 | Advisory build | 102.4.0-1.el7_9 | RHSA-2022:7184 |
| Red Hat Enterprise Linux | RHEL-7 | thunderbird-debuginfoppc64le | Advisory build | 102.4.0-1.el7_9 | RHSA-2022:7184 |
| Red Hat Enterprise Linux | RHEL-7 | thunderbird-debuginfox86_64 | Advisory build | 102.4.0-1.el7_9 | RHSA-2022:7184 |
| Red Hat Enterprise Linux | RHEL-8 | thunderbirdaarch64 | Advisory build | 102.4.0-1.el8_2 | RHSA-2022:7182 |
| Red Hat Enterprise Linux | RHEL-8 | thunderbirdaarch64 | Advisory build | 102.4.0-1.el8_4 | RHSA-2022:7181 |
| Red Hat Enterprise Linux | RHEL-8 | thunderbirdaarch64 | Advisory build | 102.4.0-1.el8_6 | RHSA-2022:7190 |
| Red Hat Enterprise Linux | RHEL-8 | thunderbirdppc64le | Advisory build | 102.4.0-1.el8_1 | RHSA-2022:7183 |
| Red Hat Enterprise Linux | RHEL-8 | thunderbirdppc64le | Advisory build | 102.4.0-1.el8_2 | RHSA-2022:7182 |
| Red Hat Enterprise Linux | RHEL-8 | thunderbirdppc64le | Advisory build | 102.4.0-1.el8_4 | RHSA-2022:7181 |
| Red Hat Enterprise Linux | RHEL-8 | thunderbirdppc64le | Advisory build | 102.4.0-1.el8_6 | RHSA-2022:7190 |
| Red Hat Enterprise Linux | RHEL-8 | thunderbirds390x | Advisory build | 102.4.0-1.el8_4 | RHSA-2022:7181 |
| Red Hat Enterprise Linux | RHEL-8 | thunderbirds390x | Advisory build | 102.4.0-1.el8_6 | RHSA-2022:7190 |
| Red Hat Enterprise Linux | RHEL-8 | thunderbirdsrc | Advisory build | 102.4.0-1.el8_1 | RHSA-2022:7183 |
| Red Hat Enterprise Linux | RHEL-8 | thunderbirdsrc | Advisory build | 102.4.0-1.el8_2 | RHSA-2022:7182 |
| Red Hat Enterprise Linux | RHEL-8 | thunderbirdsrc | Advisory build | 102.4.0-1.el8_4 | RHSA-2022:7181 |
| Red Hat Enterprise Linux | RHEL-8 | thunderbirdsrc | Advisory build | 102.4.0-1.el8_6 | RHSA-2022:7190 |
| Red Hat Enterprise Linux | RHEL-8 | thunderbirdx86_64 | Advisory build | 102.4.0-1.el8_1 | RHSA-2022:7183 |
| Red Hat Enterprise Linux | RHEL-8 | thunderbirdx86_64 | Advisory build | 102.4.0-1.el8_2 | RHSA-2022:7182 |
| Red Hat Enterprise Linux | RHEL-8 | thunderbirdx86_64 | Advisory build | 102.4.0-1.el8_4 | RHSA-2022:7181 |
| Red Hat Enterprise Linux | RHEL-8 | thunderbirdx86_64 | Advisory build | 102.4.0-1.el8_6 | RHSA-2022:7190 |
| Red Hat Enterprise Linux | RHEL-8 | thunderbird-debuginfoaarch64 | Advisory build | 102.4.0-1.el8_2 | RHSA-2022:7182 |
| Red Hat Enterprise Linux | RHEL-8 | thunderbird-debuginfoaarch64 | Advisory build | 102.4.0-1.el8_4 | RHSA-2022:7181 |
| Red Hat Enterprise Linux | RHEL-8 | thunderbird-debuginfoaarch64 | Advisory build | 102.4.0-1.el8_6 | RHSA-2022:7190 |
| Red Hat Enterprise Linux | RHEL-8 | thunderbird-debuginfoppc64le | Advisory build | 102.4.0-1.el8_1 | RHSA-2022:7183 |
| Red Hat Enterprise Linux | RHEL-8 | thunderbird-debuginfoppc64le | Advisory build | 102.4.0-1.el8_2 | RHSA-2022:7182 |
| Red Hat Enterprise Linux | RHEL-8 | thunderbird-debuginfoppc64le | Advisory build | 102.4.0-1.el8_4 | RHSA-2022:7181 |
| Red Hat Enterprise Linux | RHEL-8 | thunderbird-debuginfoppc64le | Advisory build | 102.4.0-1.el8_6 | RHSA-2022:7190 |
| Red Hat Enterprise Linux | RHEL-8 | thunderbird-debuginfos390x | Advisory build | 102.4.0-1.el8_4 | RHSA-2022:7181 |
| Red Hat Enterprise Linux | RHEL-8 | thunderbird-debuginfos390x | Advisory build | 102.4.0-1.el8_6 | RHSA-2022:7190 |
| Red Hat Enterprise Linux | RHEL-8 | thunderbird-debuginfox86_64 | Advisory build | 102.4.0-1.el8_1 | RHSA-2022:7183 |
| Red Hat Enterprise Linux | RHEL-8 | thunderbird-debuginfox86_64 | Advisory build | 102.4.0-1.el8_2 | RHSA-2022:7182 |
| Red Hat Enterprise Linux | RHEL-8 | thunderbird-debuginfox86_64 | Advisory build | 102.4.0-1.el8_4 | RHSA-2022:7181 |
| Red Hat Enterprise Linux | RHEL-8 | thunderbird-debuginfox86_64 | Advisory build | 102.4.0-1.el8_6 | RHSA-2022:7190 |
| Red Hat Enterprise Linux | RHEL-8 | thunderbird-debugsourceaarch64 | Advisory build | 102.4.0-1.el8_2 | RHSA-2022:7182 |
| Red Hat Enterprise Linux | RHEL-8 | thunderbird-debugsourceaarch64 | Advisory build | 102.4.0-1.el8_4 | RHSA-2022:7181 |
| Red Hat Enterprise Linux | RHEL-8 | thunderbird-debugsourceaarch64 | Advisory build | 102.4.0-1.el8_6 | RHSA-2022:7190 |
| Red Hat Enterprise Linux | RHEL-8 | thunderbird-debugsourceppc64le | Advisory build | 102.4.0-1.el8_1 | RHSA-2022:7183 |
| Red Hat Enterprise Linux | RHEL-8 | thunderbird-debugsourceppc64le | Advisory build | 102.4.0-1.el8_2 | RHSA-2022:7182 |
| Red Hat Enterprise Linux | RHEL-8 | thunderbird-debugsourceppc64le | Advisory build | 102.4.0-1.el8_4 | RHSA-2022:7181 |
| Red Hat Enterprise Linux | RHEL-8 | thunderbird-debugsourceppc64le | Advisory build | 102.4.0-1.el8_6 | RHSA-2022:7190 |
| Red Hat Enterprise Linux | RHEL-8 | thunderbird-debugsources390x | Advisory build | 102.4.0-1.el8_4 | RHSA-2022:7181 |
| Red Hat Enterprise Linux | RHEL-8 | thunderbird-debugsources390x | Advisory build | 102.4.0-1.el8_6 | RHSA-2022:7190 |
| Red Hat Enterprise Linux | RHEL-8 | thunderbird-debugsourcex86_64 | Advisory build | 102.4.0-1.el8_1 | RHSA-2022:7183 |
| Red Hat Enterprise Linux | RHEL-8 | thunderbird-debugsourcex86_64 | Advisory build | 102.4.0-1.el8_2 | RHSA-2022:7182 |
| Red Hat Enterprise Linux | RHEL-8 | thunderbird-debugsourcex86_64 | Advisory build | 102.4.0-1.el8_4 | RHSA-2022:7181 |
| Red Hat Enterprise Linux | RHEL-8 | thunderbird-debugsourcex86_64 | Advisory build | 102.4.0-1.el8_6 | RHSA-2022:7190 |
| Red Hat Enterprise Linux | RHEL-9 | thunderbirdaarch64 | Advisory build | 102.4.0-1.el9_0 | RHSA-2022:7178 |
| Red Hat Enterprise Linux | RHEL-9 | thunderbirdppc64le | Advisory build | 102.4.0-1.el9_0 | RHSA-2022:7178 |
| Red Hat Enterprise Linux | RHEL-9 | thunderbirds390x | Advisory build | 102.4.0-1.el9_0 | RHSA-2022:7178 |
| Red Hat Enterprise Linux | RHEL-9 | thunderbirdsrc | Advisory build | 102.4.0-1.el9_0 | RHSA-2022:7178 |
| Red Hat Enterprise Linux | RHEL-9 | thunderbirdx86_64 | Advisory build | 102.4.0-1.el9_0 | RHSA-2022:7178 |
| Red Hat Enterprise Linux | RHEL-9 | thunderbird-debuginfoaarch64 | Advisory build | 102.4.0-1.el9_0 | RHSA-2022:7178 |
| Red Hat Enterprise Linux | RHEL-9 | thunderbird-debuginfoppc64le | Advisory build | 102.4.0-1.el9_0 | RHSA-2022:7178 |
| Red Hat Enterprise Linux | RHEL-9 | thunderbird-debuginfos390x | Advisory build | 102.4.0-1.el9_0 | RHSA-2022:7178 |
| Red Hat Enterprise Linux | RHEL-9 | thunderbird-debuginfox86_64 | Advisory build | 102.4.0-1.el9_0 | RHSA-2022:7178 |
| Red Hat Enterprise Linux | RHEL-9 | thunderbird-debugsourceaarch64 | Advisory build | 102.4.0-1.el9_0 | RHSA-2022:7178 |
| Red Hat Enterprise Linux | RHEL-9 | thunderbird-debugsourceppc64le | Advisory build | 102.4.0-1.el9_0 | RHSA-2022:7178 |
| Red Hat Enterprise Linux | RHEL-9 | thunderbird-debugsources390x | Advisory build | 102.4.0-1.el9_0 | RHSA-2022:7178 |
| Red Hat Enterprise Linux | RHEL-9 | thunderbird-debugsourcex86_64 | Advisory build | 102.4.0-1.el9_0 | RHSA-2022:7178 |
| SUSE / openSUSE | SLE-15-SP3 | MozillaThunderbirdppc64le | Advisory build | 102.4.0-150200.8.85.1 | SUSE-SU-2022:3800-1 |
| SUSE / openSUSE | SLE-15-SP3 | MozillaThunderbirds390x | Advisory build | 102.4.0-150200.8.85.1 | SUSE-SU-2022:3800-1 |
| SUSE / openSUSE | SLE-15-SP3 | MozillaThunderbirdx86_64 | Advisory build | 102.4.0-150200.8.85.1 | SUSE-SU-2022:3800-1 |
| SUSE / openSUSE | SLE-15-SP3 | MozillaThunderbird-translations-commonaarch64 | Advisory build | 102.4.0-150200.8.85.1 | SUSE-SU-2022:3800-1 |
| SUSE / openSUSE | SLE-15-SP3 | MozillaThunderbird-translations-commonppc64le | Advisory build | 102.4.0-150200.8.85.1 | SUSE-SU-2022:3800-1 |
| SUSE / openSUSE | SLE-15-SP3 | MozillaThunderbird-translations-commons390x | Advisory build | 102.4.0-150200.8.85.1 | SUSE-SU-2022:3800-1 |
| SUSE / openSUSE | SLE-15-SP3 | MozillaThunderbird-translations-commonx86_64 | Advisory build | 102.4.0-150200.8.85.1 | SUSE-SU-2022:3800-1 |
| SUSE / openSUSE | SLE-15-SP3 | MozillaThunderbird-translations-otheraarch64 | Advisory build | 102.4.0-150200.8.85.1 | SUSE-SU-2022:3800-1 |
| SUSE / openSUSE | SLE-15-SP3 | MozillaThunderbird-translations-otherppc64le | Advisory build | 102.4.0-150200.8.85.1 | SUSE-SU-2022:3800-1 |
| SUSE / openSUSE | SLE-15-SP3 | MozillaThunderbird-translations-others390x | Advisory build | 102.4.0-150200.8.85.1 | SUSE-SU-2022:3800-1 |
| SUSE / openSUSE | SLE-15-SP3 | MozillaThunderbird-translations-otherx86_64 | Advisory build | 102.4.0-150200.8.85.1 | SUSE-SU-2022:3800-1 |
| SUSE / openSUSE | SLE-15-SP4 | MozillaThunderbirdaarch64 | Advisory build | 102.4.0-150200.8.85.1 | SUSE-SU-2022:3800-1 |
| SUSE / openSUSE | SLE-15-SP4 | MozillaThunderbirdppc64le | Advisory build | 102.4.0-150200.8.85.1 | SUSE-SU-2022:3800-1 |
| SUSE / openSUSE | SLE-15-SP4 | MozillaThunderbirds390x | Advisory build | 102.4.0-150200.8.85.1 | SUSE-SU-2022:3800-1 |
| SUSE / openSUSE | SLE-15-SP4 | MozillaThunderbirdx86_64 | Advisory build | 102.4.0-150200.8.85.1 | SUSE-SU-2022:3800-1 |
| SUSE / openSUSE | SLE-15-SP4 | MozillaThunderbird-translations-commonaarch64 | Advisory build | 102.4.0-150200.8.85.1 | SUSE-SU-2022:3800-1 |
| SUSE / openSUSE | SLE-15-SP4 | MozillaThunderbird-translations-commonppc64le | Advisory build | 102.4.0-150200.8.85.1 | SUSE-SU-2022:3800-1 |
| SUSE / openSUSE | SLE-15-SP4 | MozillaThunderbird-translations-commons390x | Advisory build | 102.4.0-150200.8.85.1 | SUSE-SU-2022:3800-1 |
| SUSE / openSUSE | SLE-15-SP4 | MozillaThunderbird-translations-commonx86_64 | Advisory build | 102.4.0-150200.8.85.1 | SUSE-SU-2022:3800-1 |
| SUSE / openSUSE | SLE-15-SP4 | MozillaThunderbird-translations-otheraarch64 | Advisory build | 102.4.0-150200.8.85.1 | SUSE-SU-2022:3800-1 |
| SUSE / openSUSE | SLE-15-SP4 | MozillaThunderbird-translations-otherppc64le | Advisory build | 102.4.0-150200.8.85.1 | SUSE-SU-2022:3800-1 |
Package entries are limited to the first 100 builds and 100 linked advisories.
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 8.6 / 10
- Severity
- high
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:H/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| matrix-org | matrix-js-sdk | < 19.7.0 (affected) | GitHub_M · cna |
Weaknesses
2- CWE-322 CWE-322: Key Exchange without Entity Authentication
- CWE-287 CWE-287: Improper Authentication
References
5- https://github.com/matrix-org/matrix-js-sdk/commit/a587d7c36026fe1fcf93dfff63588abee359be76
- https://github.com/matrix-org/matrix-js-sdk/releases/tag/v19.7.0
- https://github.com/matrix-org/matrix-js-sdk/security/advisories/GHSA-5w8r-8pgj-5jmf
- https://matrix.org/blog/2022/09/28/upgrade-now-to-address-encryption-vulns-in-matrix-sdks-and-clients
- GLSA-202210-35 https://security.gentoo.org/glsa/202210-35
Provider assertions
3GitHub_M · cna
Matrix JavaScript SDK vulnerable to key/device identifier confusion in SAS verification
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- a5b4e2ce333d7e3d6618318d6d321b06c303767f98a577ce1743e72e1accf3fa
- Ingested
- 23 Sep 2026, 08:02:02 UTC
- Source record
- Official CVE record