REDHAT-BUG-2572579: Medium severity PostgreSQL postgresql vulnerability
Missing authorization in PostgreSQL DROP OWNED allows a role to remove itself from restrictive row level security policies, thereby reading or modifying rows that the policy was intended to deny, via queries after the DROP OWNED. Versions before PostgreSQL 18.7, 17.12, 16.16, 15.20, and 14.25 are affected.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
PostgreSQLto a version that resolves this vulnerability.Fixed in 18.7 - Upgrade
Upgrade
PostgreSQLto a version that resolves this vulnerability.Fixed in 17.12 - Upgrade
Upgrade
PostgreSQLto a version that resolves this vulnerability.Fixed in 16.16 - Upgrade
Upgrade
PostgreSQLto a version that resolves this vulnerability.Fixed in 15.20 - Upgrade
Upgrade
PostgreSQLto a version that resolves this vulnerability.Fixed in 14.25
Event History
Frequently Asked Questions
What level of access does an attacker need to exploit this issue?
The attacker needs to be able to execute PostgreSQL DROP OWNED. They use it to remove their role from restrictive row-level security policies, then issue queries against rows those policies were meant to deny.
Which PostgreSQL releases are affected?
Affected versions are PostgreSQL releases before 18.7, 17.12, 16.16, 15.20, and 14.25. Upgrading to the applicable listed release or later addresses the affected version range.
What data impact can result from successful exploitation?
After removing itself from restrictive row-level security policies, the role may be able to read or modify rows that those policies were intended to block.