Improper input validation in Matrix JavaScript Sdk
CVE-2022-39236
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.
Vulnerability class: Drupalgeddon 2 (CVE-2018-7600)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 4.3 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L.
EPSS exploit prediction
EPSS 0.014, 72.2th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Matrix JavaScript Sdk — versions 17.1.0
- Matrix-Org Matrix-Js-Sdk — versions >= 17.1.0-rc.1, < 19.7.0
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 1 other repository (karimhabush/cyberowl). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- github.com/matrix-org/matrix-js-sdk/security/advisories/GHSA-hvv8-5v86-r45x (Third Party Advisory)
- github.com/matrix-org/matrix-spec-proposals/pull/3488 (Patch, Third Party Advisory)
- github.com/matrix-org/matrix-js-sdk/commit/a587d7c36026fe1fcf93dfff63588abee359… (Patch, Third Party Advisory)
- github.com/matrix-org/matrix-js-sdk/releases/tag/v19.7.0 (Third Party Advisory, Release Notes)
- GLSA-202210-35 (vendor-advisory, Third Party Advisory)