{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2022-29166","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 work","descriptionLong":"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.","published":"2022-05-05T23:05:14.000Z","updated":"2026-10-28T02:30:53.024341646Z","reserved":"2022-04-13T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"GitHub_M","metric":{"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","rating":"high","source":"GitHub_M"},"metrics":[{"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","rating":"high","source":"GitHub_M"},{"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","rating":"high","source":"github.com"},{"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","rating":"high","source":"NVD"},{"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","rating":"high","source":"OSV"},{"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","rating":"high","source":"GitHub"},{"version":"2.0","score":6.8,"vector":"AV:N/AC:M/Au:N/C:P/I:P/A:P","rating":"medium","source":"NVD"}],"rating":"high","products":["matrix-org matrix-appservice-irc"],"affectedProducts":[{"vendor":"matrix-org","product":"matrix-appservice-irc","defaultStatus":null,"versions":[{"status":"affected","version":"< 0.34.0"}],"platforms":[]}],"packages":[{"ecosystem":"npm","name":"matrix-appservice-irc","purl":"pkg:npm/matrix-appservice-irc","ranges":["<0.33.2"],"fixed":["0.33.2"],"advisory":"GHSA-37hr-348p-rmf4"}],"cwes":["CWE-74"],"aliases":["GHSA-37hr-348p-rmf4"],"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/CVEProject/cvelistV5/tree/main/cves/2022/29xxx/CVE-2022-29166.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-29166","tags":["advisory"]},{"url":"https://github.com/matrix-org/node-irc/security/advisories/GHSA-52rh-5rpj-c3w6","tags":["web"]},{"url":"https://github.com/matrix-org/matrix-appservice-irc","tags":["package"]}],"patchReferenced":false,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total"},"epss":0.01005,"epssPercentile":0.63634,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2022-29166","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-29166","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2022-29166","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-37hr-348p-rmf4","ok":true,"note":"GHSA-37hr-348p-rmf4"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2022-29166","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}