CVE-2021-40823

Published Sep 13, 2021 CVSS 3.1 · 5.9 Medium EPSS < 1% KEV · Not listed
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

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2021-1944 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.
Github GHSA Github GHSA GHSA-23cm-x6j7-6hq3 matrix-js-sdk can be tricked into disclosing E2EE room keys to a participating homeserver
History

No history.

Weaknesses

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
Aug 4, 2024, 2:51 AM
Reserved
Sep 9, 2021, 12:00 AM
Status
Modified
Published
Sep 13, 2021, 7:15 PM
Modified
Jun 17, 2026, 4:07 AM