CVE-2024-35182

GHSL-2024-014 Meshery SQL Injection vulnerability

Published May 27, 2024 CVSS 3.1 · 5.9 Medium EPSS 1.6% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2024-2591 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.
Github GHSA Github GHSA GHSA-h7cm-jvpp-69xf Meshery SQL Injection vulnerability
History
Type Values Removed Values Added
First Time appeared Layer5
Layer5 meshery
CPEs cpe:2.3:a:layer5:meshery:*:*:*:*:*:*:*:*
Vendors & Products Layer5
Layer5 meshery
Weaknesses

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Aug 13, 2024, 4:50 PM
Reserved
May 10, 2024, 2:24 PM
Status
Analyzed
Published
May 27, 2024, 7:15 PM
Modified
Jun 17, 2026, 7:34 AM