Hoch

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

  • Veröffentlicht: 15.10.2024
  • Aktualisiert: 11.10.2026 10:22

Impact

matrix-react-sdk before 3.102.0 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.

Patches

matrix-react-sdk 3.102.0 disables sharing message keys on invite by removing calls to the vulnerable functionality.

Workarounds

None.

References

The vulnerability in matrix-react-sdk is caused by calling MatrixClient.sendSharedHistoryKeys in matrix-js-sdk, which is inherently vulnerable to this sort of attack. This matrix-js-sdk vulnerability is tracked as CVE-2024-47080 / GHSA-4jf8-g8wp-cx7c. Given that this functionality is not specific to sharing message keys on invite, is optional, has to be explicitly called by the caller and has been independently patched in matrix-react-sdk by removing the offending calls, we believe it is proper to treat the matrix-react-sdk vulnerability as a separate one, with its own advisory and CVE.

The matrix-org/matrix-react-sdk repository has recently been archived and the project was moved to element-hq/matrix-react-sdk. Given that this happened after the first patched release, no releases of the project on element-hq/matrix-react-sdk were ever vulnerable to this vulnerability.

Patching pull request: https://github.com/matrix-org/matrix-react-sdk/pull/12618.

For more information

If you have any questions or comments about this advisory, please email us at security at security at matrix.org.

Betroffene Software

Klicken Sie auf eine Technologie, um alle zugehörigen Schwachstellen anzuzeigen.

PlattformPaketAnfällige VersionenBehoben in
npm-Paket matrix-react-sdk >= 3.18.0, < 3.102.0 3.102.0

Verweise

CVSS-Wert 0
CVSS-Vektor
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:N
Schwäche (CWE)
CWE-200
Plattform
npm
Paket
matrix-react-sdk
Veröffentlicht
15.10.2024
Aktualisiert
11.10.2026 10:22

Quellen und Lizenzen

OSV / GitHub Advisory Database - GHSA-qcvh-p9jq-wp8v - CC BY 4.0

Schwachstellenhistorie: matrix-react-sdk

Alle veröffentlichten Schwachstellen dieses Pakets (npm-Paket), neueste zuerst. Zeigt, ob es ein einmaliger Ausrutscher ist oder ein Paket, das man im Auge behalten muss.

Einträge insgesamt
8
Erste → letzte
03.2021 10.2024
Ohne Fix
0
In Angriffen ausgenutzt
0

Verteilung nach Schweregrad

  • Hoch 4
  • Mittel 3
  • Niedrig 1

Veröffentlichungen pro Jahr

  1. 2021: 2
  2. 2022: 0
  3. 2023: 4
  4. 2024: 2
  5. 2025: 0
  6. 2026: 0
  1. Malicious homeservers can steal message keys when the matrix-react-sdk user invites another user to a room dieser Eintrag
    Hoch · 0.0 CVE-2024-47824 >= 3.18.0, < 3.102.0 3.102.0
  2. Mittel · 6.1 CVE-2023-37259 >= 3.32.0, < 3.76.0 3.76.0
  3. Hoch · 8.2 CVE-2023-30609 < 3.71.0 3.71.0
  4. Hoch · 8.2 CVE-2023-28103 < 3.69.0 3.69.0
  5. Hoch · 7.2 CVE-2022-36060 < 3.53.0 3.53.0
  6. Mittel · 4.2 CVE-2021-32622 < 3.21.0 3.21.0
  7. Niedrig · 2.6 CVE-2021-21320 < 3.15.0 3.15.0

Erkennen Sie Schwachstellen in Ihrer Anwendung

Mit der DockRay-Integration und aktivierter Softwareinventarisierung prüft DockRay gemeldete Komponentenversionen auf bekannte Schwachstellen und benachrichtigt Sie über bestätigte Treffer. Die Abdeckung hängt von der unterstützten Technologie und den verfügbaren Meldungen ab.

Anwendung verbinden
DockRay Newsletter

Anwendungssicherheit in Ihrem Postfach

Wichtige Schwachstellen, konkrete Empfehlungen und praktische Tipps für Ihre Anwendungen. Wählen Sie Ihre Technologien und verfolgen Sie, was für Ihr Projekt relevant ist.

  • Eine tägliche Zusammenfassung neuer Schwachstellen, auch kritischer.
  • Benachrichtigungen über wichtige Updates.
  • Praktische Tipps zur Sicherheit und Überwachung von Anwendungen.

Leer lassen, um Meldungen zu allen Technologien zu erhalten.

Kostenlos anmelden. In jeder E-Mail mit einem Klick abmelden.