CVE-2022-31045 Ill-formed headers may lead to unexpected behavior in Istio
Ill-formed headers can cause unexpected memory access and crashes in Istio Envoy proxies, primarily affecting exposed ingress gateways.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2022-31045?
CVE-2022-31045 is a high-severity memory corruption vulnerability in istio, published on 9 Jun 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
Istio is an open platform to connect, manage, and secure microservices. In affected versions ill-formed headers sent to Envoy in certain configurations can lead to unexpected memory access resulting in undefined behavior or crashing. Users are most likely at risk if they have an Istio ingress Gateway exposed to external traffic. This vulnerability has been resolved in versions 1.12.8, 1.13.5, and 1.14.1. Users are advised to upgrade. There are no known workarounds for this issue.
Weakness: CWE-125
Which versions are affected by CVE-2022-31045?
6 open source packages ship an affected version, including istio.io/istio. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
istio.io/istio Go | All versions | 1.12.18 |
istio.io/istio Go | All versions | 1.12.18 |
istio.io/istio Go | From 1.13.0 | 1.13.5 |
istio.io/istio Go | From 1.13.0 | 1.13.5 |
istio.io/istio Go | From 1.14.0 | 1.14.1 |
istio.io/istio Go | From 1.14.0 | 1.14.1 |
Products include Istio Istio.
How do I fix CVE-2022-31045?
Upgrade istio.io/istio to a fixed version for your release line: 1.12.18, 1.13.5 or 1.14.1.
Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.
Is CVE-2022-31045 being exploited?
There is no known exploitation of CVE-2022-31045 in the wild and no public exploit code.
Other vulnerabilities in istio
- CVE-2021-31921 Missing authorization in n/a
- CVE-2021-34824 Information disclosure in n/a
- CVE-2026-31837 Istio JWKS resolver to prevent private key material from being exposed when JWKS fetch fails.
- CVE-2021-39155 Authorization Policy Bypass Due to Case Insensitive Host Comparison
- CVE-2021-39156 Fragments in Path May Lead to Authorization Policy Bypass
Sources
Also known as GHSA-xwx5-5c9g-x68x, MINI-26xr-p39q-gp2f, MINI-2rfh-4hmw-pv37, MINI-42g9-8vc8-888j, MINI-4wh7-32qv-pjwv, MINI-883c-9xw3-gqhw and 3 more.