Repmgr
Monthly
OS command injection in EnterpriseDB repmgr 4.0.0 through 5.5.0 allows an authenticated non-superuser database user who can write node records into the repmgr.nodes table to run arbitrary shell commands, as the OS user executing repmgr or repmgrd (usually postgres), on other cluster nodes that process an event expanding the poisoned placeholder. It only affects deployments where event_notification_command (or the %a placeholder of failover_validation_command) is configured, and it grants no new capability where the repmgr database user is already a superuser. Vendor-released patch: repmgr 5.5.1; no public exploit identified at time of analysis, and exploitation further requires a node to subsequently handle an event that expands %a, %c or %d.
OS command injection in EnterpriseDB repmgr 4.0.0 through 5.5.0 allows an authenticated non-superuser database user who can write node records into the repmgr.nodes table to run arbitrary shell commands, as the OS user executing repmgr or repmgrd (usually postgres), on other cluster nodes that process an event expanding the poisoned placeholder. It only affects deployments where event_notification_command (or the %a placeholder of failover_validation_command) is configured, and it grants no new capability where the repmgr database user is already a superuser. Vendor-released patch: repmgr 5.5.1; no public exploit identified at time of analysis, and exploitation further requires a node to subsequently handle an event that expands %a, %c or %d.