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 flaw was found in PostgreSQL where the ALTER TABLE ALTER TYPE command incorrectly reassigns ownership of dependent statistics objects to the current user. This grants the table owner unauthorized privileges to execute DROP STATISTICS and ALTER STATISTICS while locking out the legitimate owner. The overall impact is limited, as standard DROP TABLE operations still correctly remove the affected objects.
- Remediation
- To mitigate this, limit the ALTER TABLE ALTER TYPE command to trusted database users. If the command must be used, manually review and restore the correct ownership of any affected extended statistics objects. Additionally, relying on standard DROP TABLE commands for routine object removal safely avoids the primary impacts of this flaw.
