SCA: security update for matrix-appservice-bridge (GHSA-vc7j-h8xg-fv5x)

medium Tenable Self-Hosted Container Security Plugin ID 419260

Description

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

- matrix-appservice-bridge provides an API for setting up bridges. Starting in version 4.0.0 and prior to
versions 8.1.2 and 9.0.1, a malicious Matrix server can use a foreign user's MXID in an OpenID exchange,
allowing a bad actor to impersonate users when using the provisioning API. The library does not check that
the servername part of the `sub` parameter (containing the user's *claimed* MXID) is the the same as the
servername we are talking to. A malicious actor could spin up a server on any given domain, respond with a
`sub` parameter according to the user they want to act as and use the resulting token to perform
provisioning requests. Versions 8.1.2 and 9.0.1 contain a patch. As a workaround, disable the provisioning
API. (CVE-2023-38691)

See Also

https://github.com/advisories/GHSA-vc7j-h8xg-fv5x

Plugin Details

Severity: Medium

ID: 419260

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.51

Vendor

Vendor Severity: Medium

CVSS v2

Risk Factor: Medium

Base Score: 6.8

Temporal Score: 5

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

CVSS Score Source: CVE-2023-38691

CVSS v3

Risk Factor: Medium

Base Score: 6.5

Temporal Score: 5.7

Vector: CVSS:3.0/AV:N/AC:L/PR:L/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: 8/4/2023

Vulnerability Publication Date: 8/4/2023

Reference Information

CVE: CVE-2023-38691

cwe: CWE-287