CVE-2022-3971
Matrix-appservice-irc vulnerable to sql injection via roomIds argument
Auswirkung
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. It is recommended to upgrade the affected component.
Ein Angreifer kann die Lücke über das Netzwerk ausnutzen, ohne Anmeldung, ohne Zutun eines Nutzers. Dafür müssen bestimmte Bedingungen erfüllt sein, was einen Angriff erschwert. Bei Erfolg: geringes Risiko, dass Daten ausgelesen werden, geringes Risiko, dass Daten oder Systeme verändert werden, geringes Risiko für Ausfälle.
Betroffene Pakete
| Ökosystem | Paket | Betroffen | Behoben in |
|---|---|---|---|
| npm | matrix-appservice-irc | < 0.36.0 | 0.36.0 |
Betroffene Produkte · Matrix
| Produkt | Betroffene Versionen |
|---|---|
| Matrix Irc Bridge | bis einschließlich 0.36.0 |
Schwachstellenklasse
Referenzen
- NVD-Eintrag
- CVE.org-Eintrag
- GitHub-Advisory
- https://github.com/matrix-org/matrix-appservice-irc/commit/179313a37f06b298150edba3e2b0e5a73c1415e7
- https://github.com/matrix-org/matrix-appservice-irc/pull/1619
- https://github.com/matrix-org/matrix-appservice-irc/releases/tag/0.36.0
- https://vuldb.com/?id.213550
- https://github.com/advisories/GHSA-ffwf-47x2-jpr8
- https://nvd.nist.gov/vuln/detail/CVE-2022-3971