REDHAT-BUG-2572570: High severity PostgreSQL postgresql vulnerability
Type confusion in PostgreSQL operator commutator and negator links allows an object creator to execute arbitrary code as the operating system user running the database, via linking operators having different result types or creating inconsistent reciprocal links. 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 to a fixed release to a version that resolves this vulnerability.
Fixed in 18.7 - Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 17.12 - Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 16.16 - Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 15.20 - Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 14.25
Event History
Frequently Asked Questions
Who can exploit this issue?
An attacker needs the ability to create database objects. The resulting code execution occurs as the operating system user that runs the PostgreSQL database.
Which PostgreSQL releases need to be updated?
Affected versions are those before PostgreSQL 18.7, 17.12, 16.16, 15.20, and 14.25. Upgrade to the corresponding listed release or later.
What operator definitions trigger the vulnerability?
The issue can be triggered by linking operators whose result types differ, or by creating inconsistent reciprocal commutator or negator links.