Description
A vulnerability was found in matrix-appservice-irc up to 0.35.1. This vulnerability affects the file src/datastore/postgres/PgDataStore.ts. The manipulation of the argument roomIds leads to sql injection. Upgrading to version 0.36.0 is able to address this issue. The name of the patch is 179313a37f06b298150edba3e2b0e5a73c1415e7.
Recommendation
Update the matrix-appservice-irc package to the latest compatible version. Followings are version details:
- Affected version(s): < 0.36.0
- Patched version(s): 0.36.0
References
Could your website be exposed too?
SmartScanner can check your website for Matrix-appservice-irc vulnerable to sql injection via roomIds argument and gives you actionable findings to investigate.
Start a free scanRelated Issues
- matrix-appservice-irc vulnerable to IRC mode parameter confusion - CVE-2022-39202
- matrix-appservice-irc IRC command injection via admin commands containing newlines - CVE-2023-38690
- Improper handling of multiline messages in node-irc affects matrix-appservice-irc - CVE-2022-29166
- Parsing issue in matrix-org/node-irc leading to room takeovers - CVE-2022-39203


