envoyproxy/envoy

wasm: metrics never expire and accumulate

Ouverte

#14 070 ouverte le 17 nov. 2020

 (14 commentaires) (8 réactions) (0 personne assignée)C++ (5 373 forks)batch import
area/statsarea/wasmbughelp wanted

Métriques du dépôt

Stars
 (27 997 étoiles)
Métriques de merge PR
 (Merge moyen 8j) (378 PRs mergées en 30 j)

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

Guide contributeur