SQL Injection Affecting github.com/layer5io/meshery/models package, versions <0.5.3


0.0
high

Snyk CVSS

    Attack Complexity Low
    Confidentiality High
Expand this section
NVD
9.8 critical

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-GITHUBCOMLAYER5IOMESHERYMODELS-1277183
  • published 28 Apr 2021
  • disclosed 28 Apr 2021
  • credit Unknown

How to fix?

Upgrade github.com/layer5io/meshery/models to version 0.5.3 or higher.

Overview

github.com/layer5io/meshery/models is a multi-mesh management plane with initial functionality as a playground to faciliate learning about functionality and performance of different service meshes.

Affected versions of this package are vulnerable to SQL Injection via the REST API. It allows an attacker to execute arbitrary SQL commands via the /experimental/patternfiles endpoint (order parameter in GetMesheryPatterns in models/meshery_pattern_persister.go).