
CVE catalog
CVE-2022-39249
UBUNTU-CVE-2022-39249
- Severity
- High · CVSS 7.5
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N - Published
- Updated
- Source
- [NVD] · [CVE record]
- EPSS
- 1.28% · Oct 25, 2026
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.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | node-matrix-js-sdk | 11 | 9.11.0+~cs9.9.16-1 | vulnerable |
| Debian | node-matrix-js-sdk | 11 | 9.11.0+~cs9.9.16-2 | vulnerable |
| Debian | node-matrix-js-sdk | 11 | 9.3.0+~cs9.9.16-2 | vulnerable |
| Debian | node-matrix-js-sdk | 11 | 9.7.0~~rc1+~cs9.9.16-1 | vulnerable |
| Debian | node-matrix-js-sdk | 11 | 9.7.0~~rc1+~cs9.9.16-2 | vulnerable |
| Ubuntu | thunderbird | 18.04 | 1:52.4.0+build1-0ubuntu2 | vulnerable |
| Ubuntu | thunderbird | 18.04 | 1:52.6.0+build1-0ubuntu1 | vulnerable |
| Ubuntu | thunderbird | 18.04 | 1:52.7.0+build1-0ubuntu1 | vulnerable |
| Ubuntu | thunderbird | 18.04 | 1:52.8.0+build1-0ubuntu0.18.04.1 | vulnerable |
| Ubuntu | thunderbird | 18.04 | 1:52.9.1+build3-0ubuntu0.18.04.1 | vulnerable |
| Ubuntu | thunderbird | 18.04 | 1:60.2.1+build1-0ubuntu0.18.04.2 | vulnerable |
| Ubuntu | thunderbird | 18.04 | 1:60.4.0+build2-0ubuntu0.18.04.1 | vulnerable |
| Ubuntu | thunderbird | 18.04 | 1:60.5.1+build2-0ubuntu0.18.04.1 | vulnerable |
| Ubuntu | thunderbird | 18.04 | 1:60.6.1+build2-0ubuntu0.18.04.1 | vulnerable |
| Ubuntu | thunderbird | 18.04 | 1:60.7.0+build1-0ubuntu0.18.04.1 | vulnerable |
| Ubuntu | thunderbird | 18.04 | 1:60.7.1+build1-0ubuntu0.18.04.1 | vulnerable |
| Ubuntu | thunderbird | 18.04 | 1:60.7.2+build2-0ubuntu0.18.04.1 | vulnerable |
| Ubuntu | thunderbird | 18.04 | 1:60.8.0+build1-0ubuntu0.18.04.1 | vulnerable |
| Ubuntu | thunderbird | 18.04 | 1:60.9.0+build1-0ubuntu0.18.04.1 | vulnerable |
| Ubuntu | thunderbird | 18.04 | 1:68.2.1+build1-0ubuntu0.18.04.1 | vulnerable |
| Ubuntu | thunderbird | 18.04 | 1:68.2.2+build1-0ubuntu0.18.04.1 | vulnerable |
| Ubuntu | thunderbird | 18.04 | 1:68.4.1+build1-0ubuntu0.18.04.1 | vulnerable |
| Ubuntu | thunderbird | 18.04 | 1:68.7.0+build1-0ubuntu0.18.04.1 | vulnerable |
| Ubuntu | thunderbird | 18.04 | 1:68.8.0+build2-0ubuntu0.18.04.2 | vulnerable |
| Ubuntu | thunderbird | 18.04 | 1:68.10.0+build1-0ubuntu0.18.04.1 | vulnerable |
| Ubuntu | thunderbird | 18.04 | 1:78.8.1+build1-0ubuntu0.18.04.1 | vulnerable |
| Ubuntu | thunderbird | 18.04 | 1:78.11.0+build1-0ubuntu0.18.04.2 | vulnerable |
| Ubuntu | thunderbird | 18.04 | 1:78.13.0+build1-0ubuntu0.18.04.1 | vulnerable |
| Ubuntu | thunderbird | 18.04 | 1:78.14.0+build1-0ubuntu0.18.04.1 | vulnerable |
| Ubuntu | thunderbird | 18.04 | 1:78.14.0+build1-0ubuntu0.18.04.2 | vulnerable |
| Ubuntu | thunderbird | 18.04 | 1:91.5.0+build1-0ubuntu0.18.04.1 | vulnerable |
| Ubuntu | thunderbird | 18.04 | 1:91.7.0+build2-0ubuntu0.18.04.1 | vulnerable |
| Ubuntu | thunderbird | 18.04 | 1:91.8.1+build1-0ubuntu0.18.04.1 | vulnerable |
| Ubuntu | thunderbird | 18.04 | 1:91.9.1+build1-0ubuntu0.18.04.1 | vulnerable |
| Ubuntu | thunderbird | 18.04 | 1:91.11.0+build2-0ubuntu0.18.04.1 | vulnerable |
| Ubuntu | thunderbird | 18.04 | 1:102.2.2+build1-0ubuntu0.18.04.1 | vulnerable |
| Ubuntu | thunderbird | 18.04 | 1:102.4.2+build2-0ubuntu0.18.04.1 | fixed |
| Ubuntu | thunderbird | 20.04 | 1:68.1.2+build1-0ubuntu1 | vulnerable |
| Ubuntu | thunderbird | 20.04 | 1:68.1.2+build1-0ubuntu2 | vulnerable |
| Ubuntu | thunderbird | 20.04 | 1:68.2.1+build1-0ubuntu1 | vulnerable |
| Ubuntu | thunderbird | 20.04 | 1:68.2.2+build1-0ubuntu1 | vulnerable |
| Ubuntu | thunderbird | 20.04 | 1:68.3.0+build2-0ubuntu1 | vulnerable |
| Ubuntu | thunderbird | 20.04 | 1:68.3.1+build1-0ubuntu2 | vulnerable |
| Ubuntu | thunderbird | 20.04 | 1:68.4.1+build1-0ubuntu1 | vulnerable |
| Ubuntu | thunderbird | 20.04 | 1:68.4.2+build2-0ubuntu1 | vulnerable |
| Ubuntu | thunderbird | 20.04 | 1:68.5.0+build1-0ubuntu1 | vulnerable |
| Ubuntu | thunderbird | 20.04 | 1:68.6.0+build2-0ubuntu1 | vulnerable |
| Ubuntu | thunderbird | 20.04 | 1:68.7.0+build1-0ubuntu1 | vulnerable |
| Ubuntu | thunderbird | 20.04 | 1:68.7.0+build1-0ubuntu2 | vulnerable |
| Ubuntu | thunderbird | 20.04 | 1:68.8.0+build2-0ubuntu0.20.04.2 | vulnerable |
| Ubuntu | thunderbird | 20.04 | 1:68.10.0+build1-0ubuntu0.20.04.1 | vulnerable |
| Ubuntu | thunderbird | 20.04 | 1:78.7.1+build1-0ubuntu0.20.04.1 | vulnerable |
| Ubuntu | thunderbird | 20.04 | 1:78.8.1+build1-0ubuntu0.20.04.1 | vulnerable |
| Ubuntu | thunderbird | 20.04 | 1:78.11.0+build1-0ubuntu0.20.04.2 | vulnerable |
| Ubuntu | thunderbird | 20.04 | 1:78.13.0+build1-0ubuntu0.20.04.2 | vulnerable |
| Ubuntu | thunderbird | 20.04 | 1:78.14.0+build1-0ubuntu0.20.04.1 | vulnerable |
| Ubuntu | thunderbird | 20.04 | 1:78.14.0+build1-0ubuntu0.20.04.2 | vulnerable |
| Ubuntu | thunderbird | 20.04 | 1:91.5.0+build1-0ubuntu0.20.04.1 | vulnerable |
| Ubuntu | thunderbird | 20.04 | 1:91.7.0+build2-0ubuntu0.20.04.1 | vulnerable |
| Ubuntu | thunderbird | 20.04 | 1:91.8.1+build1-0ubuntu0.20.04.1 | vulnerable |
| Ubuntu | thunderbird | 20.04 | 1:91.9.1+build1-0ubuntu0.20.04.1 | vulnerable |
| Ubuntu | thunderbird | 20.04 | 1:91.11.0+build2-0ubuntu0.20.04.1 | vulnerable |
| Ubuntu | thunderbird | 20.04 | 1:102.2.2+build1-0ubuntu0.20.04.1 | vulnerable |
| Ubuntu | thunderbird | 20.04 | 1:102.4.2+build2-0ubuntu0.20.04.1 | fixed |
| Ubuntu | node-matrix-js-sdk | 20.04 | 0.9.2-1 | vulnerable |
| Ubuntu | node-matrix-js-sdk | 22.04 | 9.3.0+~cs9.9.16-2 | vulnerable |
| Ubuntu | node-matrix-js-sdk | 22.04 | 9.11.0+~cs9.9.16-1 | vulnerable |
| Ubuntu | thunderbird | 22.04 | 1:91.1.2+build1-0ubuntu1 | vulnerable |
| Ubuntu | thunderbird | 22.04 | 1:91.3.0+build2-0ubuntu1 | vulnerable |
| Ubuntu | thunderbird | 22.04 | 1:91.3.1+build1-0ubuntu1 | vulnerable |
| Ubuntu | thunderbird | 22.04 | 1:91.3.2+build1-0ubuntu1 | vulnerable |
| Ubuntu | thunderbird | 22.04 | 1:91.4.0+build1.1-0ubuntu1 | vulnerable |
| Ubuntu | thunderbird | 22.04 | 1:91.4.0+build2-0ubuntu1 | vulnerable |
| Ubuntu | thunderbird | 22.04 | 1:91.5.0+build1-0ubuntu1 | vulnerable |
| Ubuntu | thunderbird | 22.04 | 1:91.5.1+build1-0ubuntu1 | vulnerable |
| Ubuntu | thunderbird | 22.04 | 1:91.6.1+build1-0ubuntu1 | vulnerable |
| Ubuntu | thunderbird | 22.04 | 1:91.7.0+build1-0ubuntu1 | vulnerable |
| Ubuntu | thunderbird | 22.04 | 1:91.7.0+build2-0ubuntu1 | vulnerable |
| Ubuntu | thunderbird | 22.04 | 1:91.8.0+build2-0ubuntu1 | vulnerable |
| Ubuntu | thunderbird | 22.04 | 1:91.9.1+build1-0ubuntu0.22.04.1 | vulnerable |
| Ubuntu | thunderbird | 22.04 | 1:91.11.0+build2-0ubuntu0.22.04.1 | vulnerable |
| Ubuntu | thunderbird | 22.04 | 1:102.2.2+build1-0ubuntu0.22.04.1 | vulnerable |
| Ubuntu | thunderbird | 22.04 | 1:102.4.2+build2-0ubuntu0.22.04.1 | fixed |
| Ubuntu | node-matrix-js-sdk | 24.04 | 9.11.0+~cs9.9.16-2 | vulnerable |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Ubuntu | thunderbird | deb | 18.04 | 1:102.4.2+build2-0ubuntu0.18.04.1 | Not reported | UBUNTU-CVE-2022-39249 | Not reported |
| Ubuntu | thunderbird | deb | 20.04 | 1:102.4.2+build2-0ubuntu0.20.04.1 | Not reported | UBUNTU-CVE-2022-39249 | Not reported |
| Ubuntu | thunderbird | deb | 22.04 | 1:102.4.2+build2-0ubuntu0.22.04.1 | Not reported | UBUNTU-CVE-2022-39249 | Not reported |
OpenFactory catalog packages
Matching against OpenFactory catalog package versions is in progress.
Observed:
References
- [https://ftp.suse.com/pub/projects/security/csaf/rhsa-2022_7184.json]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2022-39249]
- [https://osv.dev/vulnerability/UBUNTU-CVE-2022-39249]
- [https://security.access.redhat.com/data/csaf/v2/vex/2022/cve-2022-39249.json]
[FIRST EPSS] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX] · [SUSE security advisories and VEX]