REDHAT-BUG-2572556: High severity PostgreSQL postgresql vulnerability
Type confusion in PostgreSQL plpgsql record-field assignment allows an object creator to execute arbitrary code as the operating system user running the database, via a reentrant domain CHECK that changes a RECORD variable's row type while a value is being cast. 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
Which PostgreSQL versions require remediation?
PostgreSQL versions earlier than 18.7, 17.12, 16.16, 15.20, and 14.25 are affected. Updating to the corresponding listed release or later addresses the affected version range.
What level of database access does an attacker need?
Exploitation requires an attacker to be able to create an object. The exploit involves a reentrant domain CHECK during PL/pgSQL record-field assignment.
What is the impact if exploitation succeeds?
An attacker can execute arbitrary code as the operating system user running the PostgreSQL database server.