Description
Coder 2.3.1 before 2.14.4, 2.15.x before 2.15.3, and 2.16.0 before 2.16.1 contains an open redirect vulnerability in the login page because the redirect query parameter is improperly sanitized. Attackers can craft a Coder login URL that, when clicked by a logged-in user, redirects the victim to an attacker-controlled website for phishing.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| coder | coder | 2.16.0 – < 2.16.1, 2.15.0 – < 2.15.3, 2.3.1 – < 2.14.4 | 2.16.1 |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Go | github.com/coder/coder | all versions | — | GO-2024-3228 |
| Go | github.com/coder/coder/v2 | >= 2.16.0, < 2.16.1 | 2.16.1 | GHSA-wcx9-ccpj-hx3c |
| Go | github.com/coder/coder/v2 | >= 2.15.0, < 2.15.3 | 2.15.3 | GHSA-wcx9-ccpj-hx3c |
| Go | github.com/coder/coder/v2 | >= 2.3.1, < 2.14.4 | 2.14.4 | GHSA-wcx9-ccpj-hx3c |
| Go | github.com/coder/coder/v2 | >= 2.3.1, < 2.14.4 · >= 2.15.0, < 2.15.3 · >= 2.16.0, < 2.16.1 | 2.14.4, 2.15.3, 2.16.1 | GO-2024-3228 |
References
- GitHub Security Advisory (GHSA-wcx9-ccpj-hx3c) vendor-advisory
- Patch Commit patch
- VulnCheck Advisory: Coder 2.3.1 before 2.16.1 Open Redirect via Login Page redirect Parameter third-party-advisory