UBUNTU-CVE-2021-40823

    Dashboard / Vulnerabilities / UBUNTU-CVE-2021-40823

    UBUNTU-CVE-2021-40823

    Published: 13 Sept 2021Last Modified: 24 Oct 2025
    Upstream:

    Summary:

    Details: 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.

    Affected packages

    Package

    Name: node-matrix-js-sdk

    Purl: pkg:deb/ubuntu/[email protected]?arch=source&distro=focal

    Affected ranges

    Type: ECOSYSTEM

    Events:

    Introduced- 0
    Fixed -None

    Affected versions

    0.9.2-1

    Common Vulnerability Scoring System

    Attack Vector
    Network
    Adjacent
    Local
    Physical
    Privileges Required
    None
    Low
    High
    User Interaction
    None
    Required
    Scope
    Unchanged
    Changed
    Confidentiality
    None
    Low
    High
    Integrity
    None
    Low
    High
    Availability
    None
    Low
    High
    UBUNTU-CVE-2021-40823 | CVE-DB