Warehousepg
Monthly
WarehousePG 6.27.1 through 6.27.6 and 7.2.1 through 7.6.0 permits any authenticated database role to invoke built-in cluster-expansion functions that perform no privilege check, enabling a low-privileged user to hold catalog locks cluster-wide or repeatedly force session reconnections. The result is a sustained availability outage - DDL, temporary table creation, GRANT and CREATE ROLE are blocked until a superuser terminates the offending session - rather than data disclosure or modification. No public exploit code has been identified at time of analysis, although exploitation only requires valid database credentials and network reachability to the cluster.
Missing authorization in WarehousePG (WHPG) 7.x before 7.6.0-WHPG lets any authenticated database role - with no superuser rights, no GRANT, and no special role membership - call the built-in server-side file functions pg_file_write, pg_file_rename, pg_file_unlink and pg_logdir_ls, because the REVOKE that contrib/adminpack applies to the equivalent functions was never carried over to WHPG core when their catalog entries were repointed to the ungated adminpack-derived _v1_1 implementations during the merge onto a PostgreSQL 12 base. An attacker holding ordinary database credentials can therefore create, append to, overwrite, rename and delete files under the data and log directories and enumerate log file names, and by appending directives such as shared_preload_libraries or archive_command to postgresql.auto.conf can achieve arbitrary code execution as the postgres operating system user on the next server restart or configuration reload. WarehousePG 6.x is not affected because its equivalent functions enforce an internal superuser check, and no public exploit code has been identified at time of analysis (no CISA KEV entry).
WarehousePG 6.27.1 through 6.27.6 and 7.2.1 through 7.6.0 allow an authenticated low-privileged user who can open a utility-mode connection to invoke gp_add_coordinator_standby(), named gp_add_master_standby() in WHPG 6 and kept as an alias in WHPG 7, without the superuser check enforced by sibling segment add/remove functions. On a cluster with no standby coordinator configured, this creates a fake gp_segment_configuration entry that blocks administrators from adding a real standby until a superuser removes it. The issue is low severity and limited to integrity and availability impact with no user-data exposure; no public exploit was identified at time of analysis and it is not confirmed actively exploited (CISA KEV).
Missing authorization in WarehousePG 7.2.1 through 7.6.0 allows any authenticated, low-privileged database role to call gp_log_backend_memory_contexts() without a GRANT and bypass the superuser-only restriction on PostgreSQL's underlying pg_log_backend_memory_contexts(). An attacker with a valid login can force segment backends for other sessions, including superuser sessions, to write memory-context details such as cached query text into segment server logs they cannot read, and can repeat the call to amplify log volume. No public exploit code or confirmed active exploitation is identified in the provided intelligence, and the assessed impact is limited to low availability loss with no confidentiality or integrity impact within the vulnerable component.
WarehousePG 6.27.1 through 6.27.6 and 7.2.1 through 7.6.0 permits any authenticated database role to invoke built-in cluster-expansion functions that perform no privilege check, enabling a low-privileged user to hold catalog locks cluster-wide or repeatedly force session reconnections. The result is a sustained availability outage - DDL, temporary table creation, GRANT and CREATE ROLE are blocked until a superuser terminates the offending session - rather than data disclosure or modification. No public exploit code has been identified at time of analysis, although exploitation only requires valid database credentials and network reachability to the cluster.
Missing authorization in WarehousePG (WHPG) 7.x before 7.6.0-WHPG lets any authenticated database role - with no superuser rights, no GRANT, and no special role membership - call the built-in server-side file functions pg_file_write, pg_file_rename, pg_file_unlink and pg_logdir_ls, because the REVOKE that contrib/adminpack applies to the equivalent functions was never carried over to WHPG core when their catalog entries were repointed to the ungated adminpack-derived _v1_1 implementations during the merge onto a PostgreSQL 12 base. An attacker holding ordinary database credentials can therefore create, append to, overwrite, rename and delete files under the data and log directories and enumerate log file names, and by appending directives such as shared_preload_libraries or archive_command to postgresql.auto.conf can achieve arbitrary code execution as the postgres operating system user on the next server restart or configuration reload. WarehousePG 6.x is not affected because its equivalent functions enforce an internal superuser check, and no public exploit code has been identified at time of analysis (no CISA KEV entry).
WarehousePG 6.27.1 through 6.27.6 and 7.2.1 through 7.6.0 allow an authenticated low-privileged user who can open a utility-mode connection to invoke gp_add_coordinator_standby(), named gp_add_master_standby() in WHPG 6 and kept as an alias in WHPG 7, without the superuser check enforced by sibling segment add/remove functions. On a cluster with no standby coordinator configured, this creates a fake gp_segment_configuration entry that blocks administrators from adding a real standby until a superuser removes it. The issue is low severity and limited to integrity and availability impact with no user-data exposure; no public exploit was identified at time of analysis and it is not confirmed actively exploited (CISA KEV).
Missing authorization in WarehousePG 7.2.1 through 7.6.0 allows any authenticated, low-privileged database role to call gp_log_backend_memory_contexts() without a GRANT and bypass the superuser-only restriction on PostgreSQL's underlying pg_log_backend_memory_contexts(). An attacker with a valid login can force segment backends for other sessions, including superuser sessions, to write memory-context details such as cached query text into segment server logs they cannot read, and can repeat the call to amplify log volume. No public exploit code or confirmed active exploitation is identified in the provided intelligence, and the assessed impact is limited to low availability loss with no confidentiality or integrity impact within the vulnerable component.