CVE-2022-39251
published high CVSS 3.1 · 8.6Matrix Javascript SDK vulnerable to Olm/Megolm protocol confusion
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 SDK for JavaScript. Prior to version 19.7.0, an attacker cooperating with a malicious homeserver can construct messages that legitimately appear to have come from another person, without any indication such as a grey shield. Additionally, a sophisticated attacker cooperating with a malicious homeserver could employ this vulnerability to perform a targeted attack in order to send fake to-device messages appearing to originate from another user. This can allow, for example, to inject the key backup secret during a self-verification, to make a targeted device start using a malicious key backup spoofed by the homeserver. These attacks are possible due to a protocol confusion vulnerability that accepts to-device messages encrypted with Megolm instead of Olm. Starting with version 19.7.0, matrix-js-sdk has been modified to only accept Olm-encrypted to-device messages. Out of caution, several other checks have been audited or added. This attack requires coordination between a malicious home server and an attacker, so those who trust their home servers do not need a 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-r48r-j8fx-mq2c
- 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 Olm/Megolm protocol confusion
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 5782baa13539393ff1d3e440597553fc1f6940831ef40ecf2d36087d773dd842
- Ingested
- 23 Sep 2026, 08:02:02 UTC
- Source record
- Official CVE record