Skip to main content

Over 150 LLM Providers · Over 5,300 Models The most extensible AI-powered pentesting platform. Open source. Star on GitHub

CVE-2022-35942

9.3 · CRITICAL
Published Aug 12, 2022 linuxfoundation CWE-89 EPSS 0.62% (47th pctl)

Overview

CVE-2022-35942 is a critical-severity vulnerability affecting linuxfoundation loopback-connector-postgresql. It was published on August 12, 2022 and has a CVSS 3.1 base score of 9.3 (CRITICAL).

This vulnerability has a CVSS 3.1 base score of 9.3, rated CRITICAL. It requires local or adjacent network access to exploit. No authentication or special privileges are required for exploitation.

Technical Description

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.

Remediation

Check the references section for vendor advisories and patches from linuxfoundation. Update loopback-connector-postgresql to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Affected Products

Vendor Product Versions Status
linuxfoundation loopback-connector-postgresql >= 0, < 5.5.1 Affected

Frequently Asked Questions

What is CVE-2022-35942?

CVE-2022-35942 is a critical-severity vulnerability affecting linuxfoundation loopback-connector-postgresql. It was published on August 12, 2022 and has a CVSS 3.1 base score of 9.3 (CRITICAL).

How severe is CVE-2022-35942?

This vulnerability has a CVSS 3.1 base score of 9.3, rated CRITICAL. It requires local or adjacent network access to exploit. No authentication or special privileges are required for exploitation.

How do I fix or remediate CVE-2022-35942?

Check the references section for vendor advisories and patches from linuxfoundation. Update loopback-connector-postgresql to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2022-35942?

CyberStrike's AI-powered security agents can automatically detect CVE-2022-35942 across your infrastructure using autonomous pentesting, DAST scanning, and HackBrowser. The platform continuously monitors for known vulnerabilities and provides actionable remediation guidance prioritized by real-world exploitability.