Coder from 2.39.0 before 2.39.1 Database Password Exposure via API Errors
NIST has not reviewed this entry yet, so scores and affected versions may be missing or may change.
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.
Generation of Error Message Containing Sensitive Information CWE-209
The product generates an error message that includes sensitive information about its environment, users, or associated data.
Weakness data: MITRE Common Weakness Enumeration.
New to this? Read how to keep your software updated.
The products and versions NIST lists as vulnerable, 6 products in all. If what you run is not listed it is probably not affected, but ask your provider if you are unsure.
| Product | Type | Vulnerable versions | Fixed in |
|---|---|---|---|
| Coder Coder | Software | from 2.39.0, before 2.39.1 | 2.39.1 |
| Coder Coder | Software | from 2.38.0, before 2.38.7 | 2.38.7 |
| Coder Coder | Software | from 2.37.0, before 2.37.11 | 2.37.11 |
| Coder Coder | Software | from 2.30.0, before 2.34.19 | 2.34.19 |
| Coder Coder | Software | from 0, before 2.29.27 | 2.29.27 |
| Coder Coder | Software | from 2.35.0, before 2.37.0 | 2.37.0 |
The 9.2 severity score (critical) from vulncheck.com, broken into what it means in practice. Red means it makes the flaw easier or worse.
| How it is reached | Network | Can be attacked from anywhere on the internet, with no need to be near the target. |
| How hard it is | High | Hard to carry out. It depends on conditions the attacker cannot control. |
| Setup needed on the target | Present | The target has to be set up in a particular way. |
| Login needed | None | The attacker does not need an account or password. |
| Someone has to act | None | Nobody has to click or open anything. It can happen on its own. |
| Data exposed | High | Total loss of confidentiality: the attacker can read all the data the program can reach. |
| Data changed | High | The attacker can change or delete anything the program can reach. |
| Service disrupted | High | The attacker can take the service down completely. |
Scorers can disagree. NIST scores every flaw the same way; the reporting company knows its own product best.
NIST lists 2 sources for this flaw, none tagged as a vendor patch.