Description
Istio is an open platform to connect, manage, and secure microservices. Prior to 1.30.9, 1.31.5, and 1.32.1, getRemoteContentWithRetry in pilot/pkg/model/jwks_resolver.go used unbounded io.ReadAll before HTTP status or JWKS validation for remote JWKS and OpenID discovery responses. A principal able to create or update RequestAuthentication can point jwksUri or issuer at an arbitrarily large response, exhaust istiod memory, and cause recurring OOMKilled restarts because the background refresher re-fetches the endpoint. The default PILOT_JWT_ENABLE_REMOTE_JWKS=false configuration is affected. This issue is fixed in versions 1.30.9, 1.31.5, and 1.32.1.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
istio istio
>= 1.30.0, < 1.30.9affected>= 1.31.0, < 1.31.5affected>= 1.32.0, < 1.32.1affected
References
- https://github.com/istio/istio/security/advisories/GHSA-7vw6-2xxx-fch6 ↗
- https://github.com/istio/istio/commit/3a80c2e020ce5ba8c096423e78a4e59ed5b20101 ↗
- https://github.com/istio/istio/commit/8abc60d84f03f4d0087dca74b9835a2c25bac747 ↗
- https://github.com/istio/istio/commit/c1bbe7a88404e66a3761a735815515bac6588704 ↗
- https://github.com/istio/istio/releases/tag/1.30.9 ↗
- https://github.com/istio/istio/releases/tag/1.31.5 ↗
- https://github.com/istio/istio/releases/tag/1.32.1 ↗