# Meshery SQL Injection vulnerability

Advisory record · `GHSA-h7cm-jvpp-69xf`

- **Identifiers:** `GHSA-h7cm-jvpp-69xf` · `CVE-2024-35182` · `GO-2024-3051`
- **State:** Confirmed
- **Severity:** CVSS 5.9 Medium
- **Critical:** No
- **Weakness (CWE):** [CWE-89](https://cwe.mitre.org/data/definitions/89.html)
- **Tags:** [SQL injection](https://agentprime.io/advisories/tag/sql-injection.md)
- **Published:** 5 Aug 2024
- **Updated:** 6 Aug 2024
- **Reviewed by a person:** No

Published by the GitHub Advisory Database at 5 Aug 2024, 21:29 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

## Affected packages

- `github.com/layer5io/meshery` (Go): affected `<0.7.22`; fixed in `0.7.22`

## Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

## Severity and exploitation

- 5.9 Medium, CVSS 3.1: `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:L/A:N`, from CNA (GitHub_M)

- **CISA KEV:** Not listed.
- **EPSS:** 0.016, the 75th percentile, on 21 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

This record came from the full history of the GitHub Advisory Database, published 5 Aug 2024. New records show when each source confirmed them.

## Sources

- [GitHub Advisory Database: GHSA-h7cm-jvpp-69xf](https://github.com/advisories/GHSA-h7cm-jvpp-69xf)
- [OSV: GHSA-h7cm-jvpp-69xf](https://osv.dev/vulnerability/GHSA-h7cm-jvpp-69xf)
- <https://nvd.nist.gov/vuln/detail/CVE-2024-35182>
- <https://github.com/meshery/meshery/pull/10280>
- <https://github.com/meshery/meshery/commit/b55f6064d0c6a965aee38f30281f99da7dc4420c>
- <https://github.com/layer5io/meshery>
- <https://github.com/meshery/meshery/blob/b331f45c9083d7abf6b90105072b04cd22473de7/server/handlers/events_streamer.go#L52>
- <https://github.com/meshery/meshery/blob/b331f45c9083d7abf6b90105072b04cd22473de7/server/models/events_persister.go#L47>
- <https://securitylab.github.com/advisories/GHSL-2024-013_GHSL-2024-014_Meshery>

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.

## Check whether this affects you

A Match means an installed version is in the affected range above. Most don’t affect the app; agentprime hasn’t analysed this one yet.

- With the agentprime MCP server (<https://api.agentprime.io/mcp>), ask your agent to check the project: `check_lockfile` sends a lockfile, `check_packages` a list of installed packages, and both return the Matches and the upgrades that clear them. `get_advisory` returns this record. Setup: <https://agentprime.io/mcp.md>
- In a browser: <https://agentprime.io/check/> reads your lockfile in the browser, never uploading it.
- Whether it touches your code, with file and line: the Claude Code plugin, <https://agentprime.io/plugin.md>
- As JSON: <https://api.agentprime.io/v1/advisories/GHSA-h7cm-jvpp-69xf>, or `POST https://api.agentprime.io/v1/match` with your packages (<https://agentprime.io/api.md>)

---

The web page: <https://agentprime.io/advisories/GHSA-h7cm-jvpp-69xf/>. Everything for agents: <https://agentprime.io/llms.txt>.
