CVE-2021-39155
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.
Weakness
- CWE-178: Improper Handling of Case Sensitivity
Timeline
- 2021-08-24Published by the CNA22:25 UTC
- 2021-08-30GitHub advisory published (GHSA-7774-7vr3-cc8j)6 days after publication
Exploit and advisory records
GitHub advisory GHSA-7774-7vr3-cc8j, affected packages:
| Package | Vulnerable versions | Fixed in |
|---|---|---|
| Go istio.io/istio | before 1.9.8 | 1.9.8 |
| Go istio.io/istio | from 1.10.0 before 1.10.4 | 1.10.4 |
| Go istio.io/istio | from 1.11.0 before 1.11.1 | 1.11.1 |
Affected products
Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.
| Product | Vulnerable versions | Fixed in |
|---|---|---|
| istio istio | from 1.10.0 before 1.10.4fixed in 1.10.4from 1.11.0 before 1.11.1fixed in 1.11.1before 1.9.8fixed in 1.9.8 | 1.10.41.11.11.9.8 |
References
- https://datatracker.ietf.org/doc/html/rfc4343
- https://github.com/istio/istio/security/advisories/GHSA-7774-7vr3-cc8j
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cve_lookup/CVE-2021-39155'curl 'https://api.contrastcyber.com/cve_risk_score/CVE-2021-39155'curl 'https://api.contrastcyber.com/cve_exploit/CVE-2021-39155'curl 'https://api.contrastcyber.com/cve_products/CVE-2021-39155'
Sources
- Vulnerability data from the National Vulnerability Database (NIST) and the CVE Program. CVE records: Copyright © 1999-2026, The MITRE Corporation, used under the CVE Program Terms of Use. CVE® is a registered trademark of The MITRE Corporation.
- CWE definitions: Copyright © 2006-2026, The MITRE Corporation, used under the CWE Terms of Use. CWE is a trademark of The MITRE Corporation.
- OWASP Top 10 categories by the OWASP Foundation (CC BY 3.0).
- EPSS scores by FIRST.org EPSS, used with attribution.
- KEV catalog and SSVC decisions by CISA.
- Advisory data from the GitHub Advisory Database through OSV.dev (CC BY 4.0).
- Exploit metadata from the Exploit Database (GPL-2.0-only, metadata only).
- Nuclei template names from nuclei-templates (MIT).