CVE-2022-39250
Summary
| CVE | CVE-2022-39250 |
| State | PUBLIC |
| Assigner | [email protected] |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2022-09-29 13:15:00 UTC |
| Updated | 2022-12-03 01:28:00 UTC |
| 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. |
NVD Known Affected Configurations (CPE 2.3)
References
| Reference | Source | Link | Tags |
|---|
| Upgrade now to address E2EE vulnerabilities in matrix-js-sdk, matrix-ios-sdk and matrix-android-sdk2 | Matrix.org |
MISC |
matrix.org |
|
| Mozilla Thunderbird: Multiple Vulnerabilities (GLSA 202210-35) — Gentoo security |
GENTOO |
security.gentoo.org |
|
| Release v19.7.0 · matrix-org/matrix-js-sdk · GitHub |
MISC |
github.com |
|
| Key/device identifier confusion in SAS verification · Advisory · matrix-org/matrix-js-sdk · GitHub |
CONFIRM |
github.com |
|
| Resolve multiple CVEs · matrix-org/matrix-js-sdk@a587d7c · GitHub |
MISC |
github.com |
|
| CVE Program record |
CVE.ORG |
www.cve.org |
canonical |
| NVD vulnerability detail |
NVD |
nvd.nist.gov |
canonical, analysis |
No vendor comments have been submitted for this CVE.
Legacy QID Mappings
- 160177 Oracle Enterprise Linux Security Update for thunderbird (ELSA-2022-7184)
- 160181 Oracle Enterprise Linux Security Update for thunderbird (ELSA-2022-7178)
- 160184 Oracle Enterprise Linux Security Update for thunderbird (ELSA-2022-7190)
- 199024 Ubuntu Security Notification for Thunderbird Vulnerabilities (USN-5724-1)
- 240784 Red Hat Update for thunderbird (RHSA-2022:7184)
- 240786 Red Hat Update for thunderbird (RHSA-2022:7190)
- 240787 Red Hat Update for thunderbird (RHSA-2022:7178)
- 240791 Red Hat Update for thunderbird (RHSA-2022:7182)
- 240792 Red Hat Update for thunderbird (RHSA-2022:7181)
- 354131 Amazon Linux Security Advisory for thunderbird : ALAS2-2022-1900
- 377612 Mozilla Thunderbird Multiple Vulnerabilities (MFSA2022-43)
- 502515 Alpine Linux Security Update for riot-web
- 503177 Alpine Linux Security Update for element-web
- 506037 Alpine Linux Security Update for element-web
- 690947 Free Berkeley Software Distribution (FreeBSD) Security Update for matrix clients (cb902a77-3f43-11ed-9402-901b0e9408dc)
- 710676 Gentoo Linux Mozilla Thunderbird Multiple Vulnerabilities (GLSA 202210-35)
- 753237 SUSE Enterprise Linux Security Update for MozillaThunderbird (SUSE-SU-2022:3800-1)
- 940708 AlmaLinux Security Update for thunderbird (ALSA-2022:7190)
- 940711 AlmaLinux Security Update for thunderbird (ALSA-2022:7178)
- 960256 Rocky Linux Security Update for thunderbird (RLSA-2022:7190)