CVE-2022-3971
matrix-appservice-irc PgDataStore.ts sql injection
- Published
- Updated
- Reserved
- Assigned by
- VulDB
Description
A vulnerability was found in matrix-appservice-irc up to 0.35.1. It has been declared as critical. This vulnerability affects unknown code of 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. VDB-213550 is the identifier assigned to this vulnerability.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| VulDBCNA (assigner) | 3.1 | Medium4.6 | CVSS:3.1/AV:A/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:L |
| NVDNVD · Modified | 3.1 | Medium5.6 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L |
- EPSS (exploitation in 30 days)
- 0.57% · top 53% of all CVEs (6 Nov 2026)
- CISA SSVC
- Exploitation: none · Automatable: no · Technical impact: partial
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 4.6.
Weakness
Affected products
unspecified · matrix-appservice-irc
- affected 0.35.0
- affected 0.35.1
Affected packages
From reviewed advisories of the GitHub Advisory Database.
- npmmatrix-appservice-ircGHSA-ffwf-47x2-jpr8 (opens in a new tab)
References (4)
- https://github.com/matrix-org/matrix-appservice-irc/pull/1619 (opens in a new tab)x_transferred
- https://github.com/matrix-org/matrix-appservice-irc/releases/tag/0.36.0 (opens in a new tab)x_transferred
- https://github.com/matrix-org/matrix-appservice-irc/commit/179313a37f06b298150edba3e2b0e5a73c1415e7 (opens in a new tab)x_transferred
- https://vuldb.com/?id.213550 (opens in a new tab)x_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-ffwf-47x2-jpr8 (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://trackcve.app/cve/CVE-2022-3971)Record last updated .