Grafana grafana/grafana-enterprise
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.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 3.0.0, < 11.6.9
Fixed in 11.6.9
- >= 3.0.0, < 12.0.8
Fixed in 12.0.8
- >= 3.0.0, < 12.1.5
Fixed in 12.1.5
- >= 3.0.0, < 11.6.9
Fixed in 11.6.9
- >= 3.0.0, < 12.0.8
Fixed in 12.0.8
- >= 3.0.0, < 12.1.5
Fixed in 12.1.5
- >= 3.0.0, < 12.2.3
Fixed in 12.2.3
- >= 3.0.0, < 12.2.3
Fixed in 12.2.3
- >= 3.0.0, < 12.3.1
Fixed in 12.3.1
- >= 3.0.0, < 12.3.1
Fixed in 12.3.1
Mitigation
Upgrade grafana/grafana-enterprise to 11.6.9 or later.
Upgrade grafana/grafana-enterprise to 12.0.8 or later.
Upgrade grafana/grafana-enterprise to 12.1.5 or later.
Upgrade grafana/grafana to 11.6.9 or later.
Upgrade grafana/grafana to 12.0.8 or later.
Upgrade grafana/grafana to 12.1.5 or later.
Upgrade grafana/grafana-enterprise to 12.2.3 or later.
Upgrade grafana/grafana to 12.2.3 or later.
Upgrade grafana/grafana-enterprise to 12.3.1 or later.
Upgrade grafana/grafana to 12.3.1 or later.
References
- Vendor advisory grafana.com/security/security-advisories/cve-20…
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.