CVE-2021-40824 Details
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.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
No SSVC data is available for this CVE.
References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/matrix-org/matrix-android-sdk2/releases/tag/v1.2.2 | CVE | PatchThird Party Advisory |
| https://matrix.org/blog/2021/09/13/vulnerability-disclosure-key-sharing | CVE | Vendor Advisory |
| https://github.com/matrix-org/matrix-android-sdk2/releases/tag/v1.2.2 | [email protected] | PatchThird Party Advisory |
| https://matrix.org/blog/2021/09/13/vulnerability-disclosure-key-sharing | [email protected] | Vendor Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-290 | Authentication Bypass by Spoofing | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| matrix element | < 1.2.2 |
CPE
Remediation
| |
| matrix matrix-android-sdk2 | < 1.2.2 |
CPE
Remediation
| |
Change History
6 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Nov 21, 2024 | CVE Modified | CVE |
| May 14, 2024 | CVE Modified | [email protected] |
| Aug 8, 2023 | CWE Remap | [email protected] |
| Sep 24, 2021 | Initial Analysis | [email protected] |
| Sep 14, 2021 | CVE Modified | [email protected] |