REDHAT-BUG-2572549: High severity PostgreSQL postgresql vulnerability
Type confusion in PostgreSQL anonymous RECORD types allows an object creator to execute arbitrary code as the operating system user running the database, via row types having dropped attributes in the same positions but with different widths or alignments. Within major versions 17-18, minor versions before PostgreSQL 18.7 and 17.12 are affected. Versions before PostgreSQL 17 are unaffected.
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
Event History
Frequently Asked Questions
Which PostgreSQL versions are affected?
PostgreSQL 17 releases before 17.12 and PostgreSQL 18 releases before 18.7 are affected. Versions before PostgreSQL 17 are unaffected.
What level of access does an attacker need to exploit this issue?
An attacker must be able to create the relevant database object. Exploitation involves anonymous RECORD types and row types with dropped attributes in matching positions but differing widths or alignments.
What is the potential impact of successful exploitation?
A successful attacker can execute arbitrary code as the operating system user that runs the PostgreSQL database server.