This CVE is a regression, not accumulated code debt. When Envoy extended ext_authz to handle CONNECT requests, nobody audited the existing code paths that dereference request metadata without checking for null. The query_parameters_to_set and query_parameters_to_remove configuration options assume every request has a path — a precondition that was true when ext_authz only processed REST-style traffic, but becomes false under CONNECT. The crash occurs at the intersection of three independently reasonable configurations: ext_authz enabled, CONNECT accepted, and query parameter mutation configured. The vulnerability is an unauthenticated DoS — any client can send a CONNECT request to a vulnerable Envoy instance and crash the process. In cloud-native deployments where Envoy serves as ingress or sidecar, this single request affects every tenant sharing that proxy instance.
The pattern has a name: assumption migration. When a code path's preconditions are never explicitly asserted, they become invisible infrastructure. The fix (checking Path() != nullptr before dereferencing) is trivial. What matters is whether Envoy's development process now includes precondition audits when adding protocol support to filters that predate that protocol. Without institutional memory of this pattern — a CI gate, a pre-commit checklist, a style guide entry — the next protocol extension (WebSocket, HTTP/3, gRPC-web) will reveal the same failure mode in a different filter. The configuration schema doesn't catch these combinations because it never encoded the implicit HTTP structural invariants that the filter code assumed. That's the systemic gap: schema validation catches known failure modes, but assumption migration creates failure modes nobody thought to validate for.