The vendor explicitly identifies these products as affected by this CVE.
- postgresql as a component of Red Hat Enterprise Linux 10
- postgresql-contrib as a component of Red Hat Enterprise Linux 10
- postgresql-docs as a component of Red Hat Enterprise Linux 10
- postgresql-plperl as a component of Red Hat Enterprise Linux 10
- postgresql-plpython3 as a component of Red Hat Enterprise Linux 10
- postgresql-pltcl as a component of Red Hat Enterprise Linux 10
- postgresql-private-devel as a component of Red Hat Enterprise Linux 10
- postgresql-private-libs as a component of Red Hat Enterprise Linux 10
- postgresql-server as a component of Red Hat Enterprise Linux 10
- postgresql-server-devel as a component of Red Hat Enterprise Linux 10
- postgresql-static as a component of Red Hat Enterprise Linux 10
- postgresql-test as a component of Red Hat Enterprise Linux 10
- Summary
- A SQL injection flaw in PostgreSQL's EXTRACT() expression deparser allows an authenticated object owner to execute arbitrary SQL commands with superuser privileges. By defining a hostile database object, an attacker can achieve privilege escalation when deparsing tools like pg_dump or psql inspect or export the object.
- Remediation
- To mitigate this vulnerability, administrators should strictly limit database object creation privileges to highly trusted users. When performing backups or database introspection using pg_dump or psql, exercise caution when operating on databases that allow untrusted users to define objects,
