Loading HuntDB...

GHSA-3pmj-jqqp-2mj3

GitHub Security Advisory

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

✓ GitHub Reviewed MODERATE Has CVE

Advisory Details

### Impact

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.

### Patches

Versions 1.0.1 and above are patched.

### Workarounds

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.

### Credits

Discovered and reported by [Val Lorentz](https://valentin-lorentz.fr/).

### For more information

If you have any questions or comments about this advisory email us at [[email protected]](mailto:[email protected]).

Affected Packages

npm matrix-appservice-irc
Affected versions: 0 (fixed in 1.0.1)

Related CVEs

Key Information

GHSA ID
GHSA-3pmj-jqqp-2mj3
Published
August 4, 2023 5:26 PM
Last Modified
June 20, 2024 2:53 PM
CVSS Score
5.0 /10
Primary Ecosystem
npm
Primary Package
matrix-appservice-irc
GitHub Reviewed
✓ Yes

Dataset

Last updated: July 30, 2025 6:36 AM

Data from GitHub Advisory Database. This information is provided for research and educational purposes.