CVE-2021-40823

A logic error in the room key sharing functionality of matrix-js-sdk (aka Matrix Javascript SDK) before 12.4.1 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 homeserver to decrypt end-to-end encrypted messages sent by affected clients.
Configurations

Configuration 1 (hide)

cpe:2.3:a:matrix:javascript_sdk:*:*:*:*:*:*:*:*

History

08 Aug 2023, 14:22

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

24 Sep 2021, 17:27

Type Values Removed Values Added
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
References (MISC) https://github.com/matrix-org/matrix-js-sdk/releases/tag/v12.4.1 - (MISC) https://github.com/matrix-org/matrix-js-sdk/releases/tag/v12.4.1 - Third Party Advisory
CWE CWE-327
CVSS v2 : unknown
v3 : unknown
v2 : 4.3
v3 : 5.9
CPE cpe:2.3:a:matrix:javascript_sdk:*:*:*:*:*:*:*:*

14 Sep 2021, 12:15

Type Values Removed Values Added
Summary A logic error in the room key sharing functionality of matrix-js-sdk (aka Matrix Javascript SDK) before 12.4.1 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 matrix-js-sdk (aka Matrix Javascript SDK) before 12.4.1 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 homeserver 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 : 2023-12-10 14:09


NVD link : CVE-2021-40823

Mitre link : CVE-2021-40823

CVE.ORG link : CVE-2021-40823


JSON object : View

Products Affected

matrix

  • javascript_sdk
CWE
CWE-290

Authentication Bypass by Spoofing