CVE-2024-35182
GHSL-2024-014 Meshery SQL Injection vulnerability
Also known as GHSA-h7cm-jvpp-69xf, GO-2024-3051
Mitigation
- Upgrade github.com/layer5io/meshery to 0.7.22 or later.
Who should check
- Projects that depend on Go package github.com/layer5io/meshery (< 0.7.22)
- Anyone running meshery < 0.7.22
Vulnerability facts
- Affected
- github.com/layer5io/meshery < 0.7.22
- Fixed in
- 0.7.22
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- Yes: see the exploit references below
- Remote exploitation
- Remote, login needed
- CVSS
- 5.9 (v3.1, CNA)CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:L/A:NOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Network
- Attack complexity: High
- Privileges required: Low
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: High
- Integrity impact: Low
- Availability impact: None
- EPSS
- 2.35% chance of exploitation in 30 days (percentile 84, 2026-11-26)
- CWE
- CWE-89
- Modified
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.22 may lead to arbitrary file write by using a SQL injection stacked queries payload, and the ATTACH DATABASE command. Additionally, attackers may be able to access and modify any data stored in the database, like performance profiles (which may contain session cookies), Meshery application data, or any Kubernetes configuration added to the system. The Meshery project exposes the function `GetAllEvents` at the API URL `/api/v2/events`. The sort query parameter read in `events_streamer.go` is directly used to build a SQL query in `events_persister.go`. Version 0.7.22 fixes this issue by using the `SanitizeOrderInput` function.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Go github.com/layer5io/meshery | < 0.7.22 | 0.7.22 | osv |
| meshery | < 0.7.22 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2024-35182. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2024-35182.md Affected: github.com/layer5io/meshery < 0.7.22 Fixed in: 0.7.22 Steps: 1. Search this machine and project for github.com/layer5io/meshery (Go), meshery: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Vendor advisories
Patches
FAQ
Is CVE-2024-35182 being exploited?
There is no confirmed exploitation: CVE-2024-35182 is not in the CISA Known Exploited Vulnerabilities catalog. Public exploit code or a proof of concept is available. EPSS estimates a 2.35% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2024-35182?
Medium: CVSS 5.9 (v3.1, scored by CNA). Remote, login needed. The attack needs conditions outside the attacker's control, which makes it harder.
Which versions are affected by CVE-2024-35182?
github.com/layer5io/meshery < 0.7.22.
Is there a fix for CVE-2024-35182?
Yes. Fixed in 0.7.22. Upgrade github.com/layer5io/meshery to 0.7.22 or later.
How do I check if I'm affected by CVE-2024-35182?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.