{"id":"CVE-2022-39236","published":"2022-09-28T00:00:00Z","modified":"2025-04-23T16:55:17Z","title":"Matrix Javascript SDK improper beacon events can cause availability issues","vendor":"matrix-org","product":"matrix-js-sdk","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":4.3,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.0139,"percentile":0.73036,"provenance":"source"},"cwes":[{"id":"CWE-20","name":"Improper Input Validation"}],"references":[{"url":"https://github.com/matrix-org/matrix-js-sdk/security/advisories/GHSA-hvv8-5v86-r45x","tags":[]},{"url":"https://github.com/matrix-org/matrix-spec-proposals/pull/3488","tags":[]},{"url":"https://github.com/matrix-org/matrix-js-sdk/commit/a587d7c36026fe1fcf93dfff63588abee359be76","tags":[]},{"url":"https://github.com/matrix-org/matrix-js-sdk/releases/tag/v19.7.0","tags":[]},{"url":"https://security.gentoo.org/glsa/202210-35","tags":["vendor-advisory"]}],"priority":{"score":17.6,"factors":[{"name":"EPSS percentile","points":14.61},{"name":"CVSS severity","points":3.01}]},"vendorSlug":"matrix-org","affectedVersions":[{"vendor":"matrix-org","product":"matrix-js-sdk","versions":[">= 17.1.0-rc.1, < 19.7.0"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2025-04-23T13:57:05.169149Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"matrix-js-sdk","vulnerableRanges":[">=17.1.0-rc.1, <19.7.0"],"patched":["19.7.0"],"from":["GHSA-hvv8-5v86-r45x"],"provenance":"source"}],"summary":{"text":"The matrix-js-sdk, the Matrix Client-Server SDK for JavaScript, improperly handles malformed beacon events, which can disrupt its normal operation and impede its ability to process data safely. An attacker with network access and low privileges can cause this availability impact, and no user interaction or specific configuration is required.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:06:41Z"},"euvd":{"id":"EUVD-2022-6842","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-matrix-org-matrix-js-sdk-cve-2021-40823","parents":[{"from":"CVE-2021-40823","to":"CVE-2022-39236","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["src/crypto/algorithms/megolm.ts"],"commits":["https://github.com/matrix-org/matrix-js-sdk/commit/894c24880da0e1cc81818f51c0db80e3c9fb2be9","https://github.com/matrix-org/matrix-js-sdk/commit/a587d7c36026fe1fcf93dfff63588abee359be76"],"basis":"shared function","functions":["MegolmEncryption"]}]}]}}