All vulnerabilities

Servers and applications

CVE-2023-39417

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.

Severity
High 8.8
Published
11 Aug 2023
Last changed
30 Sept 2026
Added to UpHeron
16 Oct 2026
Fixed in
11.21, 12.16, 13.12, 14.9, 15.4
Sources
NVD

Affected software

SoftwareAffected versions
PostgreSQLServers and applications · cpe:a:postgresql:postgresql
  • From 11.0 before 11.21
  • From 12.0 before 12.16
  • From 13.0 before 13.12
  • From 14.0 before 14.9
  • From 15.0 before 15.4

References

  • NVD https://nvd.nist.gov/vuln/detail/CVE-2023-39417
  • CVE.org https://www.cve.org/CVERecord?id=CVE-2023-39417