{"cve":"CVE-2022-3971","nvd":{"published":"2022-11-13T10:15:09.680","modified":"2026-06-17T05:00:41.060","status":"Modified","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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L","score":5.6},"cwes":["CWE-707"],"references":["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/matrix-org/matrix-appservice-irc/commit/179313a37f06b298150edba3e2b0e5a73c1415e7"],"products":["matrix:matrix_irc_bridge"],"source":"nvd","synced_at":"2026-10-19T21:37:08.729216836+00:00"},"epss":{"cve":"CVE-2022-3971","score":0.00572,"percentile":0.47317,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-ffwf-47x2-jpr8","url":"https://osv.dev/vulnerability/GHSA-ffwf-47x2-jpr8","summary":"Matrix-appservice-irc vulnerable to sql injection via roomIds argument","modified":"2023-11-08T04:10:21.264093Z","packages":[{"ecosystem":"npm","name":"matrix-appservice-irc","purl":"pkg:npm/matrix-appservice-irc","ranges":["<0.36.0"],"fixed":["0.36.0"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}