Medium severity · published Sep 28, 2022
CVE-2022-39236
Matrix Javascript SDK improper beacon events can cause availability issues
5.3
CVSS
1.4%
EPSS
No
On KEV
Description
Matrix Javascript SDK is the Matrix Client-Server SDK for JavaScript. Starting with version 17.1.0-rc.1, improperly formed beacon events can disrupt or impede the matrix-js-sdk from functioning properly, potentially impacting the consumer's ability to process data safely. Note that the matrix-js-sdk can appear to be operating normally but be excluding or corrupting runtime data presented to the consumer. This is patched in matrix-js-sdk v19.7.0. Redacting applicable events, waiting for the sync processor to store data, and restarting the client are possible workarounds. Alternatively, redacting the applicable events and clearing all storage will fix the further perceived issues. Downgrading to an unaffected version, noting that such a version may be subject to other vulnerabilities, will additionally resolve the issue.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
None
Confidentiality
None
Integrity
None
Availability
Low
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)1.4% · higher than 71% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
MA
matrix-js-sdk · matrix-org
>= 17.1.0-rc.1, < 19.7.0 · source: vendor
JS
Javascript Sdk · Matrix
17.1.0 before 19.7.0; 17.1.0 · source: NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2022-39236
CVE.org
https://www.cve.org/CVERecord?id=CVE-2022-39236
Patch
https://github.com/matrix-org/matrix-js-sdk/commit/a587d7c36026fe1fcf93dfff63588abee359be76
Release Notes
https://github.com/matrix-org/matrix-js-sdk/releases/tag/v19.7.0
Third Party Advisory
https://github.com/matrix-org/matrix-js-sdk/security/advisories/GHSA-hvv8-5v86-r45x
Patch
https://github.com/matrix-org/matrix-spec-proposals/pull/3488
Third Party Advisory
https://security.gentoo.org/glsa/202210-35
More from matrix-js-sdk
8.7
CVE-2024-47080
matrix-js-sdk keys sent via `sendSharedHistoryKeys` vulnerable to interception by malicious homeserver
8.2
CVE-2023-28427
Prototype pollution in matrix-js-sdk
7.5
CVE-2022-39250
Matrix JavaScript SDK vulnerable to key/device identifier confusion in SAS verification
7.5
CVE-2022-39249
Matrix Javascript SDK vulnerable to impersonation via forwarded Megolm sessions
7.5
CVE-2022-39251
Matrix Javascript SDK vulnerable to Olm/Megolm protocol confusion
