content/en/news/security/istio-security-2021-001/index.md
{{< security_bulletin >}}
Envoy, and subsequently Istio, is vulnerable to a newly discovered vulnerability:
You are subject to the vulnerability if you are using RequestAuthentication alone for JWT validation.
You are not subject to the vulnerability if you use both RequestAuthentication and AuthorizationPolicy for JWT validation.
{{< warning >}}
Please note that RequestAuthentication is used to define a list of issuers that should be accepted. It does not reject
a request without JWT token.
{{< /warning >}}
For Istio, this vulnerability only exists if your service:
RequestAuthentication)AuthorizationPolicy applied.For the service paths that both conditions are met, an incoming request with a JWT token, and the token issuer is not in
RequestAuthentication will bypass the JWT validation, instead of getting rejected.
For proper JWT validation, you should always use the AuthorizationPolicy as documented on istio.io for
specifying a valid token.
To do this you will have to audit all of your RequestAuthentication and subsequent AuthorizationPolicy resources to
make sure they align with the documented practice.
{{< boilerplate "security-vulnerability" >}}