CVE-2021-40823
Description
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.
How to fix
- matrix javascript_sdk12.4.1 or later
- matrix-js-sdk12.4.1 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| matrix javascript_sdk | v < 12.4.1 | 12.4.1 |
| matrix-js-sdknpm | v < 12.4.1 | 12.4.1 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.