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.
Remediation
References
https://github.com/matrix-org/matrix-js-sdk/releases/tag/v12.4.1
https://matrix.org/blog/2021/09/13/vulnerability-disclosure-key-sharing
Related Vulnerabilities
CVE-2021-39233 Vulnerability in maven package org.apache.ozone:ozone-main
CVE-2013-1965 Vulnerability in maven package org.apache.struts:struts2-core
CVE-2018-1294 Vulnerability in maven package org.apache.commons:commons-email
CVE-2022-28355 Vulnerability in maven package org.scala-js:scalajs-library_2.13
CVE-2023-40037 Vulnerability in maven package org.apache.nifi:nifi-dbcp-service-api