Istio is an open platform to connect, manage, and secure microservices. From 1.30.0 until 1.30.8 and 1.31.4, AuthorizationPolicy fields source.ipBlocks, source.notIpBlocks, and the source.ip condition compile to direct_remote_ip on the main_internal listener used by ambient waypoints and sidecar HBONE inbound traffic. That listener sees envoy://internal instead of the client address. On these paths, DENY rules that rely on ipBlocks can fail open, CUSTOM rules that rely on ipBlocks can skip the external authorizer, and notIpBlocks rules can match every request; source.ip restrictions are likewise evaluated against the internal address for HTTP and TCP traffic. This issue is fixed in versions 1.30.8 and 1.31.4.
https://github.com/istio/istio/security/advisories/GHSA-9gqj-583v-mpqp
https://github.com/istio/istio/releases/tag/1.32.0
https://github.com/istio/istio/releases/tag/1.31.4
https://github.com/istio/istio/releases/tag/1.30.8
https://github.com/istio/istio/pull/62645
https://github.com/istio/istio/pull/62644
https://github.com/istio/istio/pull/62636
https://github.com/istio/istio/pull/62558
https://github.com/istio/istio/issues/62522
https://github.com/istio/istio/commit/d9fa8b0cb2f652579659bde1ebcf7b3bdf013471
https://github.com/istio/istio/commit/d06f9cb29e319153d6806474405032bbbfd99561
https://github.com/istio/istio/commit/9dbea67dd920f0d52ae3d1acb865c750375086bb
https://github.com/istio/istio/commit/6a20e06275da959a4d06ffbcc8260e5891d0143c