SCA: security update for matrix-js-sdk (GHSA-6263-x97c-c4gg)

high Tenable Self-Hosted Container Security Plugin ID 411104

Description

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

- Matrix Javascript SDK is the Matrix Client-Server SDK for JavaScript. Prior to version 19.7.0, an attacker
cooperating with a malicious homeserver can construct messages appearing to have come from another person.
Such messages will be marked with a grey shield on some platforms, but this may be missing in others. This
attack is possible due to the matrix-js-sdk implementing a too permissive key forwarding strategy on the
receiving end. Starting with version 19.7.0, the default policy for accepting key forwards has been made
more strict in the matrix-js-sdk. matrix-js-sdk will now only accept forwarded keys in response to
previously issued requests and only from own, verified devices. The SDK now sets a `trusted` flag on the
decrypted message upon decryption, based on whether the key used to decrypt the message was received from
a trusted source. Clients need to ensure that messages decrypted with a key with `trusted = false` are
decorated appropriately, for example, by showing a warning for such messages. This attack requires
coordination between a malicious homeserver and an attacker, and those who trust your homeservers do not
need a workaround. (CVE-2022-39249)

See Also

https://github.com/advisories/GHSA-6263-x97c-c4gg

Plugin Details

Severity: High

ID: 411104

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: Medium

Score: 5

Percentile: 94.39

Vendor

Vendor Severity: High

CVSS v2

Risk Factor: High

Base Score: 7.8

Temporal Score: 5.8

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

CVSS Score Source: CVE-2022-39249

CVSS v3

Risk Factor: High

Base Score: 7.5

Temporal Score: 6.5

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/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/30/2022

Vulnerability Publication Date: 9/28/2022

Reference Information

CVE: CVE-2022-39249

cwe: CWE-287