DEV Community

jeffrey
jeffrey

Posted on

Pgpool-II Patch Bundle Exposes Three Different Trust Failures in One Proxy

Pgpool-II Patch Bundle Exposes Three Different Trust Failures in One Proxy

Ubuntu USN-9285-1, published on 1 December 2026, fixes three Pgpool-II issues that affect different parts of the database proxy's trust model. Grouping them under one patch should not obscure their separate consequences.

The three failures

CVE-2023-22332 exposed authentication information for some database users to other database users. An authenticated attacker could use that information to obtain another user's credentials.

CVE-2024-45624 involved table access permissions in query-cache results. A user who passed authentication could receive cached data that their database role should not be allowed to read.

CVE-2025-46801 describes incorrect client-authentication handling under certain circumstances. A remote attacker could bypass authentication and attempt to log in as an arbitrary user on affected Ubuntu releases.

Why a proxy changes the blast radius

Applications often trust Pgpool-II as the database endpoint. The proxy may terminate authentication, route connections, maintain a pool identity, and return cached results. When those layers disagree, a backend role can appear correctly configured while the client sees data or identity it should not.

Remediation

Upgrade pgpool2 to the fixed version for the host's Ubuntu release. Restart the service during a controlled window and verify that clients reconnect with the intended TLS and authentication settings. Review pool configuration for trust rules, user mappings, query cache, and administrative access.

Rotate database credentials that may have been exposed through CVE-2023-22332. Do not assume that a password change is enough if a session or cached query remains valid. Clear query caches where the product requires it, then test role-specific table access through the proxy.

Verification

Use two database users with different grants and confirm that cached and uncached paths enforce the same policy. Test authentication failures, backend password checks, and reconnect behavior. Review Pgpool-II and PostgreSQL logs for identity mismatches and access to tables outside a role's grant set.

Patch completion should include a data-access review, not only a package version check.

References

Top comments (0)