CVE-2023-38690CWE-20CWE-77

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

Medium · published August 4, 2023

CVSS v3.1
5.8
EPSS
1%
Percentile
58.2
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
5.8 · MEDIUM
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:L/A:N
CVSS v4.0
Not supplied
EPSS
0.00863 · 58.2th percentile
Weaknesses
CWE-20 · Improper Input Validation; CWE-77 · Improper Neutralization of Special Elements used in a Command ('Command Injection')
Published
2023-08-04T16:31Z
EPSS history
Timeline
  • 04 AUG 16:31Z
    matrix-appservice-irc IRC command injection via admin commands containing newlines
    cvelistv5