pgx
pgx copied to clipboard
Missing CVE: require_auth auth downgrade fix (CWE-306) — commit 1a976f7
Retrospective CVE Request
Commit 1a976f7 (pgconn: add require_auth to restrict accepted server auth methods) fixed a CWE-306 authentication downgrade vulnerability:
- Before the fix: The auth dispatch loop accepted any Authentication* message from the server, including cleartext password
- Impact: Malicious PostgreSQL server → downgrade auth → steal credentials
- Fixed: By adding
require_authconfig option restricting accepted auth methods
This commit has no CVE, no advisory, no changelog mention. Requesting retrospective CVE assignment.
Discovered via bounty-hunter automated gitdiff analysis.
CC: @jackc
Duplicate of #2578