SCA: security update for matrix-js-sdk (GHSA-23cm-x6j7-6hq3)

medium Tenable Self-Hosted Container Security Plugin ID 408627

Description

There are packages installed that are affected by a vulnerability referenced in the following CVE:

- 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. (CVE-2021-40823)

See Also

https://github.com/advisories/GHSA-23cm-x6j7-6hq3

Plugin Details

Severity: Medium

ID: 408627

Version: Revision 1.6

Type: Local

Family: SCA Checks

Published: 1/23/2025

Updated: 7/2/2026

Supported Sensors: Tenable Cloud Security, Tenable Self-Hosted Container Security

Risk Information

VPR

Risk Factor: Low

Score: 3

Percentile: 23.18

Vendor

Vendor Severity: Medium

CVSS v2

Risk Factor: Medium

Base Score: 4.3

Temporal Score: 3.2

Vector: CVSS2#AV:N/AC:M/Au:N/C:P/I:N/A:N

CVSS Score Source: CVE-2021-40823

CVSS v3

Risk Factor: Medium

Base Score: 5.9

Temporal Score: 5.2

Vector: CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

Vulnerability Information

Exploit Ease: No known exploits are available

Patch Publication Date: 9/14/2021

Vulnerability Publication Date: 9/13/2021

Reference Information

CVE: CVE-2021-40823