CVE-2024-47824 Malicious homeservers can steal message keys when the matrix-react-sdk user invites another user to a room
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: yes · technical impact: partial
Description
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.
Upgrade path
3 packages: 2 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| matrix-react-sdk project matrix-react-sdk | <= 3.18.0; <= 3.102.0 | after 3.18.0, 3.102.0 | Fixed |
| npm matrix-react-sdk(npm) | >= 3.18.0, < 3.102.0 | 3.102.0 | Fixed |
| matrix-org matrix-react-sdk | = >= 3.18.0, < 3.102.0 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| npm matrix-react-sdk(npm) | >= 3.18.0, < 3.102.0 | 3.102.0 |
| matrix-org matrix-react-sdk | = >= 3.18.0, < 3.102.0 | No fix listed |
| matrix-react-sdk project matrix-react-sdk | <= 3.18.0 | No fix listed |
| matrix-react-sdk project matrix-react-sdk | <= 3.102.0 | No fix listed |
References
- https://github.com/matrix-org/matrix-react-sdk/security/advisories/GHSA-qcvh-p9jq-wp8v vendor-advisory
- https://github.com/matrix-org/matrix-react-sdk/pull/12618 patch
- https://github.com/matrix-org/matrix-react-sdk/commit/6fc9d7641c51ca3db8225cf58b9d6e6fdd2d6556 patch
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com
- github.com product