{"id":"CVE-2023-38690","published":"2023-08-04T16:31:41Z","modified":"2024-10-08T17:47:24Z","title":"matrix-appservice-irc IRC command injection via admin commands containing newlines","vendor":"matrix-org","product":"matrix-appservice-irc","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.8,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:L/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00863,"percentile":0.59479,"provenance":"source"},"cwes":[{"id":"CWE-20","name":"Improper Input Validation"},{"id":"CWE-77","name":"Improper Neutralization of Special Elements used in a Command"}],"references":[{"url":"https://github.com/matrix-org/matrix-appservice-irc/security/advisories/GHSA-3pmj-jqqp-2mj3","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/matrix-org/matrix-appservice-irc/commit/0afb064635d37e039067b5b3d6423448b93026d3","tags":["x_refsource_MISC"]},{"url":"https://github.com/matrix-org/matrix-appservice-irc/releases/tag/1.0.1","tags":["x_refsource_MISC"]}],"priority":{"score":16.0,"factors":[{"name":"EPSS percentile","points":11.9},{"name":"CVSS severity","points":4.06}]},"vendorSlug":"matrix-org","affectedVersions":[{"vendor":"matrix-org","product":"matrix-appservice-irc","versions":["< 1.0.1"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2024-10-08T17:45:09.541752Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"matrix-appservice-irc","vulnerableRanges":["<1.0.1"],"patched":["1.0.1"],"from":["GHSA-3pmj-jqqp-2mj3"],"provenance":"source"}],"summary":{"text":"matrix-appservice-irc, the Node.js IRC bridge for Matrix, fails to properly parse commands containing newlines in admin commands, allowing a crafted string passed as a channel name to be executed as IRC bot commands. An unauthenticated remote attacker with network access can trigger this without user interaction, and the only known mitigation, disabling dynamic channels in the config, blocks the most common execution path but may not stop all of them.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:28:37Z"},"euvd":{"id":"EUVD-2023-2196","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-matrix-org-matrix-appservice-irc-cve-2023-38690","children":[{"from":"CVE-2023-38690","to":"CVE-2025-27146","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["src/irc/BridgedClient.ts"],"commits":["https://github.com/matrix-org/matrix-appservice-irc/commit/0afb064635d37e039067b5b3d6423448b93026d3","https://github.com/matrix-org/matrix-appservice-irc/commit/74f02c8e11f16ed1b355700092c1aa9c036a11bd"],"basis":"shared function","functions":["BridgedClient"]}]}]}}