High severityNVD Advisory· Published May 5, 2022· Updated Apr 23, 2025
Improper handling of multiline messages in matrix-appservice-irc
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
matrix-appservice-ircnpm | < 0.33.2 | 0.33.2 |
Affected products
2- Range: < 0.34.0
Patches
Vulnerability mechanics
References
5- github.com/advisories/GHSA-37hr-348p-rmf4ghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2022-29166ghsaADVISORY
- github.com/matrix-org/matrix-appservice-irc/security/advisories/GHSA-37hr-348p-rmf4ghsax_refsource_CONFIRMWEB
- github.com/matrix-org/node-irc/security/advisories/GHSA-52rh-5rpj-c3w6ghsaWEB
- matrix.org/blog/2022/05/04/0-34-0-security-release-for-matrix-appservice-irc-high-severityghsax_refsource_MISCWEB
News mentions
0No linked articles in our index yet.