[HIGH] POSTGRES_HOST_AUTH_METHOD set to 'trust' in Hudu config #16

Open
opened 2026-05-05 15:44:08 -05:00 by pjennings · 0 comments
Owner

Labels: area:security, area:containers, priority:high, type:bug

Description

In modules/secrets.example/apps1.nix line 47:
POSTGRES_HOST_AUTH_METHOD = 'trust'

This PostgreSQL authentication method allows ALL connections without password verification.

Impact

Any host that can reach the PostgreSQL port can connect to the Hudu database without credentials.

  1. Remove POSTGRES_HOST_AUTH_METHOD = 'trust'
  2. Set a strong password for the Hudu database user
  3. Use scram-sha-256 for strong password hashing
**Labels:** area:security, area:containers, priority:high, type:bug ## Description In modules/secrets.example/apps1.nix line 47: POSTGRES_HOST_AUTH_METHOD = 'trust' This PostgreSQL authentication method allows ALL connections without password verification. ## Impact Any host that can reach the PostgreSQL port can connect to the Hudu database without credentials. ## Recommended Fix 1. Remove POSTGRES_HOST_AUTH_METHOD = 'trust' 2. Set a strong password for the Hudu database user 3. Use scram-sha-256 for strong password hashing
Sign in to join this conversation.
No description provided.