SQL Injection Affecting github.com/meshery/meshery/server/handlers package, versions <0.7.22


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team

    Threat Intelligence

    Exploit Maturity
    Proof of concept
    EPSS
    0.05% (16th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk ID SNYK-GOLANG-GITHUBCOMMESHERYMESHERYSERVERHANDLERS-7148580
  • published 28 May 2024
  • disclosed 27 May 2024
  • credit Tony Torralba

How to fix?

Upgrade github.com/meshery/meshery/server/handlers to version 0.7.22 or higher.

Overview

Affected versions of this package are vulnerable to SQL Injection via the GetAllEvents function which is exposed through /api/v2/events. An attacker can modify or access sensitive data by injecting SQL commands through the sort query parameter.

CVSS Scores

version 3.1
Expand this section

Snyk

5.9 medium
  • Attack Vector (AV)
    Network
  • Attack Complexity (AC)
    High
  • Privileges Required (PR)
    Low
  • User Interaction (UI)
    None
  • Scope (S)
    Unchanged
  • Confidentiality (C)
    High
  • Integrity (I)
    Low
  • Availability (A)
    None