UBUNTU-CVE-2022-39249 (CVE-2022-39249)
Vulnerability from osv_ubuntu – Published: 2022-09-28 20:15 – Updated: 2026-11-24 09:48 – Source websiteMatrix 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.
| Ecosystem | Package | Version |
|---|---|---|
| Ubuntu:18.04:LTS |
thunderbird
pkg:deb/ubuntu/thunderbird@1:102.4.2+build2-0ubuntu0.18.04.1?arch=source&distro=bionic
|
Affected: < 1:102.4.2+build2-0ubuntu0.18.04.1 (ecosystem)
1:52.4.0+build1-0ubuntu21:52.6.0+build1-0ubuntu11:52.7.0+build1-0ubuntu11:52.8.0+build1-0ubuntu0.18.04.11:52.9.1+build3-0ubuntu0.18.04.11:60.2.1+build1-0ubuntu0.18.04.21:60.4.0+build2-0ubuntu0.18.04.11:60.5.1+build2-0ubuntu0.18.04.11:60.6.1+build2-0ubuntu0.18.04.11:60.7.0+build1-0ubuntu0.18.04.1
and 21 more (see JSON)
|
| Ubuntu:20.04:LTS |
thunderbird
pkg:deb/ubuntu/thunderbird@1:102.4.2+build2-0ubuntu0.20.04.1?arch=source&distro=focal
|
Affected: < 1:102.4.2+build2-0ubuntu0.20.04.1 (ecosystem)
1:68.1.2+build1-0ubuntu11:68.1.2+build1-0ubuntu21:68.2.1+build1-0ubuntu11:68.2.2+build1-0ubuntu11:68.3.0+build2-0ubuntu11:68.3.1+build1-0ubuntu21:68.4.1+build1-0ubuntu11:68.4.2+build2-0ubuntu11:68.5.0+build1-0ubuntu11:68.6.0+build2-0ubuntu1
and 16 more (see JSON)
|
| Ubuntu:20.04:LTS |
node-matrix-js-sdk
pkg:deb/ubuntu/node-matrix-js-sdk@0.9.2-1?arch=source&distro=focal
|
Affected: All versions (ecosystem)
0.9.2-1
|
| Ubuntu:22.04:LTS |
node-matrix-js-sdk
pkg:deb/ubuntu/node-matrix-js-sdk@9.11.0+~cs9.9.16-1?arch=source&distro=jammy
|
Affected: All versions (ecosystem)
9.3.0+~cs9.9.16-29.11.0+~cs9.9.16-1
|
| Ubuntu:22.04:LTS |
thunderbird
pkg:deb/ubuntu/thunderbird@1:102.4.2+build2-0ubuntu0.22.04.1?arch=source&distro=jammy
|
Affected: < 1:102.4.2+build2-0ubuntu0.22.04.1 (ecosystem)
1:91.1.2+build1-0ubuntu11:91.3.0+build2-0ubuntu11:91.3.1+build1-0ubuntu11:91.3.2+build1-0ubuntu11:91.4.0+build1.1-0ubuntu11:91.4.0+build2-0ubuntu11:91.5.0+build1-0ubuntu11:91.5.1+build1-0ubuntu11:91.6.1+build1-0ubuntu11:91.7.0+build1-0ubuntu1
and 5 more (see JSON)
|
| Ubuntu:24.04:LTS |
node-matrix-js-sdk
pkg:deb/ubuntu/node-matrix-js-sdk@9.11.0+~cs9.9.16-2?arch=source&distro=noble
|
Affected: All versions (ecosystem)
9.11.0+~cs9.9.16-2
|
{
"affected": [
{
"ecosystem_specific": {
"availability": "No subscription required",
"binaries": [
{
"binary_name": "thunderbird",
"binary_version": "1:102.4.2+build2-0ubuntu0.18.04.1"
},
{
"binary_name": "thunderbird-gnome-support",
"binary_version": "1:102.4.2+build2-0ubuntu0.18.04.1"
},
{
"binary_name": "thunderbird-mozsymbols",
"binary_version": "1:102.4.2+build2-0ubuntu0.18.04.1"
},
{
"binary_name": "xul-ext-calendar-timezones",
"binary_version": "1:102.4.2+build2-0ubuntu0.18.04.1"
},
{
"binary_name": "xul-ext-gdata-provider",
"binary_version": "1:102.4.2+build2-0ubuntu0.18.04.1"
},
{
"binary_name": "xul-ext-lightning",
"binary_version": "1:102.4.2+build2-0ubuntu0.18.04.1"
}
]
},
"package": {
"ecosystem": "Ubuntu:18.04:LTS",
"name": "thunderbird",
"purl": "pkg:deb/ubuntu/thunderbird@1:102.4.2+build2-0ubuntu0.18.04.1?arch=source\u0026distro=bionic"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "1:102.4.2+build2-0ubuntu0.18.04.1"
}
],
"type": "ECOSYSTEM"
}
],
"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"
]
},
{
"ecosystem_specific": {
"availability": "No subscription required",
"binaries": [
{
"binary_name": "thunderbird",
"binary_version": "1:102.4.2+build2-0ubuntu0.20.04.1"
},
{
"binary_name": "thunderbird-gnome-support",
"binary_version": "1:102.4.2+build2-0ubuntu0.20.04.1"
},
{
"binary_name": "thunderbird-mozsymbols",
"binary_version": "1:102.4.2+build2-0ubuntu0.20.04.1"
},
{
"binary_name": "xul-ext-calendar-timezones",
"binary_version": "1:102.4.2+build2-0ubuntu0.20.04.1"
},
{
"binary_name": "xul-ext-gdata-provider",
"binary_version": "1:102.4.2+build2-0ubuntu0.20.04.1"
},
{
"binary_name": "xul-ext-lightning",
"binary_version": "1:102.4.2+build2-0ubuntu0.20.04.1"
}
]
},
"package": {
"ecosystem": "Ubuntu:20.04:LTS",
"name": "thunderbird",
"purl": "pkg:deb/ubuntu/thunderbird@1:102.4.2+build2-0ubuntu0.20.04.1?arch=source\u0026distro=focal"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "1:102.4.2+build2-0ubuntu0.20.04.1"
}
],
"type": "ECOSYSTEM"
}
],
"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"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libjs-matrix-js-sdk",
"binary_version": "0.9.2-1"
},
{
"binary_name": "node-matrix-js-sdk",
"binary_version": "0.9.2-1"
}
]
},
"package": {
"ecosystem": "Ubuntu:20.04:LTS",
"name": "node-matrix-js-sdk",
"purl": "pkg:deb/ubuntu/node-matrix-js-sdk@0.9.2-1?arch=source\u0026distro=focal"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"0.9.2-1"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libjs-matrix-js-sdk",
"binary_version": "9.11.0+~cs9.9.16-1"
},
{
"binary_name": "node-matrix-js-sdk",
"binary_version": "9.11.0+~cs9.9.16-1"
}
]
},
"package": {
"ecosystem": "Ubuntu:22.04:LTS",
"name": "node-matrix-js-sdk",
"purl": "pkg:deb/ubuntu/node-matrix-js-sdk@9.11.0+~cs9.9.16-1?arch=source\u0026distro=jammy"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"9.3.0+~cs9.9.16-2",
"9.11.0+~cs9.9.16-1"
]
},
{
"ecosystem_specific": {
"availability": "No subscription required",
"binaries": [
{
"binary_name": "thunderbird",
"binary_version": "1:102.4.2+build2-0ubuntu0.22.04.1"
},
{
"binary_name": "thunderbird-gnome-support",
"binary_version": "1:102.4.2+build2-0ubuntu0.22.04.1"
},
{
"binary_name": "thunderbird-mozsymbols",
"binary_version": "1:102.4.2+build2-0ubuntu0.22.04.1"
},
{
"binary_name": "xul-ext-calendar-timezones",
"binary_version": "1:102.4.2+build2-0ubuntu0.22.04.1"
},
{
"binary_name": "xul-ext-gdata-provider",
"binary_version": "1:102.4.2+build2-0ubuntu0.22.04.1"
},
{
"binary_name": "xul-ext-lightning",
"binary_version": "1:102.4.2+build2-0ubuntu0.22.04.1"
}
]
},
"package": {
"ecosystem": "Ubuntu:22.04:LTS",
"name": "thunderbird",
"purl": "pkg:deb/ubuntu/thunderbird@1:102.4.2+build2-0ubuntu0.22.04.1?arch=source\u0026distro=jammy"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "1:102.4.2+build2-0ubuntu0.22.04.1"
}
],
"type": "ECOSYSTEM"
}
],
"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"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libjs-matrix-js-sdk",
"binary_version": "9.11.0+~cs9.9.16-2"
},
{
"binary_name": "node-matrix-js-sdk",
"binary_version": "9.11.0+~cs9.9.16-2"
}
]
},
"package": {
"ecosystem": "Ubuntu:24.04:LTS",
"name": "node-matrix-js-sdk",
"purl": "pkg:deb/ubuntu/node-matrix-js-sdk@9.11.0+~cs9.9.16-2?arch=source\u0026distro=noble"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"9.11.0+~cs9.9.16-2"
]
}
],
"aliases": [],
"details": "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.",
"id": "UBUNTU-CVE-2022-39249",
"modified": "2026-11-24T09:48:17Z",
"published": "2022-09-28T20:15:00Z",
"references": [
{
"type": "REPORT",
"url": "https://ubuntu.com/security/CVE-2022-39249"
},
{
"type": "REPORT",
"url": "https://github.com/matrix-org/matrix-js-sdk/security/advisories/GHSA-6263-x97c-c4gg"
},
{
"type": "REPORT",
"url": "https://github.com/matrix-org/matrix-js-sdk/commit/a587d7c36026fe1fcf93dfff63588abee359be76"
},
{
"type": "REPORT",
"url": "https://github.com/matrix-org/matrix-spec-proposals/pull/3061"
},
{
"type": "REPORT",
"url": "https://matrix.org/blog/2022/09/28/upgrade-now-to-address-encryption-vulns-in-matrix-sdks-and-clients"
},
{
"type": "REPORT",
"url": "https://github.com/matrix-org/matrix-js-sdk/releases/tag/v19.7.0"
},
{
"type": "ADVISORY",
"url": "https://ubuntu.com/security/notices/USN-5724-1"
},
{
"type": "REPORT",
"url": "https://www.cve.org/CVERecord?id=CVE-2022-39249"
}
],
"related": [
"USN-5724-1"
],
"schema_version": "1.9.2",
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N",
"source": "CNA",
"type": "CVSS_V3"
},
{
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N",
"source": "NVD",
"type": "CVSS_V3"
},
{
"score": "medium",
"source": "SELF",
"type": "Ubuntu"
}
],
"upstream": [
"CVE-2022-39249"
]
}
Drag nodes to arrange them. Double-click a related vulnerability to open it, or a source to visit its link. The Physics button on the left tunes the layout and the simulation; the legend at the bottom left hides or shows nodes by kind and by sighting type.
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Vulnerability timeline
Sightings and recorded dates, grouped by day · UTC
How durations are calculated
Following the VTEM framework (Black Hat USA 2015), time to patch starts when the vendor or a coordinator was informed, total time to patch at discovery, and disclosure to patch at public disclosure; vendor response time runs from the report to its acknowledgement. Time to exploit and time unpatched start at the earliest discovery or report, falling back to public disclosure. Unpatched time ends at the first recorded patch, or the calculation time when no patch is recorded. Exploitation to patch shows the interval between those two events; a published proof of concept is a public exploit, not exploitation. The method is described in a publication.
Each result shows its source dates. A negative interval means the end event came first; when date-only inputs leave the order open, the result says so. Date-only inputs are approximate. The earliest evidence wins: KEV report dates and sightings are labelled as such. Records describing another vulnerability are listed but never calculated from, and a PoC alone does not establish exploitation. Missing patch evidence does not prove that no patch exists. Filters below change the event list only.
Loading timeline…
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.
Browse all ATT&CK techniques and the vulnerabilities related to each.
Related by attack behaviour
Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.