GHSA-52rh-5rpj-c3w6 Improper handling of multiline messages in node-irc
An attacker can inject IRC commands by exploiting improper CR character handling in node-irc, requiring a user to reply to a malicious message.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is GHSA-52rh-5rpj-c3w6?
GHSA-52rh-5rpj-c3w6 is a command injection vulnerability in matrix-org-irc, published on 5 May 2022. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official description
Which versions are affected by GHSA-52rh-5rpj-c3w6?
2 open source packages ship an affected version, including matrix-org-irc.
| Package | Affected | Fixed in |
|---|---|---|
matrix-org-irc npm | All versions | 1.2.1 |
matrix-org-irc npm | All versions | 1.2.1 |
How do I fix GHSA-52rh-5rpj-c3w6?
Upgrade matrix-org-irc to 1.2.1 or later.
Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.
Is GHSA-52rh-5rpj-c3w6 being exploited?
There is no known exploitation of GHSA-52rh-5rpj-c3w6 in the wild and no public exploit code.