SQL Injection The advisory has been revoked - it doesn't affect any version of package postgresql-server  (opens in a new tab)


Threat Intelligence

EPSS
1.63% (77th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-RHEL9-POSTGRESQLSERVER-11470424
  • published5 Aug 2025
  • disclosed10 Aug 2023

Introduced: 10 Aug 2023

CVE-2023-39417  (opens in a new tab)
CWE-89  (opens in a new tab)

Amendment

The Red Hat security team deemed this advisory irrelevant for RHEL:9.

NVD Description

Note: Versions mentioned in the description apply only to the upstream postgresql-server package and not the postgresql-server package as distributed by RHEL.

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.