CVE-2024-29031 Meshery SQL Injection vulnerability

High 7.5 Published Updated

Remote attackers can exploit a SQL injection flaw in Meshery to obtain sensitive information via the order parameter.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2024-29031?

CVE-2024-29031 is a high-severity SQL injection vulnerability in meshery, published on 21 Mar 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

Meshery is an open source, cloud native manager that enables the design and management of Kubernetes-based infrastructure and applications. A SQL injection vulnerability in Meshery prior to version 0.7.17 allows a remote attacker to obtain sensitive information via the `order` parameter of `GetMeshSyncResources`. Version 0.7.17 contains a patch for this issue.

Weakness: CWE-89

Which versions are affected by CVE-2024-29031?

3 open source packages ship an affected version, including github.com/layer5io/meshery. It affects 1 product.

PackageAffectedFixed in
github.com/layer5io/meshery GoAll versions0.7.17
github.com/layer5io/meshery GoAll versions0.7.17
github.com/layer5io/meshery GoAll versions0.7.17

Products include Layer5 Meshery.

How do I fix CVE-2024-29031?

Upgrade github.com/layer5io/meshery to 0.7.17 or later.

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-2024-29031 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-29031 exists.

Sources

Also known as GHSA-652r-q29p-m25h, GO-2024-3045.

Is CVE-2024-29031 in your software?

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

Check your SBOMs for free