SCA: security update for matrix-appservice-bridge (GHSA-35g4-qx3c-vjhx)

medium Tenable Cloud Security Plugin ID 409300

Description

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

- Matrix-appservice-bridge is the bridging service for the Matrix communication program's application
services. In versions 2.6.0 and earlier, if a bridge has room upgrade handling turned on in the
configuration (the `roomUpgradeOpts` key when instantiating a new `Bridge` instance.), any
`m.room.tombstone` event it encounters will be used to unbridge the current room and bridge into the
target room. However, the target room `m.room.create` event is not checked to verify if the `predecessor`
field contains the previous room. This means that any malicious admin of a bridged room can repoint the
traffic to a different room without the new room being aware. Versions 2.6.1 and greater are patched. As a
workaround, disabling the automatic room upgrade handling can be done by removing the `roomUpgradeOpts`
key from the `Bridge` class options. (CVE-2021-32659)

See Also

https://github.com/advisories/GHSA-35g4-qx3c-vjhx

Plugin Details

Severity: Medium

ID: 409300

Version: Revision 1.3

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

CVSS v2

Risk Factor: Low

Base Score: 3.5

Temporal Score: 2.6

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

CVSS Score Source: CVE-2021-32659

CVSS v3

Risk Factor: Medium

Base Score: 4.9

Temporal Score: 4.3

Vector: CVSS:3.0/AV:N/AC:L/PR:H/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: 6/16/2021

Vulnerability Publication Date: 6/16/2021

Reference Information

CVE: CVE-2021-32659

cwe: CWE-306