Vulnerability record · Windows 10 (1507)
Coder from 2.39.0 before 2.39.1 Database Password Exposure via API Errors
Windows 10 (1507)
What it fixes
Coder before 2.29.27, 2.30.0 before 2.34.19, 2.35.0 before 2.37.11, 2.38.0 before 2.38.7, and 2.39.0 before 2.39.1 returns database connection errors containing a temporary AWS IAM database password in API key middleware responses. During database connection failures, unauthenticated attackers can send a well-formed but invalid API key to obtain the password and access the PostgreSQL database for 15 minutes.
Manual fix · Windows 10 (1507)
Sources