CVE-2022-29166
HIGH 8.8CVSS 3.1Improper handling of multiline messages in node-irc affects matrix-appservice-irc
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
- 5 May 2022
- Last modified
- 17 Jun 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Modified
- Weakness
- CWE-74
- Also known as
- GHSA-37hr-348p-rmf4
- Sources
- NVDJSONOSV GHSA-37hr-348p-rmf4JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 8.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | HIGH 8.0 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 8.0 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 6.8 | AV:N/AC:M/Au:N/C:P/I:P/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | matrix | matrix_irc_bridgecpe:2.3:a:matrix:matrix_irc_bridge:*:*:*:*:*:node.js:*:* |
< 0.33.2 | 0.33.2 |
| OSV | npm | matrix-appservice-irc | < 0.33.2 | 0.33.2 |
References
- https://github.com/matrix-org/matrix-appservice-irc/security/advisories/GHSA-37hr-348p-rmf4 · Third Party Advisory, WEB
- https://matrix.org/blog/2022/05/04/0-34-0-security-release-for-matrix-appservice-irc-high-severity · Release Notes, Vendor Advisory, WEB
- https://github.com/matrix-org/node-irc/security/advisories/GHSA-52rh-5rpj-c3w6 · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2022-29166 · ADVISORY
- https://github.com/matrix-org/matrix-appservice-irc · PACKAGE
History
- 25 Nov 2026 20:34 UTC · NVD: first stored (published 5 May 2022)
- 25 Nov 2026 20:10 UTC · OSV: first stored (published 23 May 2022)