CVE-2021-40824

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

Configuration 1 (hide)

OR cpe:2.3:a:matrix:element:*:*:*:*:*:android:*:*
cpe:2.3:a:matrix:matrix-android-sdk2:*:*:*:*:*:android:*:*

History

08 Aug 2023, 14:22

Type Values Removed Values Added
CWE CWE-327 CWE-290

24 Sep 2021, 17:40

Type Values Removed Values Added
References (MISC) https://github.com/matrix-org/matrix-android-sdk2/releases/tag/v1.2.2 - (MISC) https://github.com/matrix-org/matrix-android-sdk2/releases/tag/v1.2.2 - Patch, Third Party Advisory
References (MISC) https://matrix.org/blog/2021/09/13/vulnerability-disclosure-key-sharing - (MISC) https://matrix.org/blog/2021/09/13/vulnerability-disclosure-key-sharing - Vendor Advisory
CWE CWE-327
CVSS v2 : unknown
v3 : unknown
v2 : 4.3
v3 : 5.9
CPE cpe:2.3:a:matrix:matrix-android-sdk2:*:*:*:*:*:android:*:*
cpe:2.3:a:matrix:element:*:*:*:*:*:android:*:*

14 Sep 2021, 12:15

Type Values Removed Values Added
Summary 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 leads to a situation where identity verification is inadequate and thus a key-requesting device can be impersonated. 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.

13 Sep 2021, 19:15

Type Values Removed Values Added
New CVE

Information

Published : 2021-09-13 19:15

Updated : 2024-02-04 22:08


NVD link : CVE-2021-40824

Mitre link : CVE-2021-40824

CVE.ORG link : CVE-2021-40824


JSON object : View

Products Affected

matrix

  • matrix-android-sdk2
  • element
CWE
CWE-290

Authentication Bypass by Spoofing