CVE-2021-39155: istio Improper Handling of Case Sensitivity
Vulnerability summary
CVE-2021-39155 is a high (CVSS 8.3) Improper Handling of Case Sensitivity vulnerability in istio. EPSS estimates a 1.19% chance of exploitation in the next 30 days, higher than 67.3% of scored vulnerabilities.
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.19%
Chance of exploitation in the next 30 days
Percentile
67%
Versus all other CVEs
30-day change
0.00 pp
From 1.19% on 19-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
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
Chainguard10 products
- 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)
- istio-pilot-agent-1.22All 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 · 14 products
References
7 links- github.com/istio/istio/security/advisories/GHSA-7774-7vr3-cc8jX Refsource CONFIRMAdvisoryWEBThird Party Advisory
- github.com/istio/istioPACKAGE