CVE-2022-2238 SQL injection in Red Hat Advanced Cluster Management for Kubernetes

Medium 6.5 Published Updated

Attackers can crash the search-api pod via crafted queries, causing denial of service in Red Hat Advanced Cluster Management.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2022-2238?

CVE-2022-2238 is a medium-severity SQL injection vulnerability in Red Hat Advanced Cluster Management for Kubernetes, published on 1 Sep 2022. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

A vulnerability was found in the search-api container in Red Hat Advanced Cluster Management for Kubernetes when a query in the search filter gets parsed by the backend. This flaw allows an attacker to craft specific strings containing special characters that lead to crashing the pod and affects system availability while restarting.

Weakness: CWE-89

Which versions are affected by CVE-2022-2238?

It affects 1 product.

Products include Redhat Advanced Cluster Management for Kubernetes.

How do I fix CVE-2022-2238?

No fix has been published for CVE-2022-2238 yet. Limit exposure of the affected software until one is available.

Use parameterised queries everywhere and never build SQL by joining strings. Upgrade affected software first; a web application firewall only buys time. More about SQL injection.

Is CVE-2022-2238 being exploited?

There is no known exploitation of CVE-2022-2238 in the wild and no public exploit code.

Sources

Also known as GHSA-gpp7-gqhm-5827.

Is CVE-2022-2238 in your software?

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

Check your SBOMs for free