envoyproxy/envoy

wasm: metrics never expire and accumulate

Open

#14,070 opened on Nov 17, 2020

View on GitHub
 (14 comments) (8 reactions) (0 assignees)C++ (5,373 forks)batch import
area/statsarea/wasmbughelp wanted

Repository metrics

Stars
 (27,997 stars)
PR merge metrics
 (Avg merge 7d 21h) (260 merged PRs in 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).

Contributor guide