CoderのAPIエラーにDBパスワードが露出、修正版あり
Summary
CoderでAWS IAM認証のPostgreSQLを使う環境では、DB接続の失敗中にAPIのエラー応答から一時パスワードを得られる恐れがあります。CODER_PG_AUTHの設定と版を確認し、修正版へ更新してください。
AI summary
Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.
CoderでAWS IAM認証のPostgreSQLを使う環境では、DB接続の失敗中にAPIのエラー応答から一時パスワードを得られる恐れがあります。CODER_PG_AUTHの設定と版を確認し、修正版へ更新してください。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| codercoder |
≥ 2.35.0, < 2.37.0→ 2.37.0 |
2.37.0 |
Original description The description as published by the source.
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.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory github.com
- advisory vulncheck.com
- advisory github.com
- advisory nvd.nist.gov
- web github.com