Intel

AIKIDO-2024-10109

github.com/thanos-io/thanos is vulnerable to Denial of Service (DoS)

Denial of Service (DoS) Pre-CVE
Found by Aikido Intel before public disclosure or CVE publication.
Published May 28, 2024

25

Low Risk

This Affects:

Gogithub.com/thanos-io/thanos
0.18.0 - 0.35.0
Fixed in 0.35.1
Are you affected? Scan for Free

TL;DR

Affected versions of the package are vulnerable to Denial of Service (DoS). The Series method in the serverAsClient struct incurs goroutine leaks when the request is stopped due to a context cancellation.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range.

Background info

github.com/thanos-io/thanos is vulnerable to Denial of Service (DoS) in versions 0.18.0 - 0.35.0.

How to fix this

Upgrade the github.com/thanos-io/thanos library to the patch version.