CVE catalog

CVE-2021-40823

UBUNTU-CVE-2021-40823

[CVE catalog]

Severity
Unknown
Published
Updated
Source
[NVD] · [CVE record]
EPSS
0.66% · Oct 25, 2026

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.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debiannode-matrix-js-sdk119.11.0+~cs9.9.16-1vulnerable
Debiannode-matrix-js-sdk119.11.0+~cs9.9.16-2vulnerable
Debiannode-matrix-js-sdk119.3.0+~cs9.9.16-2vulnerable
Debiannode-matrix-js-sdk119.7.0~~rc1+~cs9.9.16-1vulnerable
Debiannode-matrix-js-sdk119.7.0~~rc1+~cs9.9.16-2vulnerable
Ubuntunode-matrix-js-sdk20.040.9.2-1vulnerable
Ubuntunode-matrix-js-sdk22.049.3.0+~cs9.9.16-2vulnerable
Ubuntunode-matrix-js-sdk22.049.11.0+~cs9.9.16-1vulnerable
Ubuntunode-matrix-js-sdk24.049.11.0+~cs9.9.16-2vulnerable

Fixed-version evidence

OpenFactory catalog packages

No matching packages in this catalog.

Observed:

References