Vulnerabilities · 2023 · Matrix
CVE-2023-38690
Matrix Irc Bridge vulnerability
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
Matrix Irc Bridge. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Matrix Irc Bridge runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/matrix-org/matrix-appservice-irc/commit/0afb064635d37e039067b5b3d6423448b93026d · Patch
- github.com/matrix-org/matrix-appservice-irc/security/advisories/GHSA-3pmj-jqqp-2mj3 · Third Party Advisory
- github.com/matrix-org/matrix-appservice-irc/releases/tag/1.0.1
- nvd.nist.gov/vuln/detail/CVE-2023-38690
- github.com/advisories/GHSA-3pmj-jqqp-2mj3
- nvd.nist.gov/vuln/detail/CVE-2023-38690
- cve.org/CVERecord?id=CVE-2023-38690
More vulnerabilities in Matrix products
CVE-2025-30355CVE-2025-27146CVE-2024-53863CVE-2024-52815CVE-2024-52805CVE-2024-45193CVE-2024-45192CVE-2024-45191All 80
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.