5.6
MEDIUM
CVE-2022-3971
Matrix-Appservice-Irc PostgreSQL SQL Injection Vulnerability
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.

INFO

Published Date :

Nov. 13, 2022, 10:15 a.m.

Last Modified :

Nov. 7, 2023, 3:52 a.m.

Remotely Exploitable :

Yes !

Impact Score :

3.4

Exploitability Score :

2.2
Affected Products

The following products are affected by CVE-2022-3971 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Matrix matrix_irc_bridge
References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2022-3971.

URL Resource
https://github.com/matrix-org/matrix-appservice-irc/commit/179313a37f06b298150edba3e2b0e5a73c1415e7 Patch Third Party Advisory
https://github.com/matrix-org/matrix-appservice-irc/pull/1619 Patch Third Party Advisory
https://github.com/matrix-org/matrix-appservice-irc/releases/tag/0.36.0 Release Notes Third Party Advisory
https://vuldb.com/?id.213550 Third Party Advisory

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2022-3971 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2022-3971 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • CVE Modified by [email protected]

    Nov. 07, 2023

    Action Type Old Value New Value
    Removed CWE VulDB CWE-89
    Removed CWE VulDB CWE-74
  • Initial Analysis by [email protected]

    Nov. 17, 2022

    Action Type Old Value New Value
    Added CVSS V3.1 NIST AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L
    Changed Reference Type https://github.com/matrix-org/matrix-appservice-irc/commit/179313a37f06b298150edba3e2b0e5a73c1415e7 No Types Assigned https://github.com/matrix-org/matrix-appservice-irc/commit/179313a37f06b298150edba3e2b0e5a73c1415e7 Patch, Third Party Advisory
    Changed Reference Type https://github.com/matrix-org/matrix-appservice-irc/pull/1619 No Types Assigned https://github.com/matrix-org/matrix-appservice-irc/pull/1619 Patch, Third Party Advisory
    Changed Reference Type https://github.com/matrix-org/matrix-appservice-irc/releases/tag/0.36.0 No Types Assigned https://github.com/matrix-org/matrix-appservice-irc/releases/tag/0.36.0 Release Notes, Third Party Advisory
    Changed Reference Type https://vuldb.com/?id.213550 No Types Assigned https://vuldb.com/?id.213550 Third Party Advisory
    Added CPE Configuration OR *cpe:2.3:a:matrix:matrix_irc_bridge:*:*:*:*:*:node.js:*:* versions up to (including) 0.36.0
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2022-3971 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

0.14 }} -0.02%

score

0.50935

percentile

CVSS31 - Vulnerability Scoring System
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability