Istio is an open platform to connect, manage, and secure microservices. From 1.30.0 until 1.30.9, 1.31.5, and 1.32.1, the strict gateway merging protection (PILOT_ENABLE_STRICT_GATEWAY_MERGING, enabled by default) identified Kubernetes Gateway API-managed gateways solely by the internal.istio.io/gateway-semantics and internal.istio.io/service-account-name annotations, which admission validation did not reject when set by users. A user who can create or update an Istio Gateway can set internal.istio.io/gateway-semantics: gateway so that the Gateway is merged into a managed Gateway API gateway proxy in another namespace whose labels its selector matches. Also setting internal.istio.io/service-account-name causes the attacker's namespace to be treated as managed, so every other Gateway in that namespace is merged as well. istiod trusted these annotations on stored resources, including Gateway resources stored before the fix or created while the validation webhook was unavailable. An attacker can add listeners and hosts to another namespace's gateway proxy, and conflicting servers can cause legitimate configuration to be rejected or shadowed. This issue is fixed in versions 1.30.9, 1.31.5, and 1.32.1.
https://github.com/istio/istio/security/advisories/GHSA-94hp-7c48-x2x3
https://github.com/istio/istio/releases/tag/1.32.1
https://github.com/istio/istio/releases/tag/1.31.5
https://github.com/istio/istio/releases/tag/1.30.9
https://github.com/istio/istio/commit/f7006dd7b0ef50aabf1b0ccb86505340f52a8257
https://github.com/istio/istio/commit/a39d6201f3681676338ccc3856a4d564e2b40152
https://github.com/istio/istio/commit/a0bd9d69102cb809a3194a72e47b54c48cfe7415