# CVE-2021-39155: Authorization Policy Bypass Due to Case Insensitive Host Comparison

- Priority: **Routine**
- Reason: Not severe (CVSS 8.3, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2021-08-24 · Modified: 2024-08-04
- Aliases: CGA-478r-gg72-qg8j, CGA-9mg9-653q-5v9v, CGA-cjm3-rf5g-x2h8, CGA-xxhg-32cx-7v8q, GHSA-7774-7vr3-cc8j, CGA-2299-5w64-5mvm, CGA-2m25-q5gf-jxr7, CGA-2x7c-r444-8j3q, CGA-63w8-48jq-jv97, CGA-66x3-26hj-4cf5, CGA-6ww4-p8q4-85vc, CGA-8mx6-7c4j-9xwm, CGA-9ghx-qrh5-xg43, CGA-9wfq-68jc-vvx7, CGA-9xv6-gm9x-8rqx, CGA-g62j-gjxp-p8f2, CGA-jpf2-8rgw-5vp3, CGA-m3m6-9m4c-rmpr, CGA-mhhj-mx36-rgcq, CGA-qx6x-7m9f-m533, CGA-vq8v-fh47-xm85, CGA-4j36-qjj5-6j45, CGA-7g9g-694f-vx2c, CGA-4w6f-rf42-68qg, CGA-8c4j-5482-6vp9, CGA-m42f-rwfx-4vx6, CGA-rw6x-3389-v9hr, CGA-265w-m548-m9jg, CGA-4pg6-rr85-p59v, CGA-j492-4q9h-5wmr, CGA-p3j7-rmmm-qjcp
- Record: https://cvemate.com/vulnerability/CVE-2021-39155 · JSON: https://cvemate.com/vulnerability/CVE-2021-39155/json

## Description

```text
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.
```

## Signals

- CVSS: 8.3 high (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:L
- EPSS: 1.253%, percentile 70.444%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- chainguard agentgateway-controller (Chainguard): All versions (No fix recorded)
- chainguard cert-manager-istio-csr (Chainguard): All versions (No fix recorded)
- chainguard cert-manager-istio-csr-compat (Chainguard): All versions (No fix recorded)
- chainguard cert-manager-istio-csr-compat-fips (Chainguard): All versions (No fix recorded)
- chainguard cert-manager-istio-csr-fips (Chainguard): All versions (No fix recorded)
- chainguard istio-pilot-agent-1.22 (Chainguard): All versions (No fix recorded)
- chainguard istio-pilot-discovery-1.22 (Chainguard): All versions (No fix recorded)
- chainguard kagent (Chainguard): All versions (No fix recorded)
- chainguard kgateway-2.3 (Chainguard): All versions (No fix recorded)
- chainguard kgateway-2.4 (Chainguard): All versions (No fix recorded)
- chainguard kgateway-2.5 (Chainguard): All versions (No fix recorded)
- chainguard kgateway-fips-2.3 (Chainguard): All versions (No fix recorded)
- chainguard kgateway-fips-2.4 (Chainguard): All versions (No fix recorded)
- chainguard sail-operator (Chainguard): All versions (No fix recorded)
- chainguard sail-operator-fips (Chainguard): All versions (No fix recorded)
- wolfi cert-manager-istio-csr (Wolfi): All versions (No fix recorded)
- wolfi cert-manager-istio-csr-compat (Wolfi): All versions (No fix recorded)
- istio.io istio (Go): \< 1.9.8 \| ≥ 1.10.0, \< 1.10.4 \| ≥ 1.11.0, \< 1.11.1
- istio istio: ≤ 1.9.8 \| \< 1.9.8 \| ≥ 1.10.0, \< 1.10.4 \| ≥ 1.11.0, \< 1.11.1

## References

- <https://github.com/istio/istio/security/advisories/GHSA-7774-7vr3-cc8j>
- <https://datatracker.ietf.org/doc/html/rfc4343>
- <https://nvd.nist.gov/vuln/detail/CVE-2021-39155>
- <https://github.com/istio/istio/commit/084b417a486dbe9b9024d4812877016a484572b1>
- <https://github.com/istio/istio/commit/76ed51413ddd2a7fa253a368ab20a9cec5fb1cbe>
- <https://github.com/istio/istio/commit/90b00bdf891e6c770cb3235c14a9b1fda96cc7c5>
- <https://github.com/istio/istio>

---

Data as of 2026-12-05T09:39:16.136Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
