CVE-2024-35182
GHSL-2024-014 Meshery SQL Injection vulnerability
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.
INFO
Published Date :
May 27, 2024, 7:15 p.m.
Last Modified :
Sept. 2, 2025, 8:41 p.m.
Remotely Exploit :
Yes !
Source :
[email protected]
CVSS Scores
Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
---|---|---|---|---|---|---|
CVSS 3.1 | MEDIUM | [email protected] | ||||
CVSS 3.1 | HIGH | [email protected] |
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2024-35182
.
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2024-35182
is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2024-35182
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2024-35182
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2024-35182
vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
Initial Analysis by [email protected]
Sep. 02, 2025
Action Type Old Value New Value Added CVSS V3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N Added CPE Configuration OR *cpe:2.3:a:layer5:meshery:*:*:*:*:*:*:*:* versions up to (excluding) 0.7.22 Added Reference Type CVE: https://github.com/meshery/meshery/blob/b331f45c9083d7abf6b90105072b04cd22473de7/server/handlers/events_streamer.go#L52 Types: Product Added Reference Type GitHub, Inc.: https://github.com/meshery/meshery/blob/b331f45c9083d7abf6b90105072b04cd22473de7/server/handlers/events_streamer.go#L52 Types: Product Added Reference Type CVE: https://github.com/meshery/meshery/blob/b331f45c9083d7abf6b90105072b04cd22473de7/server/models/events_persister.go#L47 Types: Product Added Reference Type GitHub, Inc.: https://github.com/meshery/meshery/blob/b331f45c9083d7abf6b90105072b04cd22473de7/server/models/events_persister.go#L47 Types: Product Added Reference Type CVE: https://github.com/meshery/meshery/commit/b55f6064d0c6a965aee38f30281f99da7dc4420c Types: Patch Added Reference Type GitHub, Inc.: https://github.com/meshery/meshery/commit/b55f6064d0c6a965aee38f30281f99da7dc4420c Types: Patch Added Reference Type CVE: https://github.com/meshery/meshery/pull/10280 Types: Issue Tracking, Patch Added Reference Type GitHub, Inc.: https://github.com/meshery/meshery/pull/10280 Types: Issue Tracking, Patch Added Reference Type CVE: https://securitylab.github.com/advisories/GHSL-2024-013_GHSL-2024-014_Meshery/ Types: Exploit, Third Party Advisory Added Reference Type GitHub, Inc.: https://securitylab.github.com/advisories/GHSL-2024-013_GHSL-2024-014_Meshery/ Types: Exploit, Third Party Advisory -
CVE Modified by af854a3a-2127-422b-91ae-364da2661108
Nov. 21, 2024
Action Type Old Value New Value Added Reference https://github.com/meshery/meshery/blob/b331f45c9083d7abf6b90105072b04cd22473de7/server/handlers/events_streamer.go#L52 Added Reference https://github.com/meshery/meshery/blob/b331f45c9083d7abf6b90105072b04cd22473de7/server/models/events_persister.go#L47 Added Reference https://github.com/meshery/meshery/commit/b55f6064d0c6a965aee38f30281f99da7dc4420c Added Reference https://github.com/meshery/meshery/pull/10280 Added Reference https://securitylab.github.com/advisories/GHSL-2024-013_GHSL-2024-014_Meshery/ -
CVE Received by [email protected]
May. 27, 2024
Action Type Old Value New Value Added 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. Added Reference GitHub, Inc. https://securitylab.github.com/advisories/GHSL-2024-013_GHSL-2024-014_Meshery/ [No types assigned] Added Reference GitHub, Inc. https://github.com/meshery/meshery/pull/10280 [No types assigned] Added Reference GitHub, Inc. https://github.com/meshery/meshery/commit/b55f6064d0c6a965aee38f30281f99da7dc4420c [No types assigned] Added Reference GitHub, Inc. https://github.com/meshery/meshery/blob/b331f45c9083d7abf6b90105072b04cd22473de7/server/handlers/events_streamer.go#L52 [No types assigned] Added Reference GitHub, Inc. https://github.com/meshery/meshery/blob/b331f45c9083d7abf6b90105072b04cd22473de7/server/models/events_persister.go#L47 [No types assigned] Added CWE GitHub, Inc. CWE-89 Added CVSS V3.1 GitHub, Inc. AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:L/A:N