envoyproxy/envoy

wasm: metrics never expire and accumulate

Aberta

#14.070 aberto em 17 de nov. de 2020

 (14 comentários) (8 reações) (0 responsável)C++ (5.373 forks)batch import
area/statsarea/wasmbughelp wanted

Métricas do repositório

Stars
 (27.997 estrelas)
Métricas de merge de PR
 (Mesclagem média 8d) (378 fundiu PRs em 30d)

Description

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).

Guia do colaborador