Every CVE Search/ Get API key

CVE-2021-39155

Authorization Policy Bypass Due to Case Insensitive Host Comparison

8.3 HighFix available

Istio is an open source platform for providing a uniform way to integrate microservices, manage traffic flow across microservices, enforce policies and aggregate telemetry data. 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. The proxy will route the request hostname in a case-insensitive way which means the authorization policy could be bypassed. As an example, the user may have an authorization policy that rejects request with hostname "httpbin.foo" for some source IPs, but the attacker can bypass this by sending the request with hostname "Httpbin.Foo". Patches are available in Istio 1.11.1, Istio 1.10.4 and Istio 1.9.8. As a work around a Lua filter may be written to normalize Host header before the authorization check. This is similar to the Path normalization presented in the Security Best Practices guide.

Attack profile

How easy it is to exploit

Attack vector
Network
Complexity
Low
Privileges needed
None
User interaction
Required

What an attacker can affect

Confidentiality
High
Integrity
High
Availability
Low

Exploit likelihood

1.24%Up 0.6 points since Aug 25, 2021
90%50%10%1%

What each source reports

CVE List Score used 8.3

Authorization Policy Bypass Due to Case Insensitive Host Comparison

Istio is an open source platform for providing a uniform way to integrate microservices, manage traffic flow across microservices, enforce policies and aggregate telemetry data. 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. The proxy will route the request hostname in a case-insensitive way which means the authorization policy could be bypassed. As an example, the user may have an authorization policy that rejects request with hostname "httpbin.foo" for some source IPs, but the attacker can bypass this by sending the request with hostname "Httpbin.Foo". Patches are available in Istio 1.11.1, Istio 1.10.4 and Istio 1.9.8. As a work around a Lua filter may be written to normalize Host header before the authorization check. This is similar to the Path normalization presented in the Security Best Practices guide.

Record
CVE-2021-39155
CVSS 3.1
8.3 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:L
Weakness
CWE-178
Updated
2026-11-02
EUVDEUVD-2021-1611 8.3

Istio is an open source platform for providing a uniform way to integrate microservices, manage traffic flow across microservices, enforce policies and aggregate telemetry data. 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. The proxy will route the request hostname in a case-insensitive way which means the authorization policy could be bypassed. As an example, the user may have an authorization policy that rejects request with hostname "httpbin.foo" for some source IPs, but the attacker can bypass this by sending the request with hostname "Httpbin.Foo". Patches are available in Istio 1.11.1, Istio 1.10.4 and Istio 1.9.8. As a work around a Lua filter may be written to normalize Host header before the authorization check. This is similar to the Path normalization presented in the Security Best Practices guide.

Record
EUVD-2021-1611
CVSS 3.1
8.3 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:L
Updated
2026-11-03
GitHub AdvisoriesGHSA-7774-7vr3-cc8j 8.3

Authorization Policy Bypass Due to Case Insensitive Host Comparison

Impact

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. The Envoy proxy will route the request hostname in a case-insensitive way which means the authorization policy could be bypassed.

As an example, the user may have an authorization policy that rejects request with hostname "httpbin.foo" for some source IPs, but the attacker can bypass this by sending the request with hostname "Httpbin.Foo".

Patches

  • Istio 1.11.1 and above
  • Istio 1.10.4 and above
  • Istio 1.9.8 and above

Workarounds

A Lua filter may be written to normalize Host header before the authorization check. This is similar to the Path normalization presented in the Security Best Practices guide.

References

More details can be found in the Istio Security Bulletin.

For more information

If you have any questions or comments about this advisory, please email us at [email protected]

Record
GHSA-7774-7vr3-cc8j
CVSS 3.1
8.3 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:L
Weakness
CWE-178
Updated
2026-11-02
NVD 8.3

Istio is an open source platform for providing a uniform way to integrate microservices, manage traffic flow across microservices, enforce policies and aggregate telemetry data. 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. The proxy will route the request hostname in a case-insensitive way which means the authorization policy could be bypassed. As an example, the user may have an authorization policy that rejects request with hostname "httpbin.foo" for some source IPs, but the attacker can bypass this by sending the request with hostname "Httpbin.Foo". Patches are available in Istio 1.11.1, Istio 1.10.4 and Istio 1.9.8. As a work around a Lua filter may be written to normalize Host header before the authorization check. This is similar to the Path normalization presented in the Security Best Practices guide.

Record
CVE-2021-39155
CVSS 3.1
8.3 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:L
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
CVSS 2.0
5.0 MediumAV:N/AC:L/Au:N/C:P/I:N/A:N
Weakness
CWE-178, CWE-863
Updated
2026-11-02
OSV 7.5

Istio is an open source platform for providing a uniform way to integrate microservices, manage traffic flow across microservices, enforce policies and aggregate telemetry data. 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. The proxy will route the request hostname in a case-insensitive way which means the authorization policy could be bypassed. As an example, the user may have an authorization policy that rejects request with hostname "httpbin.foo" for some source IPs, but the attacker can bypass this by sending the request with hostname "Httpbin.Foo". Patches are available in Istio 1.11.1, Istio 1.10.4 and Istio 1.9.8. As a work around a Lua filter may be written to normalize Host header before the authorization check. This is similar to the Path normalization presented in the Security Best Practices guide.

