CVE-2021-40823

Name
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.
NVD Severity
medium
Other trackers
Mailing lists
Exploits
Forges
GitHub (code, issues), Aports (code, issues)

References

Type URI
MISC https://github.com/matrix-org/matrix-js-sdk/releases/tag/v12.4.1
MISC https://matrix.org/blog/2021/09/13/vulnerability-disclosure-key-sharing

Match rules

CPE URI Source package Min version Max version
cpe:2.3:a:matrix:javascript_sdk:*:*:*:*:*:*:*:* javascript_sdk >= None < 12.4.1

Vulnerable and fixed packages

Source package Branch Version Maintainer Status
riot-web edge-community 1.8.4-r0 Galen Abell <galen@galenabell.com> fixed
riot-web 3.17-community 1.8.4-r0 None fixed
element-web edge-community 1.8.4-r0 None fixed
element-web 3.22-community 1.8.4-r0 None fixed
element-web 3.21-community 1.8.4-r0 None fixed
element-web 3.20-community 1.8.4-r0 None fixed
element-web 3.19-community 1.8.4-r0 None fixed
element-web 3.18-community 1.8.4-r0 None fixed