{"cve":"CVE-2024-35181","nvd":{"published":"2024-05-27T19:15:08.620","modified":"2026-06-17T07:34:29.823","status":"Analyzed","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 `GetMeshSyncResourcesKinds` at the API URL `/api/system/meshsync/resources/kinds`. The order query parameter is directly used to build a SQL query in `meshync_handler.go`. Version 0.7.22 fixes this issue.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N","score":8.1},"cwes":["CWE-89"],"references":["https://github.com/meshery/meshery/blob/b331f45c9083d7abf6b90105072b04cd22473de7/server/handlers/meshsync_handler.go#L187","https://github.com/meshery/meshery/commit/8e995ce21af02d32ef61689c1e1748a745917f13","https://github.com/meshery/meshery/commit/b55f6064d0c6a965aee38f30281f99da7dc4420c","https://github.com/meshery/meshery/pull/10207","https://github.com/meshery/meshery/pull/10280"],"products":["layer5:meshery"],"source":"nvd","synced_at":"2026-10-19T21:50:30.954589733+00:00"},"epss":{"cve":"CVE-2024-35181","score":0.01596,"percentile":0.7574,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-9f24-jrv4-f8g5","url":"https://osv.dev/vulnerability/GHSA-9f24-jrv4-f8g5","summary":"Meshery SQL Injection vulnerability","modified":"2024-08-06T23:11:58.563744Z","packages":[{"ecosystem":"Go","name":"github.com/layer5io/meshery","purl":"pkg:golang/github.com/layer5io/meshery","ranges":["<0.7.22"],"fixed":["0.7.22"]}]},{"id":"GO-2024-3050","url":"https://osv.dev/vulnerability/GO-2024-3050","summary":"Meshery SQL Injection vulnerability in github.com/layer5io/meshery","modified":"2024-08-06T23:11:58.563744Z","packages":[{"ecosystem":"Go","name":"github.com/layer5io/meshery","purl":"pkg:golang/github.com/layer5io/meshery","ranges":["all versions"],"fixed":[]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}