DescriptionA 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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, bugtraq, EDB, Metasploit, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, Mageia, GitHub code/issues, web search, more)
NVD severitymedium
Debian Bugs866502, 994213

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
node-matrix-js-sdk (PTS)buster0.9.2-1vulnerable
bookworm, sid9.11.0+~cs9.9.16-1vulnerable

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs


[bullseye] - node-matrix-js-sdk <no-dsa> (Minor issue) (v12.4.1)

Search for package or bug name: Reporting problems