SQL Injection Affecting github.com/layer5io/meshery/models Open this link in a new tab package, versions <0.5.3
Attack Complexity
Low
Confidentiality
High
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
Introduced: 28 Apr 2021
CVE-2021-31856 Open this link in a new tabHow 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
).