{"id":"GHSA-37hr-348p-rmf4","summary":"Improper handling of multiline messages in node-irc affects matrix-appservice-irc","details":"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. ","aliases":["CVE-2022-29166"],"modified":"2023-11-08T04:09:08.560149Z","published":"2022-05-23T20:17:07Z","database_specific":{"severity":"HIGH","github_reviewed":true,"github_reviewed_at":"2022-05-23T20:17:07Z","nvd_published_at":"2022-05-05T23:15:00Z","cwe_ids":["CWE-74"]},"references":[{"type":"WEB","url":"https://github.com/matrix-org/matrix-appservice-irc/security/advisories/GHSA-37hr-348p-rmf4"},{"type":"WEB","url":"https://github.com/matrix-org/node-irc/security/advisories/GHSA-52rh-5rpj-c3w6"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-29166"},{"type":"PACKAGE","url":"https://github.com/matrix-org/matrix-appservice-irc"},{"type":"WEB","url":"https://matrix.org/blog/2022/05/04/0-34-0-security-release-for-matrix-appservice-irc-high-severity"}],"affected":[{"package":{"name":"matrix-appservice-irc","ecosystem":"npm","purl":"pkg:npm/matrix-appservice-irc"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.33.2"}]}],"database_specific":{"last_known_affected_version_range":"\u003c= 0.33.1","source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-37hr-348p-rmf4/GHSA-37hr-348p-rmf4.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H"}]}