Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. matrix-appservice-irc
  4. ›
  5. CVE-2022-3971

CVE-2022-3971: Improper Neutralization

November 13, 2022 (updated November 17, 2022)

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.

References

  • github.com/advisories/GHSA-ffwf-47x2-jpr8
  • github.com/matrix-org/matrix-appservice-irc/commit/179313a37f06b298150edba3e2b0e5a73c1415e7
  • github.com/matrix-org/matrix-appservice-irc/pull/1619
  • github.com/matrix-org/matrix-appservice-irc/releases/tag/0.36.0
  • nvd.nist.gov/vuln/detail/CVE-2022-3971
  • vuldb.com/?id.213550

Code Behaviors & Features

Detect and mitigate CVE-2022-3971 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 0.36.0

Fixed versions

  • 0.36.0

Solution

Upgrade to version 0.36.0 or above.

Impact 5.6 MEDIUM

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L

Learn more about CVSS

Weakness

  • CWE-707: Improper Neutralization
  • CWE-74: Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')
  • CWE-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')

Source file

npm/matrix-appservice-irc/CVE-2022-3971.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:14:38 +0000.