Coder from 2.38.0 before 2.38.4 Memory Exhaustion DoS via Web Push
NIST has not reviewed this entry yet, so scores and affected versions may be missing or may change.
Coder 2.21.0 before 2.29.24, 2.30.0 before 2.34.16, 2.35.0 before 2.36.11, 2.37.0 before 2.37.8, and 2.38.0 before 2.38.4 reads Web Push endpoint responses in webpushSend with io.ReadAll, without a size limit or client timeout. Any authenticated user can register a subscription via POST /api/v2/users/{user}/webpush/subscription pointing to a server returning an endless body, exhausting coderd memory and crashing the API, dashboard, and workspace connections.
Uncontrolled Resource Consumption CWE-400
An attacker can make the software use up memory, disk or processing power until it stops working.
The product does not properly control the allocation and maintenance of a limited resource.
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.38.0, before 2.38.4 | 2.38.4 |
| Coder Coder | Software | from 2.37.0, before 2.37.8 | 2.37.8 |
| Coder Coder | Software | from 2.36.0, before 2.36.11 | 2.36.11 |
| Coder Coder | Software | from 2.30.0, before 2.34.16 | 2.34.16 |
| Coder Coder | Software | from 2.21.0, before 2.29.24 | 2.29.24 |
| Coder Coder | Software | from 2.35.0, before 2.36.0 | 2.36.0 |
The 7.1 severity score (high) 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 | Low | Easy to carry out. No special conditions have to line up. |
| Setup needed on the target | None | No special setup on the target is needed. |
| Login needed | Low | The attacker needs an ordinary user account. |
| Someone has to act | None | Nobody has to click or open anything. It can happen on its own. |
| Data exposed | None | No data can be read. |
| Data changed | None | Nothing can be changed. |
| 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.