Improper privilege management in PostgreSQL - CVE-2007-6600
Published: June 23, 2025
Vulnerability details
The vulnerability allows a remote user to escalate privileges within the application.
The vulnerability exists due software users superuser privileges instead of table owner privileges for (1) VACUUM and (2) ANALYZE operations within index functions, and supports (3) SET ROLE and (4) SET SESSION AUTHORIZATION within index functions. A remote user can escalate privileges within the database.
Affected software
Gentoo Linux
Ubuntu
postgresql-pltcl-8.1 (Ubuntu package)
postgresql-8.1 (Ubuntu package)
postgresql-8.2 (Ubuntu package)
postgresql-pltcl-8.2 (Ubuntu package)
dev-db/postgresql
How to mitigate CVE-2007-6600
postgresql-pltcl-8.1 (Ubuntu package) - addressed in versions 8.1.11-0ubuntu0.6.06.1, 8.1.11-0ubuntu0.6.10.1
postgresql-8.1 (Ubuntu package) - addressed in versions 8.1.11-0ubuntu0.6.06.1, 8.1.11-0ubuntu0.6.10.1
postgresql-8.2 (Ubuntu package) - addressed in versions 8.2.6-0ubuntu0.7.04.1, 8.2.6-0ubuntu0.7.10.1
postgresql-pltcl-8.2 (Ubuntu package) - addressed in versions 8.2.6-0ubuntu0.7.04.1, 8.2.6-0ubuntu0.7.10.1
dev-db/postgresql - update to 8.0.15