CVE-2021-39155: Authorization Policy Bypass Due to Case Insensitive Host Comparison
Vulnerability summary
CVE-2021-39155 is a high (CVSS 8.3) Improper Handling of Case Sensitivity vulnerability in istio. EPSS estimates a 1.25% chance of exploitation in the next 30 days, higher than 70.4% of scored vulnerabilities.
Not severe (CVSS 8.3, network access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 2 · Related 15Timeline
- 24-08-2021PublishedVulnerability first disclosed.
- 04-08-2024Last modifiedVulnerability information updated.
Description
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](https://datatracker.ietf.org/doc/html/rfc4343), 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](https://istio.io/latest/docs/ops/best-practices/security/#case-normalization) guide.
CVSS metrics
6 scores · 5 sources · 2 versions- OSV · WolfiEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:NDiffers
- OSV · GoEcosystem advisory · calculated8.3HighCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:L
- OSV · ChainguardEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:NDiffers
- NVDNIST7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:NDiffers
EPSS trend
Probability
1.25%
Chance of exploitation in the next 30 days
Percentile
70%
Versus all other CVEs
30-day change
Increase +0.01 pp
From 1.24% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root cause- CWE-178Improper Handling of Case SensitivityThe product does not properly account for differences in case sensitivity when accessing or determining the properties of a resource, leading to inconsistent results.
- CWE-863Incorrect AuthorizationThe product performs an authorization check when an actor attempts to access a resource or perform an action, but it does not correctly perform the check.
Affected systems
Known conditions: network-reachable, no authentication, user interaction (CVSS vector). Other conditions: not stated in public data.
Chainguard15 products
- agentgateway-controllerAll versions (No fix recorded)
- cert-manager-istio-csrAll versions (No fix recorded)
- cert-manager-istio-csr-compatAll versions (No fix recorded)
- cert-manager-istio-csr-compat-fipsAll versions (No fix recorded)
- cert-manager-istio-csr-fipsAll versions (No fix recorded)
Wolfi2 products
- cert-manager-istio-csrAll versions (No fix recorded)
- cert-manager-istio-csr-compatAll versions (No fix recorded)
Istio1 product
- istio≤ 1.9.8 | < 1.9.8 | ≥ 1.10.0, < 1.10.4 | ≥ 1.11.0, < 1.11.1
Istio.io1 product
- istio< 1.9.8 | ≥ 1.10.0, < 1.10.4 | ≥ 1.11.0, < 1.11.1
4 vendors · 19 products
References
7 links- github.com/istio/istio/security/advisories/GHSA-7774-7vr3-cc8jX Refsource CONFIRMAdvisoryWEBThird Party Advisory
- github.com/istio/istioPACKAGE