Description
Coder allows organizations to provision remote development environments via Terraform. Starting in version 2.30.0 and prior to versions 2.32.7, 2.33.8, and 2.34.2, AI Bridge proxy endpoints authenticate via `Server.IsAuthorized` in `coderd/aibridgedserver`, which validates key format, expiry, secret and deleted or system users but does not check whether the account is suspended. Because suspension does not revoke existing API keys, a suspended user's unexpired token keeps working. Practical impact is limited to already-issued API keys of suspended users until those keys are deleted. Versions 2.32.7, 2.33.8, and 2.34.2 patch the issue. As a workaround, on suspension, delete the user's API keys via `DELETE /api/v2/users/{user}/keys`.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
coder coder
>= 2.34.0, < 2.34.2affected>= 2.33.0, < 2.33.8affected>= 2.30.0, < 2.32.7affected
References
- https://github.com/coder/coder/security/advisories/GHSA-wqxv-w64v-5wh6 ↗
- https://github.com/coder/coder/pull/26164 ↗
- https://github.com/coder/coder/pull/26173 ↗
- https://github.com/coder/coder/commit/0d2c9f904a8b75b888140fcc8fbf4633660cc787 ↗
- https://github.com/coder/coder/releases/tag/v2.32.7 ↗
- https://github.com/coder/coder/releases/tag/v2.33.8 ↗
- https://github.com/coder/coder/releases/tag/v2.34.2 ↗