SQL Injection

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

Report new vulnerabilities
Do your applications use this vulnerable package? Test your applications

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).

Remediation

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

References

CVSS Score

7.6
high severity
  • Attack Vector
    Network
  • Attack Complexity
    Low
  • Privileges Required
    Low
  • User Interaction
    None
  • Scope
    Unchanged
  • Confidentiality
    High
  • Integrity
    Low
  • Availability
    Low
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:L
Credit
Unknown
CVE
CVE-2021-31856
CWE
CWE-89
Snyk ID
SNYK-GOLANG-GITHUBCOMLAYER5IOMESHERYMODELS-1277183
Disclosed
28 Apr, 2021
Published
28 Apr, 2021