SCA: security update for matrix-appservice-irc (GHSA-w9mh-5x8j-9754)

medium Tenable Self-Hosted Container Security Plugin ID 419844

Description

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

- matrix-appservice-irc is a Node.js IRC bridge for the Matrix messaging protocol. The fix for GHSA-
wm4w-7h2q-3pf7 / CVE-2024-32000 included in matrix-appservice-irc 2.0.0 relied on the Matrix homeserver-
provided timestamp to determine whether a user has access to the event they're replying to when
determining whether or not to include a truncated version of the original event in the IRC message. Since
this value is controlled by external entities, a malicious Matrix homeserver joined to a room in which a
matrix-appservice-irc bridge instance (before version 2.0.1) is present can fabricate the timestamp with
the intent of tricking the bridge into leaking room messages the homeserver should not have access to.
matrix-appservice-irc 2.0.1 drops the reliance on `origin_server_ts` when determining whether or not an
event should be visible to a user, instead tracking the event timestamps internally. As a workaround, it's
possible to limit the amount of information leaked by setting a reply template that doesn't contain the
original message. (CVE-2024-39691)

See Also

https://github.com/advisories/GHSA-w9mh-5x8j-9754

Plugin Details

Severity: Medium

ID: 419844

Version: Revision 1.7

Type: Local

Family: SCA Checks

Published: 1/23/2025

Updated: 6/29/2026

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

Risk Information

VPR

Risk Factor: Low

Score: 1.2

Percentile: 0.01

Vendor

Vendor Severity: Medium

CVSS v2

Risk Factor: Medium

Base Score: 4

Temporal Score: 3

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

CVSS Score Source: CVE-2024-39691

CVSS v3

Risk Factor: Medium

Base Score: 4.3

Temporal Score: 3.8

Vector: CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:L/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: 7/5/2024

Vulnerability Publication Date: 7/5/2024

Reference Information

CVE: CVE-2024-39691