A flaw was found in quay-operator. During an upgrade path, the Clair Postgres database is configured with hardcoded 'postgres' credentials. A remote attacker, from any pod on the cluster network, can exploit this by authenticating to the Clair vulnerability database using these publicly-known credentials. This allows for reading and writing of vulnerability scan results and arbitrary SQL execution as the 'postgres' superuser.
Restrict network access to the clair-postgres service within the cluster by implementing a NetworkPolicy. This will limit which pods can connect to the vulnerable database, reducing the attack surface. Consult OpenShift or Kubernetes documentation for creating and applying NetworkPolicies to your cluster. Applying a NetworkPolicy may require a service reload or restart to take effect and could impact functionality if other legitimate services require access to the Clair database.