Skip to content

CVE-2024-47824 Malicious homeservers can steal message keys when the matrix-react-sdk user invites another user to a room

HighCVSS 8.7 EPSS 0.66%
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.

PackageAffectedFixed inStatus
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

ProductAffected versionsFixed 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