github metrico/gigapipe v5.6.2

one hour ago

Security

This release fixes a high-severity SQL injection in the TraceQL metrics endpoints (/api/metrics/query_range and /api/metrics/query, plus their /tempo versions). Regex filters (=~, !~) weren't escaped properly, so an unauthenticated caller could run their own SQL on ClickHouse with the reader's account. All versions up to and including 5.6.1 are affected. Upgrade is strongly recommended.

Advisory: GHSA-w49g-c353-q3rg

If you can't upgrade straight away, enable basic auth (QRYN_LOGIN and QRYN_PASSWORD), or connect the reader with a read-only ClickHouse account limited to Gigapipe's database.

Thanks to @NotAFlightRisk for reporting it.

Behaviour change

In TraceQL metrics regex filters, \b now means a word boundary (it was read as a backspace character) and \\ matches a literal backslash. Other patterns behave as before.

What's Changed

Full Changelog: v5.6.1...v5.6.2

Don't miss a new gigapipe release

NewReleases is sending notifications on new releases.