Grafana Tempo
Tempo query limit results in unbounded memory allocation
Tempo queries with large limits can cause large memory allocations which can impact the availability of the service, depending on its deployment strategy. Mitigation can be done by setting max_result_limit in the search config, e.g. to 262144 (2^18). Alternatively, automatically restart the service.
Affected versions and mitigation
From the CVE record, GitHub Security Advisories and the vendor's references.Affected
- >= 1.3.0, <= 2.8.3
- >= 2.9.0, <= 2.9.1
- >= 2.10.0, <= 2.10.1
- >= 1.0.0, <= 2.8.7
- >= 1.3.0, < 2.8.4
Fixed in 2.8.4
from GitHub Security Advisory GHSA-p4r4-xvrq-gvmc
- >= 2.9.0, < 2.9.2
Fixed in 2.9.2
from GitHub Security Advisory GHSA-p4r4-xvrq-gvmc
- >= 2.10.0, < 2.10.2
Fixed in 2.10.2
from GitHub Security Advisory GHSA-p4r4-xvrq-gvmc
Mitigation
Upgrade github.com/grafana/tempo to 2.8.4 or later.
Upgrade github.com/grafana/tempo to 2.9.2 or later.
Upgrade github.com/grafana/tempo to 2.10.2 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.