Vulnerability Details : CVE-2021-31856
A SQL Injection vulnerability in the REST API in Layer5 Meshery 0.5.2 allows an attacker to execute arbitrary SQL commands via the /experimental/patternfiles endpoint (order parameter in GetMesheryPatterns in models/meshery_pattern_persister.go).
Vulnerability category: Sql Injection
Products affected by CVE-2021-31856
- cpe:2.3:a:layer5:meshery:0.5.2:*:*:*:*:*:*:*
Exploit prediction scoring system (EPSS) score for CVE-2021-31856
40.72%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 97 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2021-31856
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
7.5
|
HIGH | AV:N/AC:L/Au:N/C:P/I:P/A:P |
10.0
|
6.4
|
NIST | |
9.8
|
CRITICAL | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
3.9
|
5.9
|
NIST |
CWE ids for CVE-2021-31856
-
The product constructs all or part of an SQL command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended SQL command when it is sent to a downstream component. Without sufficient removal or quoting of SQL syntax in user-controllable inputs, the generated SQL query can cause those inputs to be interpreted as SQL instead of ordinary user data.Assigned by: nvd@nist.gov (Primary)
References for CVE-2021-31856
-
https://meshery.io
Meshery The Service Mesh Manager | MesheryProduct;Vendor Advisory
-
https://github.com/layer5io/meshery/pull/2745
Add "order by" query sanitization by utkarsh-pro · Pull Request #2745 · layer5io/meshery · GitHubPatch;Third Party Advisory
Jump to