CVE-2021-40824

Medium

Description

A logic error in the room key sharing functionality of Element Android before 1.2.2 and matrix-android-sdk2 (aka Matrix SDK for Android) before 1.2.2 allows a malicious Matrix homeserver present in an encrypted room to steal room encryption keys (via crafted Matrix protocol messages) that were originally sent by affected Matrix clients participating in that room. This allows the attacker to decrypt end-to-end encrypted messages sent by affected clients.

SeverityMedium
CVSS5.9
Exploit probability—
ProductMatrix Element
PublishedSep 13, 2021
First seenSep 13, 2021

How to fix

Update
  • matrix element1.2.2 or later
  • matrix matrix-android-sdk21.2.2 or later
  • org.matrix.android:matrix-android-sdk21.2.2 or later

Affected products

ProductAffected versionsFixed in
matrix elementv < 1.2.21.2.2
matrix matrix-android-sdk2v < 1.2.21.2.2
org.matrix.android:matrix-android-sdk2Mavenv < 1.2.21.2.2

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.