GHSA-ffwf-47x2-jpr8

Suggest an improvement
Source
https://github.com/advisories/GHSA-ffwf-47x2-jpr8
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/11/GHSA-ffwf-47x2-jpr8/GHSA-ffwf-47x2-jpr8.json
JSON Data
https://api.test.osv.dev/v1/vulns/GHSA-ffwf-47x2-jpr8
Aliases
Published
2022-11-13T12:00:17Z
Modified
2023-11-01T04:59:51.989663Z
Severity
  • 5.6 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L CVSS Calculator
Summary
Matrix-appservice-irc vulnerable to sql injection via roomIds argument
Details

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.

Database specific
{
    "nvd_published_at": "2022-11-13T10:15:00Z",
    "github_reviewed_at": "2022-11-15T23:59:15Z",
    "severity": "MODERATE",
    "github_reviewed": true,
    "cwe_ids": [
        "CWE-89"
    ]
}
References

Affected packages

npm / matrix-appservice-irc

Package

Name
matrix-appservice-irc
View open source insights on deps.dev
Purl
pkg:npm/matrix-appservice-irc

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
0.36.0