CVE-2022-35942
CRITICALDescription
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.
How to fix
Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.
CVSS v3 Vector
Exploitability
Impact
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
Exploit Intelligence
Moderate risk: more likely to be exploited than 42% of all known CVEs.
References
Related Vulnerabilities
Other CWE-89 (SQL Injection) vulnerabilities, ordered by exploit likelihood. View all
| CVE | Severity | CVSS | EPSS | Exploited | Fix |
|---|---|---|---|---|---|
| CVE-2014-3704 | High | 7.5 | 100% | - | Fix |
| CVE-2015-7297 | High | 7.5 | 100% | - | - |
| CVE-2024-29824 | High | 8.8 | 100% | KEV | Fix |
| CVE-2023-34362 | Critical | 9.8 | 100% | KEV + Ransom | Fix |
| CVE-2019-7481 | High | 7.5 | 100% | KEV + Ransom | Fix |
| CVE-2024-29826 | High | 8.8 | 100% | - | Fix |
Embed a live status badge for CVE-2022-35942
Markdown
[](https://tridentstack.com/cve/CVE-2022-35942)HTML
<a href="https://tridentstack.com/cve/CVE-2022-35942"><img src="https://tridentstack.com/cve/badge/CVE-2022-35942.svg" alt="CVE-2022-35942"></a>Find and fix vulnerabilities across your fleet
TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.
Start freeThis product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2024-11-21.