CVE-2022-29166: Improper handling of multiline messages in matrix-appservice-irc

Published May 5, 2022
·
Updated

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.

Affected Software

1 affected component
matrix Matrix Irc Bridge Node.js<0.33.2

Event History

May 5, 2022
CVE Published
via MITRE·11:05 PM
Data Sourced
via MITRE·11:05 PM
DescriptionSeverityWeakness
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is CVE-2022-29166?

CVE-2022-29166 is a vulnerability in matrix-appservice-irc, a Node.js IRC bridge for Matrix, that allows an attacker to manipulate a Matrix user into executing IRC commands.

2

How does CVE-2022-29166 work?

CVE-2022-29166 works by having an attacker send a maliciously crafted message to a Matrix user, who then replies and unintentionally executes IRC commands.

3

What is the severity of CVE-2022-29166?

The severity of CVE-2022-29166 is high with a CVSS score of 8.8.

4

How can CVE-2022-29166 be fixed?

CVE-2022-29166 can be fixed by updating to version 0.33.2 or later of matrix-appservice-irc.

5

Where can I find more information about CVE-2022-29166?

More information about CVE-2022-29166 can be found in the security advisories on GitHub and the blog post on the Matrix website.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203