Vulnerabilities · 2022 · Matrix
CVE-2022-39236
Matrix Javascript Sdk vulnerability
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.
Affected products
Javascript Sdk. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Matrix Javascript Sdk runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- github.com/matrix-org/matrix-js-sdk/commit/a587d7c36026fe1fcf93dfff63588abee359be76 · Patch
- github.com/matrix-org/matrix-spec-proposals/pull/3488 · Patch
- github.com/matrix-org/matrix-js-sdk/releases/tag/v19.7.0 · Third Party Advisory
- github.com/matrix-org/matrix-js-sdk/security/advisories/GHSA-hvv8-5v86-r45x · Third Party Advisory
- security.gentoo.org/glsa/202210-35 · Third Party Advisory
- nvd.nist.gov/vuln/detail/CVE-2022-39236
- cve.org/CVERecord?id=CVE-2022-39236
More vulnerabilities in Matrix products
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.