CVE-2023-38690

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

Published Aug 4, 2023 CVSS 3.1 · 5.8 Medium EPSS < 1% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2023-2196 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.
Github GHSA Github GHSA GHSA-3pmj-jqqp-2mj3 matrix-appservice-irc IRC command injection via admin commands containing newlines
History
Type Values Removed Values Added
First Time appeared Matrix-org
Matrix-org matrix-appservice-irc
CPEs cpe:2.3:a:matrix-org:matrix-appservice-irc:*:*:*:*:*:*:*:*
Vendors & Products Matrix-org
Matrix-org matrix-appservice-irc
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Oct 8, 2024, 5:47 PM
Reserved
Jul 24, 2023, 4:19 PM
Status
Modified
Published
Aug 4, 2023, 5:15 PM
Modified
Jun 17, 2026, 6:10 AM