CVE-2023-39417: Debian Linux

High severity, CVSS 8.8. EPSS: 1.7% chance of exploitation in the next 30 days.

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.

Affected products

  • Debian Debian Linux: version 8.0 only; version 11.0 only; version 12.0 only
  • PostgreSQL PostgreSQL: from 11.0, before 11.21 (fixed in 11.21); from 12.0, before 12.16 (fixed in 12.16); from 13.0, before 13.12 (fixed in 13.12); from 14.0, before 14.9 (fixed in 14.9); from 15.0, before 15.4 (fixed in 15.4)
  • Red Hat Enterprise Linux: version 8.0 only; version 9.0 only
  • Red Hat Software Collections: affected versions not specified

Published 2023-08-11. Last modified 2026-09-30.