CVE Catalog

CVE-2023-39417

HighCVSS 7.5
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

High risk
1.68%

76th percentile - higher than 76% of all known CVEs

Summary

A SQL Injection vulnerability was found in the extension script in PostgreSQL when using @extowner@, @extschema@, or @extschema:...@ inside a quoting construct. An attacker with database-level CREATE privilege can execute arbitrary code as the bootstrap superuser.

Risk Assessment

The organization is at risk of unauthorized code execution by an attacker, potentially leading to serious data security breaches.

Recommendation

It is recommended to review and update installed extensions and restrict CREATE privileges for database users.

Related vulnerabilities

Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS