Skip to content
OpenAdvisories
Medium · 5.8 CVE-2023-38690 EUVD-2023-2196GHSA-3pmj-jqqp-2mj3

matrix-appservice-irc IRC command injection via admin commands containing newlines

Published Aug 4, 2023 · Updated Oct 8, 2024 · Assigned by GitHub_M

Description

matrix-appservice-irc is a Node.js IRC bridge for Matrix. Prior to version 1.0.1, it is possible to craft a command with newlines which would not be properly parsed. This would mean you could pass a string of commands as a channel name, which would then be run by the IRC bridge bot. Versions 1.0.1 and above are patched. There are no robust workarounds to the bug. One may disable dynamic channels in the config to disable the most common execution method but others may exist.

Affected products

VendorProductAffectedFixed
matrix-org matrix-appservice-irc < 1.0.1 —

Affected packages

EcosystemPackageAffectedFixedRecord
npm matrix-appservice-irc < 1.0.1 1.0.1 GHSA-3pmj-jqqp-2mj3

References