Unauthenticated DoS: avatar cache leaks goroutines when /avatar/:hash requests time out
Every uncached /avatar/:hash request spawns a goroutine that refreshes the Gravatar image. If the refresh sits in the 10-slot worker queue longer than three seconds, the handler times out and stops listening for the result, so that goroutine blocks forever trying to send on an unbuffered channel. Sustained traffic with random hashes keeps tripping this timeout, so goroutine count grows linearly, eventually exhausting memory and causing Grafana to crash on some systems.
describes (1)
Related CVEs.
| ID | severity | exploitable | ||
|---|---|---|---|---|
| CVE-2026-21720US | — | — | ||
Every uncached /avatar/:hash request spawns a goroutine that refreshes the Gravatar image. If the refresh sits in the 10-slot worker queue longer than three seconds, the handler ti… | ||||
references
External citations — patches, advisories, analysis.
- https://access.redhat.com/security/cve/CVE-2026-21720WEB
- https://bugzilla.redhat.com/show_bug.cgi?id=2433226WEB
- https://grafana.com/security/security-advisories/CVE-2026-21720WEB
- https://grafana.com/security/security-advisories/cve-2026-21720WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-21720WEB
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-21720.jsonWEB
Advisories like this name the exposed products attackers go after on your perimeter. See what is exposed on your perimeter with a free passive scan.
Free scan