CVE-2022-31045 Ill-formed headers may lead to unexpected behavior in Istio

High 7.0 Published Updated

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.

PackageAffectedFixed in
istio.io/istio GoAll versions1.12.18
istio.io/istio GoAll versions1.12.18
istio.io/istio GoFrom 1.13.01.13.5
istio.io/istio GoFrom 1.13.01.13.5
istio.io/istio GoFrom 1.14.01.14.1
istio.io/istio GoFrom 1.14.01.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.

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.

Is CVE-2022-31045 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free