CVE-2022-31045 — istio
HIGHCVE-2022-31045 is a high-severity (CVSS 7) Out-of-bounds Read vulnerability in istio.io/istio. A fix is available for istio.io/istio — see the affected versions and patch details below.
Ill-formed headers may lead to unexpected behavior in Istio
Exploitation Status
No confirmed exploitation observed yet
- CISA’s own triage has not observed active exploitation or public proof-of-concept code for this CVE as of its last assessment.
Exploitation and automatability from CISA’s SSVC triage for CVE-2022-31045.
EPSS Exploitation Probability
Probability of exploitation in the next 30 days, from FIRST.org EPSS.
How urgent is this, really
Where this sits among everything scored
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
Ill-formed headers sent to Envoy in certain configurations can lead to unexpected memory access resulting in undefined behavior or crashing.
You are at most risk if you have an Istio ingress Gateway exposed to external traffic.
Patches
1.12.8, 1.13.5, 1.14.1
Workarounds
No.
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.12.18go get istio.io/istio@v1.12.18 |
| 🐹Go | istio.io/istio | ≥ 1.13.0&&< 1.13.5 | 1.13.5go get istio.io/istio@v1.13.5 |
| 🐹Go | istio.io/istio | ≥ 1.14.0&&< 1.14.1 | 1.14.1go get istio.io/istio@v1.14.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.12.18 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms CVE-2022-31045 is resolved across your whole dependency graph.
Workarounds
Constrain what reaches the vulnerable code: limit the size and shape of untrusted input, isolate the affected component in a sandboxed or least-privileged process, and enable the platform's memory-safety mitigations (ASLR, stack protector, hardened allocator) so an out-of-bounds access is more likely to fail closed than to be exploitable.
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 2.1 | servicemesh-0:2.1.3-1.el8 | RHSA-2022:5004 |
Frequently Asked Questions
Is CVE-2022-31045 in your dependencies?
Find it across Go, including transitive dependencies.