Authorization Bypass Affecting istio.io/istio/pilot/pkg/security/authz/matcher Open this link in a new tab package, versions >=1.11.0 <1.11.1 >=1.10.0 <1.10.4 <1.9.8
Attack Complexity
Low
User Interaction
Required
Confidentiality
High
Integrity
High
Do your applications use this vulnerable package?
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applications-
snyk-id
SNYK-GOLANG-ISTIOIOISTIOPILOTPKGSECURITYAUTHZMATCHER-1569480
-
published
25 Aug 2021
-
disclosed
25 Aug 2021
-
credit
Yangmin Zhu of Google
Introduced: 25 Aug 2021
CVE-2021-39155 Open this link in a new tabHow to fix?
Upgrade istio.io/istio/pilot/pkg/security/authz/matcher
to version 1.11.1, 1.10.4, 1.9.8 or higher.
Overview
istio.io/istio/pilot/pkg/security/authz/matcher is an An open platform to connect, manage, and secure microservices.
Affected versions of this package are vulnerable to Authorization Bypass. According to RFC 4343, Istio authorization policy should compare the hostname in the HTTP Host header in a case insensitive way, but currently the comparison is case sensitive. An HTTP request could potentially bypass an Istio authorization policy when using rules based on hosts
or notHosts
.
For example, the user could have an authorization policy that rejects requests with host secret.com
, but the attacker can bypass this by sending the request with hostname Secret.com
. The routing flow routes the traffic to the backend for secret.com
which is a policy violation.