Advisories

Coder from 2.38.0 before 2.38.4 Memory Exhaustion DoS via Web Push

Go back
Severity
high
Date
Affecting
  • coder >= 2.38.0, < 2.38.4

  • coder >= 2.37.0, < 2.37.8

  • coder >= 2.36.0, < 2.36.11

  • coder >= 2.30.0, < 2.34.16

  • coder >= 2.21.0, < 2.29.24

  • coder >= 2.35.0, < 2.36.0

CWE
  • CWE-400 Uncontrolled Resource Consumption
CVSS
7.1
CVSS V4 Vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
Credit
BobbyHo
Description
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.

Ready to get Started?

Explore VulnCheck, a next-generation Cyber Threat Intelligence platform, which provides exploit and vulnerability intelligence to help you prioritize and remediate vulnerabilities that matter.
  • Vulnerability Prioritization
    Prioritize vulnerabilities that matter based on the threat landscape and defer vulnerabilities that don't.
  • Early Warning System
    Real-time alerting of changes in the vulnerability landscape so that you can take action before the attacks start.