Description Preview
Overview
CVE-2021-39155 affects Istio's authorization policy enforcement mechanism. The vulnerability stems from Istio performing case-sensitive comparisons of hostnames in HTTP Host headers during authorization checks, despite RFC 4343 specifying that hostnames should be compared case-insensitively. Since Istio's proxy routes requests in a case-insensitive way but enforces authorization policies based on case-sensitive comparisons, attackers can bypass security restrictions by simply changing the case of characters in the hostname. For example, if an authorization policy blocks requests to "httpbin.foo" from certain source IPs, an attacker could bypass this restriction by sending requests to "Httpbin.Foo" instead.
Remediation
Users should upgrade to one of the following patched versions:
- Istio 1.11.1
- Istio 1.10.4
- Istio 1.9.8
If immediate upgrading is not possible, a workaround is available: implement a Lua filter to normalize the Host header before the authorization check occurs. This approach is similar to the path normalization technique described in Istio's Security Best Practices guide. The filter should convert all hostnames to a consistent case (typically lowercase) before authorization policies are applied.
References
- RFC 4343: Domain Name System (DNS) Case Insensitivity Clarification - https://datatracker.ietf.org/doc/html/rfc4343
- GitHub Security Advisory GHSA-7774-7vr3-cc8j - https://github.com/istio/istio/security/advisories/GHSA-7774-7vr3-cc8j
- Istio Security Best Practices Guide - https://istio.io/latest/docs/ops/best-practices/security/#case-normalization
Industry ExposureMost to leastThis section illustrates the prevalence of a specific Common Vulnerabilities and Exposures (CVE) across various industries based on customer reports. The ranking displays industries from the most to least affected by this particular vulnerability, offering valuable insight into where this CVE has been most frequently observed. This information can help organizations within these sectors prioritize their security efforts, understand their relative risk exposure compared to their peers, and focus remediation strategies where they are most needed. By understanding the industry-specific impact, organizations can make more informed decisions regarding patching, resource allocation, and overall risk management related to this CVE.
- Management of Companies & EnterprisesManagement of Companies & Enterprises
- Other Services (except Public Administration)Other Services (except Public Administration)
- Accommodation & Food ServicesAccommodation & Food Services
- Administrative, Support, Waste Management & Remediation ServicesAdministrative, Support, Waste Management & Remediation Services
- Agriculture, Forestry Fishing & HuntingAgriculture, Forestry Fishing & Hunting
- Arts, Entertainment & RecreationArts, Entertainment & Recreation
- ConstructionConstruction
- Educational ServicesEducational Services
- Finance and InsuranceFinance and Insurance
- Health Care & Social AssistanceHealth Care & Social Assistance
- InformationInformation
- ManufacturingManufacturing
- MiningMining
- Professional, Scientific, & Technical ServicesProfessional, Scientific, & Technical Services
- Public AdministrationPublic Administration
- Real Estate Rental & LeasingReal Estate Rental & Leasing
- Retail TradeRetail Trade
- Transportation & WarehousingTransportation & Warehousing
- UtilitiesUtilities
- Wholesale TradeWholesale Trade