REDHAT-BUG-2477443: Buffer Overflow
Stack buffer overflow in PostgreSQL module "refint" allows an unprivileged database user to execute arbitrary code as the operating system user running the database. A distinct attack is possible if the application declares a user-controlled column as a "refint" cascade primary key and facilitates user-controlled updates to that column. In that case, a SQL injection allows a primary key update value provider to execute arbitrary SQL as the database user performing the primary key update. Versions before PostgreSQL 18.4, 17.10, 16.14, 15.18, and 14.23 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.4 - Upgrade
Upgrade
PostgreSQLto a version that resolves this vulnerability.Fixed in 17.10 - Upgrade
Upgrade
PostgreSQLto a version that resolves this vulnerability.Fixed in 16.14 - Upgrade
Upgrade
PostgreSQLto a version that resolves this vulnerability.Fixed in 15.18 - Upgrade
Upgrade
PostgreSQLto a version that resolves this vulnerability.Fixed in 14.23
Event History
Frequently Asked Questions
What is the severity of REDHAT-BUG-2477443?
The severity of REDHAT-BUG-2477443 is classified as high, with a severity score of 7.
What does REDHAT-BUG-2477443 exploit?
REDHAT-BUG-2477443 exploits a stack buffer overflow in the PostgreSQL module 'refint', allowing unprivileged database users to execute arbitrary code.
How do I fix REDHAT-BUG-2477443?
To fix REDHAT-BUG-2477443, it is recommended to apply the latest security updates and patches for PostgreSQL.
What systems are affected by REDHAT-BUG-2477443?
REDHAT-BUG-2477443 affects systems running the PostgreSQL database that utilize the 'refint' cascade primary key feature.
What are the consequences of ignoring REDHAT-BUG-2477443?
Ignoring REDHAT-BUG-2477443 can lead to unauthorized code execution and potential system compromise by unprivileged users.