{"id":"CVE-2024-47824","published":"2024-10-15T15:40:37Z","modified":"2024-11-21T16:52:42Z","title":"Malicious homeservers can steal message keys when the matrix-react-sdk user invites another user to a room","vendor":"matrix-org","product":"matrix-react-sdk","tier":"tail","description":{"text":"matrix-react-sdk is react-based software development kit for inserting a Matrix chat/VOIP client into a web page. Starting in version 3.18.0 and before 3.102.0, matrix-react-sdk allows a malicious homeserver to potentially steal message keys for a room when a user invites another user to that room, via injection of a malicious device controlled by the homeserver. This is possible because matrix-react-sdk before 3.102.0 shared historical message keys on invite. Version 3.102.0 fixes this issue by disabling sharing message keys on invite by removing calls to the vulnerable functionality. No known workarounds are available.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.7,"severity":"HIGH","version":"4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00656,"percentile":0.52342,"provenance":"source"},"cwes":[{"id":"CWE-200","name":"Exposure of Sensitive Information to an Unauthorized Actor"}],"references":[{"url":"https://github.com/matrix-org/matrix-react-sdk/security/advisories/GHSA-qcvh-p9jq-wp8v","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/matrix-org/matrix-react-sdk/pull/12618","tags":["x_refsource_MISC"]},{"url":"https://github.com/matrix-org/matrix-react-sdk/commit/6fc9d7641c51ca3db8225cf58b9d6e6fdd2d6556","tags":["x_refsource_MISC"]}],"priority":{"score":16.6,"factors":[{"name":"EPSS percentile","points":10.47},{"name":"CVSS severity","points":6.09}]},"vendorSlug":"matrix-org","affectedVersions":[{"vendor":"matrix-org","product":"matrix-react-sdk","versions":[">= 3.18.0, < 3.102.0"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2024-10-15T16:35:51.048781Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"matrix-react-sdk","vulnerableRanges":[">=3.18.0, <3.102.0"],"patched":["3.102.0"],"from":["GHSA-qcvh-p9jq-wp8v"],"provenance":"source"}],"summary":{"text":"The matrix-react-sdk component of the matrix-org product, in versions from 3.18.0 up to but not including 3.102.0, shares historical message keys with a user when another user is invited to a room, so a malicious homeserver can inject a device it controls and steal a room's message keys. An attacker needs only network access, with no authentication or user interaction required, and the flaw is triggered by a normal invite in an affected deployment; it is fixed in 3.102.0, which disables key sharing on invite.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T20:57:31Z"},"euvd":{"id":"EUVD-2024-3112","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2023-28103","published":"2023-03-28","fixed":"3.69.0","kev":false},{"cve":"CVE-2023-30609","published":"2023-04-25","fixed":"3.71.0","kev":false},{"cve":"CVE-2023-37259","published":"2023-07-18","fixed":"3.76.0","kev":false,"link":{"from":"CVE-2023-37259","to":"CVE-2024-47824","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"npm:matrix-react-sdk","fromFixed":"3.76.0","toFixed":"3.102.0","daysApart":455}]}},{"cve":"CVE-2024-47824","published":"2024-10-15","fixed":"3.102.0","kev":false},{"cve":"CVE-2024-42347","published":"2024-08-06","fixed":"3.105.1","kev":false}],"package":"npm:matrix-react-sdk"}}