Advisories

Coder from 2.39.0 before 2.39.1 Database Password Exposure via API Errors

Go back
Severity
critical
Date
Affecting
  • coder >= 2.39.0, < 2.39.1

  • coder >= 2.38.0, < 2.38.7

  • coder >= 2.37.0, < 2.37.11

  • coder >= 2.30.0, < 2.34.19

  • coder < 2.29.27

  • coder >= 2.35.0, < 2.37.0

CWE
  • CWE-209 Generation of Error Message Containing Sensitive Information
CVSS
9.2
CVSS V4 Vector
CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Credit
ThomasK33
Description
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.

Ready to get Started?

Explore VulnCheck, a next-generation Cyber Threat Intelligence platform, which provides exploit and vulnerability intelligence to help you prioritize and remediate vulnerabilities that matter.
  • Vulnerability Prioritization
    Prioritize vulnerabilities that matter based on the threat landscape and defer vulnerabilities that don't.
  • Early Warning System
    Real-time alerting of changes in the vulnerability landscape so that you can take action before the attacks start.