CVE-2022-39249
published high CVSS 3.1 · 7.5Matrix Javascript SDK vulnerable to impersonation via forwarded Megolm sessions
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 appearing to have come from another person. Such messages will be marked with a grey shield on some platforms, but this may be missing in others. This attack is possible due to the matrix-js-sdk implementing a too permissive key forwarding strategy on the receiving end. Starting with version 19.7.0, the default policy for accepting key forwards has been made more strict in the matrix-js-sdk. matrix-js-sdk will now only accept forwarded keys in response to previously issued requests and only from own, verified devices. The SDK now sets a `trusted` flag on the decrypted message upon decryption, based on whether the key used to decrypt the message was received from a trusted source. Clients need to ensure that messages decrypted with a key with `trusted = false` are decorated appropriately, for example, by showing a warning for such messages. This attack requires coordination between a malicious homeserver and an attacker, and those who trust your homeservers 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
- 7.5 / 10
- Severity
- high
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/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
6- 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-6263-x97c-c4gg
- https://github.com/matrix-org/matrix-spec-proposals/pull/3061
- 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 impersonation via forwarded Megolm sessions
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 5974281acae08cf6e078d136d7006cb39c94fb6af1340bba1cf468453a9c4a12
- Ingested
- 23 Sep 2026, 08:02:02 UTC
- Source record
- Official CVE record