CVE-2023-39417 in Debian Linux and 3 more products
IN THE EXTENSION SCRIPT, a SQL Injection vulnerability was found in PostgreSQL if it uses @extowner@, @extschema@, or @extschema:...@ inside a quoting construct (dollar quoting, '', or ""). If an administrator has installed files of a vulnerable, trusted, non-bundled extension, an attacker with database-level CREATE privilege can execute arbitrary code as the bootstrap superuser.
Affects 4 products from 4 vendors. Description from NVD and MITRE.
Remotely exploitable over the network, low complexity, low privileges required, no user interaction needed, impact contained to the vulnerable component, full confidentiality impact, full integrity impact, full availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Debian | Debian Linux | 8.0 11.0 12.0 |
| Postgresql | Postgresql | ≥ 11.0, < 11.21 ≥ 12.0, < 12.16 ≥ 13.0, < 13.12 ≥ 14.0, < 14.9 ≥ 15.0, < 15.4 |
| Redhat | Enterprise Linux | 8.0 9.0 |
| Redhat | Software Collections | No version listed by the source |
| Siemens | — | — |
| Abb | S Engineering | 2.2 2.3 2.4 |
| Siemens | Sinec-Nms | < 2.0 SP1 |
| Siemens | Sinec Nms | < 2.0 SP1 |
Fix and vendor advisory
- SINEC NMS: Update to V2.0 SP1 or later version
Source: ICSA-24-046-15
- ABB Ability Symphony Plus S+ Engineering 2.2, ABB Ability Symphony Plus S+ Engineering 2.3, ABB Ability Symphony Plus S+ Engineering 2.3 RU1 and 5 more: ABB advises all customers to review their installations to determine if they are using an impacted product as listed above, no further analysis or tools are needed to make this determination. The recommended immediate actions per product are listed below: - Systems using S+ Engineering 2.2 through 2.4 SP2 should upgrade to S+ Engineering 2.4 SP2 RU1 (re-leased in December 2024) or later. - End users who are unable to install one of these updates should immediately look to implement the Mitigation and Workarounds listed below as this will restrict or prevent an attacker’s ability to com-promise the system. ABB recommends that customers apply the update at the earliest convenience.
Source: ICSA-26-120-06
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Record details
| CVE ID | CVE-2023-39417 |
|---|---|
| BreachSpider ID | BS-2023-GLOBAL-056726-H |
| CVSS vector | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| Published | 2023-08-11 |
| Last modified | 2026-11-26 |
| Weakness (CWE) | |
| Source | NVD |
Compensating controls AI-drafted, review before use
Implement strict input validation and sanitization for all user inputs in PostgreSQL extension scripts. Use parameterized queries and avoid dynamic SQL execution. Regularly audit and review extension scripts for security vulnerabilities.
NERC CIP: CIP-007 CIP-007-R2
IEC 62443: SR 7.6
Not validated for your network. A compensating control does not replace the vendor fix.
Check devices from your own code or AI agent: free 14-day trial
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-11-26.