{"id":"CVE-2021-31856","aliases":["CVE-2021-31856"],"related":[],"kind":"vulnerability","state":"published","title":"A SQL Injection vulnerability in the REST API in Layer5 Meshery 0.5.2 allows an attacker to execute arbitrary SQL commands via the /experim…","summary":"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).","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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).","source":"cvelist"},{"lang":"es","text":"Una vulnerabilidad de inyección SQL en la API REST en Layer5 Meshery versión 0.5.2, permite a un atacante ejecutar comandos SQL arbitrarios por medio del endpoint /experimental/patternfiles (parámetro de orden en GetMesheryPatterns en el archivo models/meshery_pattern_persister.go)","source":"nvd"}],"published":"2021-04-28T05:14:14.000Z","modified":"2026-06-17T03:52:21.440Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","score":7.5,"rating":"HIGH"}],"cwes":["CWE-89"],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"},{"ranges":[{"status":"affected","version":"0.5.2"}],"vendor":"layer5","product":"meshery","cpe":"cpe:2.3:a:layer5:meshery:0.5.2:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://meshery.io","tags":["product","vendor-advisory","x-refsource-misc","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://github.com/layer5io/meshery/pull/2745","tags":["patch","third-party-advisory","x-refsource-misc","x-transferred"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"mitre","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2021-31856","url":"https://www.cve.org/CVERecord?id=CVE-2021-31856","licence":"CVE Terms of Use","modified":"2024-08-03T23:10:30.772Z"},{"source":"nvd","name":"NVD","id":"CVE-2021-31856","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-31856","licence":"Public domain","modified":"2026-06-17T03:52:21.440Z"}],"updatedAt":"2026-11-25T22:58:01.067Z","epss":{"score":0.75384,"percentile":0.99519,"date":"2026-12-01T12:00:22.000Z"}}