Advisory

GHSA-37hr-348p-rmf4

Also known as: CVE-2022-29166

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.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2022-05-23 20:17 UTC
Modified
2023-11-08 04:09 UTC

Affected packages and fixes

matrix-appservice-irc

npm · All systems

Affected

  • introduced 0, fixed 0.33.2 (semver)

Fixed versions

0.33.2

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences