GO-2026-5115: Grafana Loki Path Traversal - CVE-2021-36156 Bypass in github.com/grafana/loki
package
Version:
v3.4.5
Opens a new window with list of versions in this module.
Published: Jul 11, 2025
License: AGPL-3.0
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package bufpool offers a pool of *bytes.Buffer objects that are placed
into exponentially sized buckets.
Bucketing prevents the memory cost of a pool from permanently increasing
when a large buffer is placed into the pool.
Get returns a buffer from the pool for the given size. Returned buffers are
reset and ready for writes.
The capacity of the returned buffer is guaranteed to be at least size.
Put returns a buffer to the pool. The buffer is placed into an appropriate
bucket based on its current capacity.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.