Coder vulnerable to denial of service via unbounded request body in AI Bridge provider endpoints
coder
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| github.com/coder/coder/v2 Go |
|
|
| github.com/coder/coder Go |
| No fix yet |
coder
| Product | Affected | Fixed in |
|---|---|---|
| github.com/coder/coder/v2 Go |
|
|
| github.com/coder/coder Go |
| No fix yet |
Coder allows organizations to provision remote development environments via Terraform. Starting in version 2.33.0 and prior to versions 2.33.8 and 2.34.2, AI Bridge provider handlers read request bodies with `io.ReadAll` without a maximum size so an authenticated user with AI Bridge access could send an arbitrarily large body and exhaust memory. Exploitation requires authenticated access to the AI Bridge endpoints and the impact is limited to availability (denial of service). Versions 2.33.8 and 2.34.2 patch the issue. No known workarounds are available.
From the CVE record · GitHub_M
AI Bridge provider handlers read request bodies without a size limit. An authenticated user with AI Bridge access can send an arbitrarily large request body to exhaust memory and cause a denial of service.
Operators using Go package github.com/coder/coder/v2 versions >=2.33.0 <2.33.8 or >=2.34.0 <2.34.2, or github.com/coder/coder (all versions), should check their deployments.