Record
CVE-2021-39155
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Updated
2026-11-02
OSVGHSA-7774-7vr3-cc8j 8.3

Authorization Policy Bypass Due to Case Insensitive Host Comparison

Impact

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. The Envoy proxy will route the request hostname in a case-insensitive way which means the authorization policy could be bypassed.

As an example, the user may have an authorization policy that rejects request with hostname "httpbin.foo" for some source IPs, but the attacker can bypass this by sending the request with hostname "Httpbin.Foo".

Patches

  • Istio 1.11.1 and above
  • Istio 1.10.4 and above
  • Istio 1.9.8 and above

Workarounds

A Lua filter may be written to normalize Host header before the authorization check. This is similar to the Path normalization presented in the Security Best Practices guide.

References

More details can be found in the Istio Security Bulletin.

For more information

If you have any questions or comments about this advisory, please email us at [email protected]

Record
GHSA-7774-7vr3-cc8j
CVSS 3.1
8.3 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:L
Weakness
CWE-178
Updated
2026-11-02
OSVRHSA-2021:3272 8.3

Red Hat Security Advisory: Red Hat OpenShift Service Mesh 2.0.7.1 security update

Record
RHSA-2021:3272
CVSS 3.1
8.3 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:L
Updated
2026-11-02
OSVRHSA-2021:3273 8.3

Red Hat Security Advisory: Red Hat OpenShift Service Mesh 1.1.17.1 security update

Record
RHSA-2021:3273
CVSS 3.1
8.3 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:L
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
istio.io/istio
Go
before 1.9.8
1.9.8
istio.io/istio
Go
1.10.0 up to 1.10.4
1.10.4
istio.io/istio
Go
1.11.0 to 1.11.0
1.11.1
istio.io/istio
Go
1.11.0 up to 1.11.1
1.11.1
servicemesh-proxy
Red Hat:service_mesh:2.0::el8
From an advisory covering 5 CVEs
before 0:2.0.7-3.el8
0:2.0.7-3.el8
servicemesh
Red Hat:service_mesh:2.0::el8
From an advisory covering 5 CVEs
before 0:2.0.7-3.el8
0:2.0.7-3.el8
servicemesh-istioctl
Red Hat:service_mesh:2.0::el8
From an advisory covering 5 CVEs
before 0:2.0.7-3.el8
0:2.0.7-3.el8
servicemesh-mixc
Red Hat:service_mesh:2.0::el8
From an advisory covering 5 CVEs
before 0:2.0.7-3.el8
0:2.0.7-3.el8
servicemesh-mixs
Red Hat:service_mesh:2.0::el8
From an advisory covering 5 CVEs
before 0:2.0.7-3.el8
0:2.0.7-3.el8
servicemesh-pilot-agent
Red Hat:service_mesh:2.0::el8
From an advisory covering 5 CVEs
before 0:2.0.7-3.el8
0:2.0.7-3.el8
Show 11 moreShow less
Affected packages
PackageAffectedFixed
servicemesh-pilot-discovery
Red Hat:service_mesh:2.0::el8
From an advisory covering 5 CVEs
before 0:2.0.7-3.el8
0:2.0.7-3.el8
servicemesh-proxy
Red Hat:service_mesh:1.1::el8
From an advisory covering 5 CVEs
before 0:1.1.17-2.el8
0:1.1.17-2.el8
servicemesh
Red Hat:service_mesh:1.1::el8
From an advisory covering 5 CVEs
before 0:1.1.17-3.el8
0:1.1.17-3.el8
servicemesh-citadel
Red Hat:service_mesh:1.1::el8
From an advisory covering 5 CVEs
before 0:1.1.17-3.el8
0:1.1.17-3.el8
servicemesh-galley
Red Hat:service_mesh:1.1::el8
From an advisory covering 5 CVEs
before 0:1.1.17-3.el8
0:1.1.17-3.el8
servicemesh-istioctl
Red Hat:service_mesh:1.1::el8
From an advisory covering 5 CVEs
before 0:1.1.17-3.el8
0:1.1.17-3.el8
servicemesh-mixc
Red Hat:service_mesh:1.1::el8
From an advisory covering 5 CVEs
before 0:1.1.17-3.el8
0:1.1.17-3.el8
servicemesh-mixs
Red Hat:service_mesh:1.1::el8
From an advisory covering 5 CVEs
before 0:1.1.17-3.el8
0:1.1.17-3.el8
servicemesh-pilot-agent
Red Hat:service_mesh:1.1::el8
From an advisory covering 5 CVEs
before 0:1.1.17-3.el8
0:1.1.17-3.el8
servicemesh-pilot-discovery
Red Hat:service_mesh:1.1::el8
From an advisory covering 5 CVEs
before 0:1.1.17-3.el8
0:1.1.17-3.el8
servicemesh-sidecar-injector
Red Hat:service_mesh:1.1::el8
From an advisory covering 5 CVEs
before 0:1.1.17-3.el8
0:1.1.17-3.el8

History

History
RecordedChangedSources
affected, facts
aliasesEUVD
first indexedCVE List, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2021-39155 is a high vulnerability (CVSS 8.3) in Istio, published August 24, 2021. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 1.24%, the 69th percentile. Fixed in istio.io/istio 1.9.8.

References

Show 27 moreShow less
MoveEnter Open