CVE-2021-39156 — istio
HIGHCVE-2021-39156 is a high-severity (CVSS 7.5) CWE-863 vulnerability in istio.io/istio. A fix is available for istio.io/istio — see the affected versions and patch details below.
Istio Fragments in Path May Lead to Authorization Policy Bypass
EPSS Exploitation Probability
Probability of exploitation in the next 30 days, from FIRST.org EPSS.
How urgent is this, really
CVE-2021-39156 by exploitation likelihood (EPSS) against impact (CVSS). Outside the shaded patch-first corner.
Where this sits among everything scored
Of 385,386 CVEs with a current EPSS score, this one falls in the < 10% band (highlighted). Counts from FIRST.org, log-scaled.
Real-World Exposure
istio.io/istio🐹istio.io/istio🐹istio.io/istioReal-time download stats are indexed for npm and PyPI packages. This vulnerability affects Go packages — download data is not available via public APIs for these ecosystems.
Description
Impact
Istio 1.11.0, 1.10.3 and below, and 1.9.7 and below contain a remotely exploitable vulnerability where an HTTP request with #fragment in the path may bypass Istio’s URI path based authorization policies.
Patches
- Istio 1.11.1 and above
- Istio 1.10.4 and above
- Istio 1.9.8 and above
Workarounds
A Lua filter may be written to normalize the path. This is similar to the Path normalization presented in the Security Best Practices guide.
References
More details can be found in the Istio Security Bulletin
For more information
If you have any questions or comments about this advisory, please email us at [email protected]
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| 🐹Go | istio.io/istio | all versions | 1.9.8go get istio.io/istio@v1.9.8 |
| 🐹Go | istio.io/istio | ≥ 1.10.0&&< 1.10.4 | 1.10.4go get istio.io/istio@v1.10.4 |
| 🐹Go | istio.io/istio | ≥ 1.11.0&&< 1.11.1 | 1.11.1go get istio.io/istio@v1.11.1 |
Affected Products
istioistioDetection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for istio.io/istio, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update istio.io/istio to 1.9.8 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms CVE-2021-39156 is resolved across your whole dependency graph.
Workarounds
Put an independent control in front of the weakness: restrict the affected endpoint or interface to trusted networks, require an additional authentication factor or proxy-level check, and invalidate existing sessions and credentials in case the flaw has already been used.
Fixing This On Your OS
If you run this on a Linux distribution, patch through your package manager against the distro's own security advisory below — it tracks the exact backported fix for your release, which can ship on a different timeline (and sometimes a different severity) than the upstream project.
| Product | Fixed in | Advisory |
|---|---|---|
| OpenShift Service Mesh 1.1 | servicemesh-0:1.1.17-3.el8 | RHSA-2021:3273 |
| OpenShift Service Mesh 2.0 | servicemesh-0:2.0.7-3.el8 | RHSA-2021:3272 |
Frequently Asked Questions
Is CVE-2021-39156 in your dependencies?
Find it across Go, including transitive dependencies.