Vulnerability · Published Oct 15, 2024 · Assigned by GitHub_M

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

High 8.7

In plain English

A high-severity information exposure in matrix-react-sdk from matrix-org. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.7% (higher than 52% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 4.0)8.7High
Exploit odds (30 days)0.7%top 48.4% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official 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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
npmmatrix-react-sdk3.102.0GHSA-qcvh-p9jq-wp8v

Affected products (as reported)

VendorProductVersions
matrix-org matrix-react-sdk >= 3.18.0, < 3.102.0

Weakness: CWE-200 · 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

References