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. You can disable dynamic channels in the config to disable the most common execution method but others may exist. It is highly recommended to upgrade the bridge.
Discovered and reported by Val Lorentz.
If you have any questions or comments about this advisory email us at security@matrix.org.
{ "nvd_published_at": "2023-08-04T17:15:10Z", "cwe_ids": [ "CWE-20" ], "severity": "MODERATE", "github_reviewed": true, "github_reviewed_at": "2023-08-04T17:26:45Z" }