SCA: security update for loopback-connector-postgresql (GHSA-j259-6c58-9m58)

critical Tenable Cloud Security Plugin ID 416055

Description

There are packages installed that are affected by a vulnerability referenced in the following CVE:

- Improper input validation on the `contains` LoopBack filter may allow for arbitrary SQL injection. When
the extended filter property `contains` is permitted to be interpreted by the Postgres connector, it is
possible to inject arbitrary SQL which may affect the confidentiality and integrity of data stored on the
connected database. A patch was released in version 5.5.1. This affects users who does any of the
following: - Connect to the database via the DataSource with `allowExtendedProperties: true` setting OR -
Uses the connector's CRUD methods directly OR - Uses the connector's other methods to interpret the
LoopBack filter. Users who are unable to upgrade should do the following if applicable: - Remove
`allowExtendedProperties: true` DataSource setting - Add `allowExtendedProperties: false` DataSource
setting - When passing directly to the connector functions, manually sanitize the user input for the
`contains` LoopBack filter beforehand. (CVE-2022-35942)

See Also

https://github.com/advisories/GHSA-j259-6c58-9m58

Plugin Details

Severity: Critical

ID: 416055

Version: Revision 1.12

Type: Local

Family: SCA Checks

Published: 1/23/2025

Updated: 7/2/2026

Supported Sensors: Tenable Cloud Security, Tenable Self-Hosted Container Security

Risk Information

VPR

Risk Factor: Medium

Score: 5

Percentile: 95.11

Vendor

Vendor Severity: Critical

CVSS v2

Risk Factor: Critical

Base Score: 10

Temporal Score: 7.4

Vector: CVSS2#AV:N/AC:L/Au:N/C:C/I:C/A:C

CVSS Score Source: CVE-2022-35942

CVSS v3

Risk Factor: Critical

Base Score: 10

Temporal Score: 8.7

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

Vulnerability Information

Exploit Ease: No known exploits are available

Patch Publication Date: 8/11/2022

Vulnerability Publication Date: 8/11/2022

Reference Information

CVE: CVE-2022-35942