PT-2021-22961

CVE-2021-40824

·

Published

2021-09-13

·

Updated

2026-10-01

Description by

CVSS 3.1
5.9
Medium
MetricsAV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
Name of the Vulnerable Software and Affected Versions Element Android versions prior to 1.2.2 matrix-android-sdk2 (aka Matrix SDK for Android) versions prior to 1.2.2
Description A logic error in the room key sharing functionality allows a malicious Matrix homeserver present in an encrypted room to steal room encryption keys that were originally sent by affected Matrix clients participating in that room. This enables the attacker to decrypt end-to-end encrypted messages sent by affected clients. The issue leads to inadequate identity verification, allowing a key-requesting device to be impersonated.
Recommendations For Element Android versions prior to 1.2.2, update to version 1.2.2 or later to resolve the issue. For matrix-android-sdk2 (aka Matrix SDK for Android) versions prior to 1.2.2, update to version 1.2.2 or later to resolve the issue. As a temporary workaround, consider restricting access to the room key sharing functionality until a patch is available.
Exploitability
Fix
Impacts
Researchers
Vendors
Affected products
Related identifiers
GHSA-JJMC-4P83-PP26
ALT-PU-2021-2791
ALT-PU-2021-2792
ALT-PU-2021-2903
ALT-PU-2021-2904
ALT-PU-2021-2969
ALT-PU-2021-2970
CLEANSTART-2024-NV58280
Found an issue in the description? Have something to add? Feel free to write us 👾