{"id":"CVE-2022-29166","aliases":["EUVD-2022-2126","GHSA-37hr-348p-rmf4"],"status":"published","title":"Improper handling of multiline messages in matrix-appservice-irc","description":"matrix-appservice-irc is a Node.js IRC bridge for Matrix. The vulnerability in node-irc allows an attacker to manipulate a Matrix user into executing IRC commands by having them reply to a maliciously crafted message. The vulnerability has been patched in matrix-appservice-irc 0.33.2. Refrain from replying to messages from untrusted participants in IRC-bridged Matrix rooms. There are no known workarounds for this issue.","severity":{"version":"3.1","score":8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H","level":"high","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-09","score":0.01005,"percentile":0.63219,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-74"],"published":"2022-05-05T23:05:14Z","modified":"2026-10-28T02:30:53Z","fixes":[{"ecosystem":"npm","package":"matrix-appservice-irc","fixed_in":["0.33.2"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"npm","package":"matrix-appservice-irc","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"0.33.1"},{"fixed":"0.33.2"}]}]},{"source":"osv","ecosystem":"npm","package":"matrix-appservice-irc","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.33.2"}]}]}],"products":[{"vendor":"matrix","product":"matrix_irc_bridge"},{"vendor":"matrix-org","product":"matrix-appservice-irc"}],"references":[{"url":"https://github.com/matrix-org/matrix-appservice-irc/security/advisories/GHSA-37hr-348p-rmf4","tags":["x_refsource_CONFIRM","x_transferred","Third Party Advisory","advisory","web"]},{"url":"https://matrix.org/blog/2022/05/04/0-34-0-security-release-for-matrix-appservice-irc-high-severity","tags":["x_refsource_MISC","x_transferred","Release Notes","Vendor Advisory","article","web"]},{"url":"https://github.com/matrix-org/node-irc/security/advisories/GHSA-52rh-5rpj-c3w6","tags":["web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-29166","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-37hr-348p-rmf4"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/29xxx/CVE-2022-29166.json","tags":["advisory"]},{"url":"https://github.com/matrix-org/matrix-appservice-irc","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2022-29166","title":"Improper handling of multiline messages in matrix-appservice-irc","description":"matrix-appservice-irc is a Node.js IRC bridge for Matrix. The vulnerability in node-irc allows an attacker to manipulate a Matrix user into executing IRC commands by having them reply to a maliciously crafted message. The vulnerability has been patched in matrix-appservice-irc 0.33.2. Refrain from replying to messages from untrusted participants in IRC-bridged Matrix rooms. There are no known workarounds for this issue.","status":"published","published":"2022-05-05T23:05:14Z","modified":"2025-04-23T18:30:37.402Z","cvss":[{"version":"3.1","score":8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H","level":"high","assessor":"cna"}],"cwes":["CWE-74"],"updated_at":"2026-11-02T14:34:35.945659Z"}],"euvd":[{"id":"EUVD-2022-2126","description":"matrix-appservice-irc is a Node.js IRC bridge for Matrix. The vulnerability in node-irc allows an attacker to manipulate a Matrix user into executing IRC commands by having them reply to a maliciously crafted message. The vulnerability has been patched in matrix-appservice-irc 0.33.2. Refrain from replying to messages from untrusted participants in IRC-bridged Matrix rooms. There are no known workarounds for this issue.","status":"published","published":"2022-05-05T23:05:14Z","modified":"2025-04-23T18:30:37Z","cvss":[{"version":"3.1","score":8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T20:52:08.401317Z"}],"ghsa":[{"id":"GHSA-37hr-348p-rmf4","title":"Improper handling of multiline messages in node-irc affects matrix-appservice-irc","description":"matrix-appservice-irc provides an IRC bridge for Matrix. The vulnerability in node-irc allows an attacker to manipulate a Matrix user into executing IRC commands by having them reply to a maliciously crafted message. The vulnerability has been patched in matrix-appservice-irc 0.33.2. In terms of a workaround, users should refrain from replying to messages from untrusted participants in IRC-bridged Matrix rooms. ","status":"published","published":"2022-05-23T20:17:07Z","modified":"2023-01-27T05:01:45Z","cvss":[{"version":"3.1","score":8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H","level":"high"}],"cwes":["CWE-74"],"updated_at":"2026-11-02T14:36:16.28305Z"}],"nvd":[{"id":"CVE-2022-29166","description":"matrix-appservice-irc is a Node.js IRC bridge for Matrix. The vulnerability in node-irc allows an attacker to manipulate a Matrix user into executing IRC commands by having them reply to a maliciously crafted message. The vulnerability has been patched in matrix-appservice-irc 0.33.2. Refrain from replying to messages from untrusted participants in IRC-bridged Matrix rooms. There are no known workarounds for this issue.","status":"published","published":"2022-05-05T23:15:09.023Z","modified":"2026-06-17T04:39:43.597Z","cvss":[{"version":"3.1","score":8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H","level":"high","assessor":"secondary"},{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high","assessor":"primary"},{"version":"2.0","score":6.8,"vector":"AV:N/AC:M/Au:N/C:P/I:P/A:P","level":"medium","assessor":"primary"}],"cwes":["CWE-74"],"updated_at":"2026-11-02T14:07:19.51203Z"}],"osv":[{"id":"CVE-2022-29166","title":"Improper handling of multiline messages in matrix-appservice-irc","description":"matrix-appservice-irc is a Node.js IRC bridge for Matrix. The vulnerability in node-irc allows an attacker to manipulate a Matrix user into executing IRC commands by having them reply to a maliciously crafted message. The vulnerability has been patched in matrix-appservice-irc 0.33.2. Refrain from replying to messages from untrusted participants in IRC-bridged Matrix rooms. There are no known workarounds for this issue.","status":"published","published":"2022-05-05T23:05:14Z","modified":"2026-10-28T02:30:53.024341646Z","cvss":[{"version":"3.1","score":8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H","level":"high"}],"cwes":["CWE-74"],"updated_at":"2026-11-02T15:44:25.164673Z"},{"id":"GHSA-37hr-348p-rmf4","title":"Improper handling of multiline messages in node-irc affects matrix-appservice-irc","description":"matrix-appservice-irc provides an IRC bridge for Matrix. The vulnerability in node-irc allows an attacker to manipulate a Matrix user into executing IRC commands by having them reply to a maliciously crafted message. The vulnerability has been patched in matrix-appservice-irc 0.33.2. In terms of a workaround, users should refrain from replying to messages from untrusted participants in IRC-bridged Matrix rooms. ","status":"published","published":"2022-05-23T20:17:07Z","modified":"2023-11-08T04:09:08.560149Z","cvss":[{"version":"3.1","score":8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H","level":"high"}],"cwes":["CWE-74"],"updated_at":"2026-11-02T15:46:35.406455Z"}]}}
