{"id":"CVE-2021-31856","published":"2021-04-28T05:14:14Z","modified":"2024-08-03T23:10:30Z","title":"A SQL Injection vulnerability in the REST API in Layer5 Meshery 0.5.2 allows an attacker to execute arbitrary SQL…","vendor":null,"product":null,"tier":"core","eol":null,"description":{"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).","provenance":"source","from":"CVE.org"},"summary":{"text":"A SQL injection flaw exists in the REST API of Layer5 Meshery 0.5.2, specifically in the order parameter of GetMesheryPatterns in models/meshery_pattern_persister.go, reached via the /experimental/patternfiles endpoint.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-10-29T07:18:28Z"},"cvss":null,"epss":{"score":0.75384,"percentile":0.99515,"date":"2026-11-01","provenance":"source"},"kev":null,"vulncheckKev":null,"exploited":false,"otx":{"pulseCount":0,"pulses":[],"provenance":"machine"},"cwes":[],"references":[{"url":"https://meshery.io","tags":["x_refsource_MISC"]},{"url":"https://github.com/layer5io/meshery/pull/2745","tags":["x_refsource_MISC"]}],"techniques":[],"reports":[],"affected":[],"advisories":[],"euvd":{"id":"EUVD-2021-18731","url":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2021-18731","exploited":false,"exploitedSince":null,"provenance":"source"},"exploits":[],"exploitSources":{"nuclei":[{"id":"CVE-2021-31856","name":"Layer5 Meshery 0.5.2 - SQL Injection","severity":"critical","path":"http/cves/2021/CVE-2021-31856.yaml","url":"https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2021/CVE-2021-31856.yaml"}],"provenance":"source"},"exploitRefs":[],"flow":[],"timeline":[{"date":"2021-04-28","kind":"published","label":"Published (CVE.org)","url":"https://www.cve.org/CVERecord?id=CVE-2021-31856","provenance":"source"}],"speed":{"daysToPublicExploit":null,"firstExploitFrom":null,"daysToKev":null},"priority":{"score":24.9,"factors":[{"name":"In a KEV catalog","points":0.0,"detail":"not listed"},{"name":"Recent KEV listing","points":0.0,"detail":"not listed"},{"name":"Known ransomware use","points":0.0,"detail":"not known"},{"name":"EPSS percentile","points":19.9,"detail":"percentile 0.9951"},{"name":"Named in threat reports","points":0.0,"detail":"0 reports"},{"name":"Public exploit code","points":5.0,"detail":"1 nuclei template"},{"name":"Mentioned in OTX pulses","points":0.0,"detail":"0 pulses"},{"name":"CVSS severity","points":0.0,"detail":"no CVSS"},{"name":"End-of-life product","points":0.0,"detail":"supported or unknown"}]}}