{"id":"CVE-2022-39249","aliases":["ALPINE-CVE-2022-39249","ALSA-2022:7178","ALSA-2022:7190","DEBIAN-CVE-2022-39249","EUVD-2022-6714","GHSA-6263-x97c-c4gg","MGASA-2022-0355","RHSA-2022:7178","RHSA-2022:7181","RHSA-2022:7182","RHSA-2022:7183","RHSA-2022:7184","RHSA-2022:7190","RLSA-2022:7190","SUSE-SU-2022:3800-1","UBUNTU-CVE-2022-39249","USN-5724-1","openSUSE-SU-2024:12374-1","openSUSE-SU-2024:12375-1","openSUSE-SU-2024:12379-1"],"status":"published","title":"Matrix Javascript SDK vulnerable to impersonation via forwarded Megolm sessions","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.","severity":{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","level":"high","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-09","score":0.01276,"percentile":0.70143,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-287","CWE-322"],"published":"2022-09-28T00:00:00Z","modified":"2026-11-03T07:30:44Z","fixes":[{"ecosystem":"npm","package":"matrix-js-sdk","fixed_in":["19.7.0"],"sources":["ghsa","osv"]},{"ecosystem":"Alpine:v3.18","package":"element-web","fixed_in":["1.11.7-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.19","package":"element-web","fixed_in":["1.11.7-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.20","package":"element-web","fixed_in":["1.11.7-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.21","package":"element-web","fixed_in":["1.11.7-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.22","package":"element-web","fixed_in":["1.11.7-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.23","package":"element-web","fixed_in":["1.11.7-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.24","package":"element-web","fixed_in":["1.11.7-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.16","package":"riot-web","fixed_in":["1.11.7-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.17","package":"riot-web","fixed_in":["1.11.7-r0"],"sources":["osv"]},{"ecosystem":"Ubuntu:18.04:LTS","package":"thunderbird","fixed_in":["1:102.4.2+build2-0ubuntu0.18.04.1"],"sources":["osv"]},{"ecosystem":"Ubuntu:20.04:LTS","package":"thunderbird","fixed_in":["1:102.4.2+build2-0ubuntu0.20.04.1"],"sources":["osv"]},{"ecosystem":"Ubuntu:22.04:LTS","package":"thunderbird","fixed_in":["1:102.4.2+build2-0ubuntu0.22.04.1"],"sources":["osv"]}],"affected":[{"source":"ghsa","ecosystem":"npm","package":"matrix-js-sdk","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"19.7.0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.18","package":"element-web","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.11.7-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.19","package":"element-web","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.11.7-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.20","package":"element-web","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.11.7-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.21","package":"element-web","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.11.7-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.22","package":"element-web","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.11.7-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.23","package":"element-web","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.11.7-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.24","package":"element-web","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.11.7-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.16","package":"riot-web","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.11.7-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.17","package":"riot-web","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.11.7-r0"}]}]},{"source":"osv","ecosystem":"AlmaLinux:9","package":"thunderbird","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"102.4.0-1.el9_0.alma"}]}],"bundled":8},{"source":"osv","ecosystem":"AlmaLinux:8","package":"thunderbird","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"102.4.0-1.el8_6.alma"}]}],"bundled":8},{"source":"osv","ecosystem":"Debian:11","package":"node-matrix-js-sdk","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["9.11.0+~cs9.9.16-1","9.11.0+~cs9.9.16-2","9.3.0+~cs9.9.16-2","9.7.0~~rc1+~cs9.9.16-1","9.7.0~~rc1+~cs9.9.16-2"]},{"source":"osv","ecosystem":"npm","package":"matrix-js-sdk","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"19.7.0"}]}]},{"source":"osv","ecosystem":"Mageia:8","package":"thunderbird","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"102.3.1-1.mga8"}]}],"bundled":4},{"source":"osv","ecosystem":"Mageia:8","package":"thunderbird-l10n","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"102.3.1-1.mga8"}]}],"bundled":4},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:9::appstream","package":"thunderbird","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:102.4.0-1.el9_0"}]}],"bundled":8},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:9::appstream","package":"thunderbird-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:102.4.0-1.el9_0"}]}],"bundled":8},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:9::appstream","package":"thunderbird-debugsource","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:102.4.0-1.el9_0"}]}],"bundled":8},{"source":"osv","ecosystem":"Red Hat:rhel_eus:8.4::appstream","package":"thunderbird","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:102.4.0-1.el8_4"}]}],"bundled":8},{"source":"osv","ecosystem":"Red Hat:rhel_eus:8.4::appstream","package":"thunderbird-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:102.4.0-1.el8_4"}]}],"bundled":8},{"source":"osv","ecosystem":"Red Hat:rhel_eus:8.4::appstream","package":"thunderbird-debugsource","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:102.4.0-1.el8_4"}]}],"bundled":8},{"source":"osv","ecosystem":"Red Hat:rhel_eus:8.2::appstream","package":"thunderbird","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:102.4.0-1.el8_2"}]}],"bundled":8},{"source":"osv","ecosystem":"Red Hat:rhel_eus:8.2::appstream","package":"thunderbird-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:102.4.0-1.el8_2"}]}],"bundled":8},{"source":"osv","ecosystem":"Red Hat:rhel_eus:8.2::appstream","package":"thunderbird-debugsource","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:102.4.0-1.el8_2"}]}],"bundled":8},{"source":"osv","ecosystem":"Red Hat:rhel_e4s:8.1::appstream","package":"thunderbird","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:102.4.0-1.el8_1"}]}],"bundled":8},{"source":"osv","ecosystem":"Red Hat:rhel_e4s:8.1::appstream","package":"thunderbird-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:102.4.0-1.el8_1"}]}],"bundled":8},{"source":"osv","ecosystem":"Red Hat:rhel_e4s:8.1::appstream","package":"thunderbird-debugsource","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:102.4.0-1.el8_1"}]}],"bundled":8},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:7::client","package":"thunderbird","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:102.4.0-1.el7_9"}]}],"bundled":8},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:7::client","package":"thunderbird-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:102.4.0-1.el7_9"}]}],"bundled":8},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:7::server","package":"thunderbird","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:102.4.0-1.el7_9"}]}],"bundled":8},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:7::server","package":"thunderbird-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:102.4.0-1.el7_9"}]}],"bundled":8},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:7::workstation","package":"thunderbird","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:102.4.0-1.el7_9"}]}],"bundled":8},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:7::workstation","package":"thunderbird-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:102.4.0-1.el7_9"}]}],"bundled":8},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:8::appstream","package":"thunderbird","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:102.4.0-1.el8_6"}]}],"bundled":8},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:8::appstream","package":"thunderbird-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:102.4.0-1.el8_6"}]}],"bundled":8},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:8::appstream","package":"thunderbird-debugsource","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:102.4.0-1.el8_6"}]}],"bundled":8},{"source":"osv","ecosystem":"Rocky Linux:8","package":"thunderbird","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:102.4.0-1.el8_6"}]}],"bundled":8},{"source":"osv","ecosystem":"Rocky Linux:8","package":"thunderbird","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:102.4.0-1.el8_6.0.1"}]}],"bundled":8},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Module for Package Hub 15 SP3","package":"MozillaThunderbird","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"102.4.0-150200.8.85.1"}]}],"bundled":12},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Module for Package Hub 15 SP4","package":"MozillaThunderbird","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"102.4.0-150200.8.85.1"}]}],"bundled":12},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Workstation Extension 15 SP3","package":"MozillaThunderbird","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"102.4.0-150200.8.85.1"}]}],"bundled":12},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Workstation Extension 15 SP4","package":"MozillaThunderbird","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"102.4.0-150200.8.85.1"}]}],"bundled":12},{"source":"osv","ecosystem":"openSUSE:Leap 15.3","package":"MozillaThunderbird","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"102.4.0-150200.8.85.1"}]}],"bundled":12},{"source":"osv","ecosystem":"openSUSE:Leap 15.4","package":"MozillaThunderbird","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"102.4.0-150200.8.85.1"}]}],"bundled":12},{"source":"osv","ecosystem":"Ubuntu:18.04:LTS","package":"thunderbird","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:102.4.2+build2-0ubuntu0.18.04.1"}]}],"versions":["1:52.4.0+build1-0ubuntu2","1:52.6.0+build1-0ubuntu1","1:52.7.0+build1-0ubuntu1","1:52.8.0+build1-0ubuntu0.18.04.1","1:52.9.1+build3-0ubuntu0.18.04.1","1:60.2.1+build1-0ubuntu0.18.04.2","1:60.4.0+build2-0ubuntu0.18.04.1","1:60.5.1+build2-0ubuntu0.18.04.1","1:60.6.1+build2-0ubuntu0.18.04.1","1:60.7.0+build1-0ubuntu0.18.04.1","1:60.7.1+build1-0ubuntu0.18.04.1","1:60.7.2+build2-0ubuntu0.18.04.1","1:60.8.0+build1-0ubuntu0.18.04.1","1:60.9.0+build1-0ubuntu0.18.04.1","1:68.2.1+build1-0ubuntu0.18.04.1","1:68.2.2+build1-0ubuntu0.18.04.1","1:68.4.1+build1-0ubuntu0.18.04.1","1:68.7.0+build1-0ubuntu0.18.04.1","1:68.8.0+build2-0ubuntu0.18.04.2","1:68.10.0+build1-0ubuntu0.18.04.1","1:78.8.1+build1-0ubuntu0.18.04.1","1:78.11.0+build1-0ubuntu0.18.04.2","1:78.13.0+build1-0ubuntu0.18.04.1","1:78.14.0+build1-0ubuntu0.18.04.1","1:78.14.0+build1-0ubuntu0.18.04.2","1:91.5.0+build1-0ubuntu0.18.04.1","1:91.7.0+build2-0ubuntu0.18.04.1","1:91.8.1+build1-0ubuntu0.18.04.1","1:91.9.1+build1-0ubuntu0.18.04.1","1:91.11.0+build2-0ubuntu0.18.04.1","1:102.2.2+build1-0ubuntu0.18.04.1"]},{"source":"osv","ecosystem":"Ubuntu:20.04:LTS","package":"thunderbird","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:102.4.2+build2-0ubuntu0.20.04.1"}]}],"versions":["1:68.1.2+build1-0ubuntu1","1:68.1.2+build1-0ubuntu2","1:68.2.1+build1-0ubuntu1","1:68.2.2+build1-0ubuntu1","1:68.3.0+build2-0ubuntu1","1:68.3.1+build1-0ubuntu2","1:68.4.1+build1-0ubuntu1","1:68.4.2+build2-0ubuntu1","1:68.5.0+build1-0ubuntu1","1:68.6.0+build2-0ubuntu1","1:68.7.0+build1-0ubuntu1","1:68.7.0+build1-0ubuntu2","1:68.8.0+build2-0ubuntu0.20.04.2","1:68.10.0+build1-0ubuntu0.20.04.1","1:78.7.1+build1-0ubuntu0.20.04.1","1:78.8.1+build1-0ubuntu0.20.04.1","1:78.11.0+build1-0ubuntu0.20.04.2","1:78.13.0+build1-0ubuntu0.20.04.2","1:78.14.0+build1-0ubuntu0.20.04.1","1:78.14.0+build1-0ubuntu0.20.04.2","1:91.5.0+build1-0ubuntu0.20.04.1","1:91.7.0+build2-0ubuntu0.20.04.1","1:91.8.1+build1-0ubuntu0.20.04.1","1:91.9.1+build1-0ubuntu0.20.04.1","1:91.11.0+build2-0ubuntu0.20.04.1","1:102.2.2+build1-0ubuntu0.20.04.1"]},{"source":"osv","ecosystem":"Ubuntu:20.04:LTS","package":"node-matrix-js-sdk","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.9.2-1"]},{"source":"osv","ecosystem":"Ubuntu:22.04:LTS","package":"node-matrix-js-sdk","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["9.3.0+~cs9.9.16-2","9.11.0+~cs9.9.16-1"]},{"source":"osv","ecosystem":"Ubuntu:22.04:LTS","package":"thunderbird","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:102.4.2+build2-0ubuntu0.22.04.1"}]}],"versions":["1:91.1.2+build1-0ubuntu1","1:91.3.0+build2-0ubuntu1","1:91.3.1+build1-0ubuntu1","1:91.3.2+build1-0ubuntu1","1:91.4.0+build1.1-0ubuntu1","1:91.4.0+build2-0ubuntu1","1:91.5.0+build1-0ubuntu1","1:91.5.1+build1-0ubuntu1","1:91.6.1+build1-0ubuntu1","1:91.7.0+build1-0ubuntu1","1:91.7.0+build2-0ubuntu1","1:91.8.0+build2-0ubuntu1","1:91.9.1+build1-0ubuntu0.22.04.1","1:91.11.0+build2-0ubuntu0.22.04.1","1:102.2.2+build1-0ubuntu0.22.04.1"]},{"source":"osv","ecosystem":"Ubuntu:24.04:LTS","package":"node-matrix-js-sdk","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["9.11.0+~cs9.9.16-2"]},{"source":"osv","ecosystem":"Ubuntu:18.04:LTS","package":"thunderbird","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:102.4.2+build2-0ubuntu0.18.04.1"}]}],"versions":["1:52.4.0+build1-0ubuntu2","1:52.6.0+build1-0ubuntu1","1:52.7.0+build1-0ubuntu1","1:52.8.0+build1-0ubuntu0.18.04.1","1:52.9.1+build3-0ubuntu0.18.04.1","1:60.2.1+build1-0ubuntu0.18.04.2","1:60.4.0+build2-0ubuntu0.18.04.1","1:60.5.1+build2-0ubuntu0.18.04.1","1:60.6.1+build2-0ubuntu0.18.04.1","1:60.7.0+build1-0ubuntu0.18.04.1","1:60.7.1+build1-0ubuntu0.18.04.1","1:60.7.2+build2-0ubuntu0.18.04.1","1:60.8.0+build1-0ubuntu0.18.04.1","1:60.9.0+build1-0ubuntu0.18.04.1","1:68.2.1+build1-0ubuntu0.18.04.1","1:68.2.2+build1-0ubuntu0.18.04.1","1:68.4.1+build1-0ubuntu0.18.04.1","1:68.7.0+build1-0ubuntu0.18.04.1","1:68.8.0+build2-0ubuntu0.18.04.2","1:68.10.0+build1-0ubuntu0.18.04.1","1:78.8.1+build1-0ubuntu0.18.04.1","1:78.11.0+build1-0ubuntu0.18.04.2","1:78.13.0+build1-0ubuntu0.18.04.1","1:78.14.0+build1-0ubuntu0.18.04.1","1:78.14.0+build1-0ubuntu0.18.04.2","1:91.5.0+build1-0ubuntu0.18.04.1","1:91.7.0+build2-0ubuntu0.18.04.1","1:91.8.1+build1-0ubuntu0.18.04.1","1:91.9.1+build1-0ubuntu0.18.04.1","1:91.11.0+build2-0ubuntu0.18.04.1","1:102.2.2+build1-0ubuntu0.18.04.1"],"bundled":15},{"source":"osv","ecosystem":"Ubuntu:20.04:LTS","package":"thunderbird","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:102.4.2+build2-0ubuntu0.20.04.1"}]}],"versions":["1:68.1.2+build1-0ubuntu1","1:68.1.2+build1-0ubuntu2","1:68.2.1+build1-0ubuntu1","1:68.2.2+build1-0ubuntu1","1:68.3.0+build2-0ubuntu1","1:68.3.1+build1-0ubuntu2","1:68.4.1+build1-0ubuntu1","1:68.4.2+build2-0ubuntu1","1:68.5.0+build1-0ubuntu1","1:68.6.0+build2-0ubuntu1","1:68.7.0+build1-0ubuntu1","1:68.7.0+build1-0ubuntu2","1:68.8.0+build2-0ubuntu0.20.04.2","1:68.10.0+build1-0ubuntu0.20.04.1","1:78.7.1+build1-0ubuntu0.20.04.1","1:78.8.1+build1-0ubuntu0.20.04.1","1:78.11.0+build1-0ubuntu0.20.04.2","1:78.13.0+build1-0ubuntu0.20.04.2","1:78.14.0+build1-0ubuntu0.20.04.1","1:78.14.0+build1-0ubuntu0.20.04.2","1:91.5.0+build1-0ubuntu0.20.04.1","1:91.7.0+build2-0ubuntu0.20.04.1","1:91.8.1+build1-0ubuntu0.20.04.1","1:91.9.1+build1-0ubuntu0.20.04.1","1:91.11.0+build2-0ubuntu0.20.04.1","1:102.2.2+build1-0ubuntu0.20.04.1"],"bundled":15},{"source":"osv","ecosystem":"Ubuntu:22.04:LTS","package":"thunderbird","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:102.4.2+build2-0ubuntu0.22.04.1"}]}],"versions":["1:91.1.2+build1-0ubuntu1","1:91.3.0+build2-0ubuntu1","1:91.3.1+build1-0ubuntu1","1:91.3.2+build1-0ubuntu1","1:91.4.0+build1.1-0ubuntu1","1:91.4.0+build2-0ubuntu1","1:91.5.0+build1-0ubuntu1","1:91.5.1+build1-0ubuntu1","1:91.6.1+build1-0ubuntu1","1:91.7.0+build1-0ubuntu1","1:91.7.0+build2-0ubuntu1","1:91.8.0+build2-0ubuntu1","1:91.9.1+build1-0ubuntu0.22.04.1","1:91.11.0+build2-0ubuntu0.22.04.1","1:102.2.2+build1-0ubuntu0.22.04.1"],"bundled":15},{"source":"osv","ecosystem":"openSUSE:Tumbleweed","package":"element-desktop","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.11.8-1.1"}]}],"bundled":4},{"source":"osv","ecosystem":"openSUSE:Tumbleweed","package":"element-web","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.11.8-1.1"}]}],"bundled":4},{"source":"osv","ecosystem":"openSUSE:Tumbleweed","package":"MozillaThunderbird","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"102.3.1-1.1"}]}],"bundled":4}],"products":[{"vendor":"matrix","product":"javascript_sdk"},{"vendor":"matrix-org","product":"matrix-js-sdk"}],"references":[{"url":"https://github.com/matrix-org/matrix-js-sdk/commit/a587d7c36026fe1fcf93dfff63588abee359be76","tags":["x_transferred","Patch","Third Party Advisory","fix","web","report"]},{"url":"https://github.com/matrix-org/matrix-js-sdk/releases/tag/v19.7.0","tags":["x_transferred","Release Notes","Third Party Advisory","web","report"]},{"url":"https://github.com/matrix-org/matrix-js-sdk/security/advisories/GHSA-6263-x97c-c4gg","tags":["x_transferred","Third Party Advisory","advisory","web","report"]},{"url":"https://github.com/matrix-org/matrix-spec-proposals/pull/3061","tags":["x_transferred","Patch","Third Party Advisory","fix","web","report"]},{"url":"https://matrix.org/blog/2022/09/28/upgrade-now-to-address-encryption-vulns-in-matrix-sdks-and-clients","tags":["x_transferred","Vendor Advisory","article","web","report"]},{"url":"https://security.gentoo.org/glsa/202210-35","tags":["vendor-advisory","x_transferred","Third Party Advisory","advisory","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-39249","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-6263-x97c-c4gg"},{"url":"https://security.alpinelinux.org/vuln/CVE-2022-39249","tags":["advisory"]},{"url":"https://access.redhat.com/errata/RHSA-2022:7178","tags":["advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2022-39236","tags":["report"]},{"url":"https://access.redhat.com/security/cve/CVE-2022-39249","tags":["report"]},{"url":"https://access.redhat.com/security/cve/CVE-2022-39250","tags":["report"]},{"url":"https://access.redhat.com/security/cve/CVE-2022-39251","tags":["report"]},{"url":"https://access.redhat.com/security/cve/CVE-2022-42927","tags":["report"]},{"url":"https://access.redhat.com/security/cve/CVE-2022-42928","tags":["report"]},{"url":"https://access.redhat.com/security/cve/CVE-2022-42929","tags":["report"]},{"url":"https://access.redhat.com/security/cve/CVE-2022-42932","tags":["report"]},{"url":"https://bugzilla.redhat.com/2135391","tags":["report"]},{"url":"https://bugzilla.redhat.com/2135393","tags":["report"]},{"url":"https://bugzilla.redhat.com/2135395","tags":["report"]},{"url":"https://bugzilla.redhat.com/2135396","tags":["report"]},{"url":"https://bugzilla.redhat.com/2136156","tags":["report"]},{"url":"https://bugzilla.redhat.com/2136157","tags":["report"]},{"url":"https://bugzilla.redhat.com/2136158","tags":["report"]},{"url":"https://bugzilla.redhat.com/2136159","tags":["report"]},{"url":"https://errata.almalinux.org/9/ALSA-2022-7178.html","tags":["advisory"]},{"url":"https://access.redhat.com/errata/RHSA-2022:7190","tags":["advisory"]},{"url":"https://errata.almalinux.org/8/ALSA-2022-7190.html","tags":["advisory"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/39xxx/CVE-2022-39249.json","tags":["advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2022-39249","tags":["advisory"]},{"url":"https://github.com/matrix-org/matrix-js-sdk","tags":["package"]},{"url":"https://advisories.mageia.org/MGASA-2022-0355.html","tags":["advisory"]},{"url":"https://bugs.mageia.org/show_bug.cgi?id=30911","tags":["report"]},{"url":"https://www.mozilla.org/en-US/security/advisories/mfsa2022-43/","tags":["advisory"]},{"url":"https://www.thunderbird.net/en-US/thunderbird/102.3.1/releasenotes/","tags":["web"]},{"url":"https://access.redhat.com/security/updates/classification/#important","tags":["article"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2135391","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2135393","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2135395","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2135396","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2136156","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2136157","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2136158","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2136159","tags":["report"]},{"url":"https://security.access.redhat.com/data/csaf/v2/advisories/2022/rhsa-2022_7178.json","tags":["advisory"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2022-39236","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-39236","tags":["advisory"]},{"url":"https://www.mozilla.org/en-US/security/advisories/mfsa2022-43/#CVE-2022-39236","tags":["article"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2022-39249","tags":["advisory","report"]},{"url":"https://www.mozilla.org/en-US/security/advisories/mfsa2022-43/#CVE-2022-39249","tags":["article"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2022-39250","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-39250","tags":["advisory"]},{"url":"https://www.mozilla.org/en-US/security/advisories/mfsa2022-43/#CVE-2022-39250","tags":["article"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2022-39251","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-39251","tags":["advisory"]},{"url":"https://www.mozilla.org/en-US/security/advisories/mfsa2022-43/#CVE-2022-39251","tags":["article"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2022-42927","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-42927","tags":["advisory"]},{"url":"https://www.mozilla.org/en-US/security/advisories/mfsa2022-45/#CVE-2022-42927","tags":["article"]},{"url":"https://www.mozilla.org/en-US/security/advisories/mfsa2022-46/#CVE-2022-42927","tags":["article"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2022-42928","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-42928","tags":["advisory"]},{"url":"https://www.mozilla.org/en-US/security/advisories/mfsa2022-45/#CVE-2022-42928","tags":["article"]},{"url":"https://www.mozilla.org/en-US/security/advisories/mfsa2022-46/#CVE-2022-42928","tags":["article"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2022-42929","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-42929","tags":["advisory"]},{"url":"https://www.mozilla.org/en-US/security/advisories/mfsa2022-45/#CVE-2022-42929","tags":["article"]},{"url":"https://www.mozilla.org/en-US/security/advisories/mfsa2022-46/#CVE-2022-42929","tags":["article"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2022-42932","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-42932","tags":["advisory"]},{"url":"https://www.mozilla.org/en-US/security/advisories/mfsa2022-45/#CVE-2022-42932","tags":["article"]},{"url":"https://www.mozilla.org/en-US/security/advisories/mfsa2022-46/#CVE-2022-42932","tags":["article"]},{"url":"https://access.redhat.com/errata/RHSA-2022:7181","tags":["advisory"]},{"url":"https://security.access.redhat.com/data/csaf/v2/advisories/2022/rhsa-2022_7181.json","tags":["advisory"]},{"url":"https://access.redhat.com/errata/RHSA-2022:7182","tags":["advisory"]},{"url":"https://security.access.redhat.com/data/csaf/v2/advisories/2022/rhsa-2022_7182.json","tags":["advisory"]},{"url":"https://access.redhat.com/errata/RHSA-2022:7183","tags":["advisory"]},{"url":"https://security.access.redhat.com/data/csaf/v2/advisories/2022/rhsa-2022_7183.json","tags":["advisory"]},{"url":"https://access.redhat.com/errata/RHSA-2022:7184","tags":["advisory"]},{"url":"https://security.access.redhat.com/data/csaf/v2/advisories/2022/rhsa-2022_7184.json","tags":["advisory"]},{"url":"https://security.access.redhat.com/data/csaf/v2/advisories/2022/rhsa-2022_7190.json","tags":["advisory"]},{"url":"https://errata.rockylinux.org/RLSA-2022:7190","tags":["advisory"]},{"url":"https://www.suse.com/support/update/announcement/2022/suse-su-20223800-1/","tags":["advisory"]},{"url":"https://bugzilla.suse.com/1203477","tags":["report"]},{"url":"https://bugzilla.suse.com/1204411","tags":["report"]},{"url":"https://bugzilla.suse.com/1204421","tags":["report"]},{"url":"https://www.suse.com/security/cve/CVE-2022-3155","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2022-3266","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2022-39236","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2022-39249","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2022-39250","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2022-39251","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2022-40956","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2022-40957","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2022-40958","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2022-40959","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2022-40960","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2022-40962","tags":["web"]},{"url":"https://ubuntu.com/security/CVE-2022-39249","tags":["report"]},{"url":"https://ubuntu.com/security/notices/USN-5724-1","tags":["advisory"]},{"url":"https://ubuntu.com/security/CVE-2022-3266","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2022-39236","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2022-39250","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2022-39251","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2022-40956","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2022-40957","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2022-40958","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2022-40959","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2022-40960","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2022-40962","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2022-42927","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2022-42928","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2022-42929","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2022-42932","tags":["report"]},{"url":"","tags":["advisory"]}],"sources":{"cve":[{"id":"CVE-2022-39249","title":"Matrix Javascript SDK vulnerable to impersonation via forwarded Megolm sessions","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.","status":"published","published":"2022-09-28T00:00:00Z","modified":"2025-04-23T16:55:11.362Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","level":"high","assessor":"cna"}],"cwes":["CWE-322","CWE-287"],"updated_at":"2026-11-02T14:34:39.559326Z"}],"euvd":[{"id":"EUVD-2022-6714","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.","status":"published","published":"2022-09-28T00:00:00Z","modified":"2025-04-23T16:55:11Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","level":"high"}],"updated_at":"2026-11-02T20:52:11.440801Z"}],"ghsa":[{"id":"GHSA-6263-x97c-c4gg","title":"matrix-js-sdk subject to impersonated messages due to permissive key forwarding","description":"## Impact\n\nAn 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.\n\nThis attack is possible due to the matrix-js-sdk implementing a too permissive [key forwarding](https://spec.matrix.org/v1.3/client-server-api/#key-requests) strategy on the receiving end.\n\nKey forwarding is a mechanism allowing clients to recover from “unable to decrypt” messages when they missed the initial key distribution, at the time the message was originally sent. Examples include accessing message history before they joined the room but also when some network/federation errors have occurred.\n\n## Patches\n\nThe 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.\n\nA unique exception to this rule is with the experimental [MSC3061](https://github.com/matrix-org/matrix-spec-proposals/pull/3061), that is forwarding room keys for past messages when invited in a room configured with the proper history visibility setting. Such key forwards are parked upon receipt and are only accepted if the SDK receives an invitation for that room from the inviter in a limited time window.\n\nThe 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).\n\n### Workarounds\n\nAs this attack requires coordination between a malicious homeserver and an attacker, if you trust your homeserver, no particular workaround is needed.\n\n## References\nBlog post: https://matrix.org/blog/2022/09/28/upgrade-now-to-address-encryption-vulns-in-matrix-sdks-and-clients\n\n## For more information\nIf you have any questions or comments about this advisory, e-mail us at security@matrix.org.","status":"published","published":"2022-09-30T00:40:35Z","modified":"2023-01-30T05:02:54Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","level":"high"}],"cwes":["CWE-287"],"updated_at":"2026-11-02T14:36:27.500048Z"}],"nvd":[{"id":"CVE-2022-39249","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.","status":"published","published":"2022-09-28T20:15:16.127Z","modified":"2026-06-17T04:57:59.723Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","level":"high","assessor":"secondary"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","level":"high","assessor":"primary"}],"cwes":["CWE-287","CWE-322"],"updated_at":"2026-11-02T14:07:29.026521Z"}],"osv":[{"id":"ALPINE-CVE-2022-39249","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.","status":"published","published":"2022-09-28T20:15:16.127Z","modified":"2026-11-03T07:30:44.11699338Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","level":"high"}],"updated_at":"2026-11-03T07:50:01.054176Z"},{"id":"CVE-2022-39249","title":"Matrix Javascript SDK vulnerable to impersonation via forwarded Megolm sessions","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.","status":"published","published":"2022-09-28T00:00:00Z","modified":"2026-10-28T02:31:05.151273692Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","level":"high"}],"cwes":["CWE-287","CWE-322"],"updated_at":"2026-11-02T15:44:26.53798Z"},{"id":"DEBIAN-CVE-2022-39249","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.","status":"published","published":"2022-09-28T20:15:16.127Z","modified":"2026-08-27T23:04:23.824341645Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","level":"high"}],"updated_at":"2026-11-02T15:45:37.555261Z"},{"id":"GHSA-6263-x97c-c4gg","title":"matrix-js-sdk subject to impersonated messages due to permissive key forwarding","description":"## Impact\n\nAn 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.\n\nThis attack is possible due to the matrix-js-sdk implementing a too permissive [key forwarding](https://spec.matrix.org/v1.3/client-server-api/#key-requests) strategy on the receiving end.\n\nKey forwarding is a mechanism allowing clients to recover from “unable to decrypt” messages when they missed the initial key distribution, at the time the message was originally sent. Examples include accessing message history before they joined the room but also when some network/federation errors have occurred.\n\n## Patches\n\nThe 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.\n\nA unique exception to this rule is with the experimental [MSC3061](https://github.com/matrix-org/matrix-spec-proposals/pull/3061), that is forwarding room keys for past messages when invited in a room configured with the proper history visibility setting. Such key forwards are parked upon receipt and are only accepted if the SDK receives an invitation for that room from the inviter in a limited time window.\n\nThe 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).\n\n### Workarounds\n\nAs this attack requires coordination between a malicious homeserver and an attacker, if you trust your homeserver, no particular workaround is needed.\n\n## References\nBlog post: https://matrix.org/blog/2022/09/28/upgrade-now-to-address-encryption-vulns-in-matrix-sdks-and-clients\n\n## For more information\nIf you have any questions or comments about this advisory, e-mail us at security@matrix.org.","status":"published","published":"2022-09-30T00:40:35Z","modified":"2023-11-08T04:10:16.571099Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","level":"high"}],"cwes":["CWE-287"],"updated_at":"2026-11-02T15:46:38.911014Z"},{"id":"RHSA-2022:7178","title":"Red Hat Security Advisory: thunderbird security update","status":"published","published":"2024-09-16T09:22:45Z","modified":"2026-06-27T10:15:54Z","cvss":[{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:53:10.139266Z"},{"id":"RHSA-2022:7181","title":"Red Hat Security Advisory: thunderbird security update","status":"published","published":"2024-09-16T09:22:38Z","modified":"2026-06-27T10:15:55Z","cvss":[{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:53:10.139266Z"},{"id":"RHSA-2022:7182","title":"Red Hat Security Advisory: thunderbird security update","status":"published","published":"2024-09-16T09:22:17Z","modified":"2026-06-27T10:15:55Z","cvss":[{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:53:10.139266Z"},{"id":"RHSA-2022:7183","title":"Red Hat Security Advisory: thunderbird security update","status":"published","published":"2024-09-16T09:22:25Z","modified":"2026-06-27T10:15:56Z","cvss":[{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:53:10.139266Z"},{"id":"RHSA-2022:7184","title":"Red Hat Security Advisory: thunderbird security update","status":"published","published":"2024-09-16T09:22:30Z","modified":"2026-06-27T10:15:56Z","cvss":[{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:53:10.139266Z"},{"id":"RHSA-2022:7190","title":"Red Hat Security Advisory: thunderbird security update","status":"published","published":"2024-09-16T09:22:22Z","modified":"2026-06-27T10:15:57Z","cvss":[{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:53:10.139266Z"},{"id":"RLSA-2022:7190","title":"Important: thunderbird security update","description":"Mozilla Thunderbird is a standalone mail and newsgroup client.\n\nThis update upgrades Thunderbird to version 102.4.0.\n\nSecurity Fix(es):\n\n* Mozilla: Matrix SDK bundled with Thunderbird vulnerable to an impersonation attack by malicious server administrators (CVE-2022-39249)\n\n* Mozilla: Matrix SDK bundled with Thunderbird vulnerable to a device verification attack (CVE-2022-39250)\n\n* Mozilla: Matrix SDK bundled with Thunderbird vulnerable to an impersonation attack (CVE-2022-39251)\n\n* Mozilla: Same-origin policy violation could have leaked cross-origin URLs (CVE-2022-42927)\n\n* Mozilla: Memory Corruption in JS Engine (CVE-2022-42928)\n\n* Mozilla: Matrix SDK bundled with Thunderbird vulnerable to a data corruption issue (CVE-2022-39236)\n\n* Mozilla: Denial of Service via window.print (CVE-2022-42929)\n\n* Mozilla: Memory safety bugs fixed in Firefox ESR 102.4 and Thunderbird 102.4 (CVE-2022-42932)\n\nFor more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.","status":"published","published":"2022-10-25T14:29:50Z","modified":"2026-02-05T11:15:03.190432Z","cvss":[{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:53:24.322216Z"},{"id":"UBUNTU-CVE-2022-39249","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.","status":"published","published":"2022-09-28T20:15:00Z","modified":"2026-04-22T13:27:15.020869Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","level":"high"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","level":"high"}],"updated_at":"2026-11-02T16:53:55.502114Z"},{"id":"ALSA-2022:7178","title":"Important: thunderbird security update","description":"Mozilla Thunderbird is a standalone mail and newsgroup client.\n\nThis update upgrades Thunderbird to version 102.4.0.\n\nSecurity Fix(es):\n\n* Mozilla: Matrix SDK bundled with Thunderbird vulnerable to an impersonation attack by malicious server administrators (CVE-2022-39249)\n* Mozilla: Matrix SDK bundled with Thunderbird vulnerable to a device verification attack (CVE-2022-39250)\n* Mozilla: Matrix SDK bundled with Thunderbird vulnerable to an impersonation attack (CVE-2022-39251)\n* Mozilla: Same-origin policy violation could have leaked cross-origin URLs (CVE-2022-42927)\n* Mozilla: Memory Corruption in JS Engine (CVE-2022-42928)\n* Mozilla: Matrix SDK bundled with Thunderbird vulnerable to a data corruption issue (CVE-2022-39236)\n* Mozilla: Denial of Service via window.print (CVE-2022-42929)\n* Mozilla: Memory safety bugs fixed in Firefox ESR 102.4 and Thunderbird 102.4 (CVE-2022-42932)\n\nFor more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.","status":"published","published":"2022-10-25T00:00:00Z","modified":"2026-10-29T11:31:14.055184673Z","updated_at":"2026-11-02T15:27:51.655726Z"},{"id":"ALSA-2022:7190","title":"Important: thunderbird security update","description":"Mozilla Thunderbird is a standalone mail and newsgroup client.\n\nThis update upgrades Thunderbird to version 102.4.0.\n\nSecurity Fix(es):\n\n* Mozilla: Matrix SDK bundled with Thunderbird vulnerable to an impersonation attack by malicious server administrators (CVE-2022-39249)\n* Mozilla: Matrix SDK bundled with Thunderbird vulnerable to a device verification attack (CVE-2022-39250)\n* Mozilla: Matrix SDK bundled with Thunderbird vulnerable to an impersonation attack (CVE-2022-39251)\n* Mozilla: Same-origin policy violation could have leaked cross-origin URLs (CVE-2022-42927)\n* Mozilla: Memory Corruption in JS Engine (CVE-2022-42928)\n* Mozilla: Matrix SDK bundled with Thunderbird vulnerable to a data corruption issue (CVE-2022-39236)\n* Mozilla: Denial of Service via window.print (CVE-2022-42929)\n* Mozilla: Memory safety bugs fixed in Firefox ESR 102.4 and Thunderbird 102.4 (CVE-2022-42932)\n\nFor more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.","status":"published","published":"2022-10-25T00:00:00Z","modified":"2026-10-29T11:00:50.054179173Z","updated_at":"2026-11-02T15:27:51.655726Z"},{"id":"MGASA-2022-0355","title":"Updated thunderbird packages fix security vulnerability","description":"Improperly formed beacon events can disrupt or impede the matrix-js-sdk\nfrom functioning properly(CVE-2022-39236)\nToo permissive key forwarding strategy allowing impersonation \n(CVE-2022-39249)\nTrusting/verifying the user identity under the control of the homeserver\ninstead of the intended one. (CVE-2022-39250)\nFake to-device messages appearing to originate from another user.\n(CVE-2022-39251)\n","status":"published","published":"2022-10-01T17:48:24Z","modified":"2026-04-16T04:42:37.425114742Z","updated_at":"2026-11-02T15:49:42.263076Z"},{"id":"openSUSE-SU-2024:12374-1","title":"element-desktop-1.11.8-1.1 on GA media","description":"These are all security issues fixed in the element-desktop-1.11.8-1.1 package on the GA media of openSUSE Tumbleweed.","status":"published","published":"2024-06-15T00:00:00Z","modified":"2026-02-04T03:40:00.736007Z","updated_at":"2026-11-02T16:58:35.751245Z"},{"id":"openSUSE-SU-2024:12375-1","title":"element-web-1.11.8-1.1 on GA media","description":"These are all security issues fixed in the element-web-1.11.8-1.1 package on the GA media of openSUSE Tumbleweed.","status":"published","published":"2024-06-15T00:00:00Z","modified":"2025-05-07T18:14:17.782518Z","updated_at":"2026-11-02T16:58:35.751245Z"},{"id":"openSUSE-SU-2024:12379-1","title":"MozillaThunderbird-102.3.1-1.1 on GA media","description":"These are all security issues fixed in the MozillaThunderbird-102.3.1-1.1 package on the GA media of openSUSE Tumbleweed.","status":"published","published":"2024-06-15T00:00:00Z","modified":"2026-02-04T03:12:26.399558Z","updated_at":"2026-11-02T16:58:35.751245Z"},{"id":"SUSE-SU-2022:3800-1","title":"Security update for MozillaThunderbird","description":"This update for MozillaThunderbird fixes the following issues:\n\n- Mozilla Thunderbird 102.4.0 (bsc#1204421)\n  * changed: Thunderbird will automatically detect and repair OpenPGP key storage corruption caused by using the profile import tool in Thunderbird 102   \n  * fixed: POP message download into a large folder (~13000 messages) caused Thunderbird to temporarily freeze\n  * fixed: Forwarding messages with special characters in Subject failed on Windows\n  * fixed: Links for FileLink attachments were not added when attachment filename contained Unicode characters\n  * fixed: Address Book display pane continued to show contacts after deletion\n  * fixed: Printing address book did not include all contact details\n  * fixed: CardDAV contacts without a Name property did not save to Google Contacts\n  * fixed: 'Publish Calendar' did not work\n  * fixed: Calendar database storage improvements\n  * fixed: Incorrectly handled error responses from CalDAV servers sometimes caused events to disappear from calendar\n  * fixed: Various visual and UX improvements\n- Mozilla Thunderbird 102.3.3\n  * new: Option added to show containing address book for a\n    contact when using `All Address Books` in vertical mode\n    (bmo#1778871)\n  * changed: Thunderbird will try to use POP NTLM authentication\n    even if not advertised by server (bmo#1793349)\n  * changed: Task List and Today Pane sidebars will no longer\n    load when not visible (bmo#1788549)\n  * fixed: Sending a message while a recipient pill was being\n    modified did not save changes (bmo#1779785)\n  * fixed: Nickname column was not available in horizontal view\n    of Address Book (bmo#1778000)\n  * fixed: Multiline organization values were displayed across\n    two columns in horizontal view of Address Book (bmo#1777780)\n  * fixed: Contact vCard fields with multiple values such as\n    Categories were truncated when saved (bmo#1792399)\n  * fixed: ICS calendar files with a `FREEBUSY` property could\n    not be imported (bmo#1783441)\n  * fixed: Thunderbird would hang if calendar event exceeded the\n    year 2035 (bmo#1789999)\n- Mozilla Thunderbird 102.3.2\n  * changed: Thunderbird will try to use POP CRAM-MD5\n    authentication even if not advertised by server (bmo#1789975)\n  * fixed: Checking messages on POP3 accounts caused POP folder\n    to lock if mail server was slow or non-responsive\n    (bmo#1792451)\n  * fixed: Newsgroups named with consecutive dots would not\n    appear when refreshing list of newsgroups (bmo#1787789)\n  * fixed: Sending news articles containing lines starting with\n    dot were sometimes clipped (bmo#1787955)\n  * fixed: CardDAV server sync silently failed if sync token\n    expired (bmo#1791183)\n  * fixed: Contacts from LDAP on macOS address books were not\n    displayed (bmo#1791347)\n  * fixed: Chat account input now accepts URIs for supported chat\n    protocols (bmo#1776706)\n  * fixed: Chat ScreenName field was not migrated to new address\n    book (bmo#1789990)\n  * fixed: Creating a New Event from the Today Pane used the\n    currently selected day from the main calendar instead of from\n    the Today Pane (bmo#1791203)\n  * fixed: `New Event` button in Today Pane was incorrectly\n    disabled sometimes (bmo#1792058)\n  * fixed: Event reminder windows did not close after being\n    dismissed or snoozed (bmo#1791228)\n  * fixed: Improved performance of recurring event date\n    calculation (bmo#1787677)\n  * fixed: Quarterly calendar events on the last day of the month\n    repeated one month early (bmo#1789362)\n  * fixed: Thunderbird would hang if calendar event exceeded the\n    year 2035 (bmo#1789999)\n  * fixed: Whitespace in calendar events was incorrectly handled\n    when upgrading from Thunderbird 91 to 102 (bmo#1790339)\n  * fixed: Various visual and UX improvements (bmo#1755623,bmo#17\n    83903,bmo#1785851,bmo#1786434,bmo#1787286,bmo#1788151,bmo#178\n    9728,bmo#1790499)\n- Mozilla Thunderbird 102.3.1\n  * changed: Compose window encryption options now only appear\n    for encryption technologies that have already been configured\n    (bmo#1788988)\n  * changed: Number of contacts in currently selected address\n    book now displayed at bottom of Address Book list column\n    (bmo#1745571)\n  * fixed: Password prompt did not include server hostname for\n    POP servers (bmo#1786920)\n  * fixed: `Edit Contact` was missing from Contacts sidebar\n    context menus (bmo#1771795)\n  * fixed: Address Book contact lists cut off display of some\n    characters, the result being unreadable (bmo#1780909)\n  * fixed: Menu items for dark-themed alarm dialog were invisible\n    on Windows 7 (bmo#1791738)\n  * fixed: Various security fixes\n  MFSA 2022-43 (bsc#1204411)\n  * CVE-2022-39249 (bmo#1791765)\n    Matrix SDK bundled with Thunderbird vulnerable to an\n    impersonation attack by malicious server administrators\n  * CVE-2022-39250 (bmo#1791765)\n    Matrix SDK bundled with Thunderbird vulnerable to a device\n    verification attack\n  * CVE-2022-39251 (bmo#1791765)\n    Matrix SDK bundled with Thunderbird vulnerable to an\n    impersonation attack\n  * CVE-2022-39236 (bmo#1791765)\n    Matrix SDK bundled with Thunderbird vulnerable to a data\n    corruption issue\n- Mozilla Thunderbird 102.3\n  * changed: Thunderbird will no longer attempt to import account\n    passwords when importing from another Thunderbird profile in\n    order to prevent profile corruption and permanent data loss.\n    (bmo#1790605)\n  * changed: Devtools performance profile will use Thunderbird\n    presets instead of Web Developer presets (bmo#1785954)\n  * fixed: Thunderbird startup performance improvements\n    (bmo#1785967)\n  * fixed: Saving email source and images failed\n    (bmo#1777323,bmo#1778804)\n  * fixed: Error message was shown repeatedly when temporary disk\n    space was full (bmo#1788580)\n  * fixed: Attaching OpenPGP keys without a set size to non-\n    encrypted messages briefly displayed a size of zero bytes\n    (bmo#1788952)\n  * fixed: Global Search entry box initially contained\n    'undefined' (bmo#1780963)\n  * fixed: Delete from POP Server mail filter rule intermittently\n    failed to trigger (bmo#1789418)\n  * fixed: Connections to POP3 servers without UIDL support\n    failed (bmo#1789314)\n  * fixed: Pop accounts with 'Fetch headers only' set downloaded\n    complete messages if server did not advertise TOP capability\n    (bmo#1789356)\n  * fixed: 'File -\u003e New -\u003e Address Book Contact' from Compose\n    window did not work (bmo#1782418)\n  * fixed: Attach 'My vCard' option in compose window was not\n    available (bmo#1787614)\n  * fixed: Improved performance of matching a contact to an email\n    address (bmo#1782725)\n  * fixed: Address book only recognized a contact's first two\n    email addresses (bmo#1777156)\n  * fixed: Address book search and autocomplete failed if a\n    contact vCard could not be parsed (bmo#1789793)\n  * fixed: Downloading NNTP messages for offline use failed\n    (bmo#1785773)\n  * fixed: NNTP client became stuck when connecting to Public-\n    Inbox servers (bmo#1786203)\n  * fixed: Various visual and UX improvements\n    (bmo#1782235,bmo#1787448,bmo#1788725,bmo#1790324)\n  * fixed: Various security fixes\n  * unresolved: No dedicated 'Department' field in address book\n    (bmo#1777780)\n  MFSA 2022-42 (bsc#1203477)\n  * CVE-2022-3266 (bmo#1767360)\n    Out of bounds read when decoding H264\n  * CVE-2022-40959 (bmo#1782211)\n    Bypassing FeaturePolicy restrictions on transient pages\n  * CVE-2022-40960 (bmo#1787633)\n    Data-race when parsing non-UTF-8 URLs in threads\n  * CVE-2022-40958 (bmo#1779993)\n    Bypassing Secure Context restriction for cookies with __Host\n    and __Secure prefix\n  * CVE-2022-40956 (bmo#1770094)\n    Content-Security-Policy base-uri bypass\n  * CVE-2022-40957 (bmo#1777604)\n    Incoherent instruction cache when building WASM on ARM64\n  * CVE-2022-3155 (bmo#1789061)\n    Attachment files saved to disk on macOS could be executed\n    without warning\n  * CVE-2022-40962 (bmo#1776655, bmo#1777574, bmo#1784835,\n    bmo#1785109, bmo#1786502, bmo#1789440)\n    Memory safety bugs fixed in Thunderbird 102.3\n","status":"published","published":"2022-10-27T12:59:47Z","modified":"2025-05-02T04:33:14.210725Z","updated_at":"2026-11-02T15:53:51.440565Z"},{"id":"USN-5724-1","title":"thunderbird vulnerabilities","description":"Multiple security issues were discovered in Thunderbird. If a user were\ntricked into opening a specially crafted website in a browsing context, an\nattacker could potentially exploit these to cause a denial of service,\nbypass Content Security Policy (CSP) or other security restrictions, or\nexecute arbitrary code. These issues only affect Ubuntu 18.04 LTS, Ubuntu\n20.04 LTS and Ubuntu 22.04 LTS. (CVE-2022-3266, CVE-2022-40956,\nCVE-2022-40957, CVE-2022-40958, CVE-2022-40959, CVE-2022-40960,\nCVE-2022-40962)\n\nMultiple security issues were discovered in the Matrix SDK bundled with\nThunderbird. An attacker could potentially exploit these in order to\nimpersonate another user. These issues only affect Ubuntu 18.04 LTS,\nUbuntu 20.04 LTS and Ubuntu 22.04 LTS. (CVE-2022-39236, CVE-2022-39249,\nCVE-2022-39250, CVE-2022-39251)\n\nMultiple security issues were discovered in Thunderbird. If a user were\ntricked into opening a specially crafted website in a browsing context, an\nattacker could potentially exploit these to cause a denial of service,\nobtain sensitive information, or execute arbitrary code. (CVE-2022-42927,\nCVE-2022-42928, CVE-2022-42929, CVE-2022-42932)\n","status":"published","published":"2022-11-11T20:28:26Z","modified":"2026-04-27T16:32:21.916633408Z","updated_at":"2026-11-02T16:58:16.20937Z"}]}}
