envoyproxy/envoy

wasm: metrics never expire and accumulate

Aperta

#14.070 aperta il 17 nov 2020

 (14 commenti) (8 reazioni) (0 assegnatari)C++ (5373 fork)batch import
area/statsarea/wasmbughelp wanted

Metriche repository

Star
 (27.997 stelle)
Metriche merge PR
 (Merge medio 8g) (378 PR mergiate in 30 g)

Descrizione

Wasm filter implements the stats by allocating Envoy stats in the context and never de-allocating them. Since ABI encourages dynamic values, the stats accumulate and eventually leak (also, potentially exposing a security risk if stat values are untrusted).

Guida contributor