{"containers":{"cna":{"affected":[{"product":"n/a","vendor":"n/a","versions":[{"status":"affected","version":"n/a"}]}],"descriptions":[{"lang":"en","value":"An issue was discovered in OpenRemote through 1.0.4 allows attackers to execute arbitrary code via a crafted Groovy rule."}],"problemTypes":[{"descriptions":[{"description":"n/a","lang":"en","type":"text"}]}],"providerMetadata":{"dateUpdated":"2022-09-06T17:50:24.000Z","orgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","shortName":"mitre"},"references":[{"tags":["x_refsource_MISC"],"url":"https://github.com/openremote/openremote/"},{"tags":["x_refsource_MISC"],"url":"https://stackoverflow.com/questions/159148/groovy-executing-shell-commands"},{"tags":["x_refsource_MISC"],"url":"https://stackoverflow.com/questions/66069960/groovy-shell-sandboxing-best-practices"},{"tags":["x_refsource_MISC"],"url":"https://securityblog101.blogspot.com/2022/09/cve-2022-31860.html"}],"x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"cve@mitre.org","ID":"CVE-2022-31860","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"n/a","version":{"version_data":[{"version_value":"n/a"}]}}]},"vendor_name":"n/a"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"An issue was discovered in OpenRemote through 1.0.4 allows attackers to execute arbitrary code via a crafted Groovy rule."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"n/a"}]}]},"references":{"reference_data":[{"name":"https://github.com/openremote/openremote/","refsource":"MISC","url":"https://github.com/openremote/openremote/"},{"name":"https://stackoverflow.com/questions/159148/groovy-executing-shell-commands","refsource":"MISC","url":"https://stackoverflow.com/questions/159148/groovy-executing-shell-commands"},{"name":"https://stackoverflow.com/questions/66069960/groovy-shell-sandboxing-best-practices","refsource":"MISC","url":"https://stackoverflow.com/questions/66069960/groovy-shell-sandboxing-best-practices"},{"name":"https://securityblog101.blogspot.com/2022/09/cve-2022-31860.html","refsource":"MISC","url":"https://securityblog101.blogspot.com/2022/09/cve-2022-31860.html"}]}}},"adp":[{"providerMetadata":{"orgId":"af854a3a-2127-422b-91ae-364da2661108","shortName":"CVE","dateUpdated":"2024-08-03T07:26:01.286Z"},"title":"CVE Program Container","references":[{"tags":["x_refsource_MISC","x_transferred"],"url":"https://github.com/openremote/openremote/"},{"tags":["x_refsource_MISC","x_transferred"],"url":"https://stackoverflow.com/questions/159148/groovy-executing-shell-commands"},{"tags":["x_refsource_MISC","x_transferred"],"url":"https://stackoverflow.com/questions/66069960/groovy-shell-sandboxing-best-practices"},{"tags":["x_refsource_MISC","x_transferred"],"url":"https://securityblog101.blogspot.com/2022/09/cve-2022-31860.html"}]},{"problemTypes":[{"descriptions":[{"type":"CWE","cweId":"CWE-94","lang":"en","description":"CWE-94 Improper Control of Generation of Code ('Code Injection')"}]}],"metrics":[{"cvssV3_1":{"scope":"UNCHANGED","version":"3.1","baseScore":9.8,"attackVector":"NETWORK","baseSeverity":"CRITICAL","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","integrityImpact":"HIGH","userInteraction":"NONE","attackComplexity":"LOW","availabilityImpact":"HIGH","privilegesRequired":"NONE","confidentialityImpact":"HIGH"}},{"other":{"type":"ssvc","content":{"timestamp":"2025-06-12T13:54:32.930583Z","id":"CVE-2022-31860","options":[{"Exploitation":"poc"},{"Automatable":"yes"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"title":"CISA ADP Vulnrichment","providerMetadata":{"orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","shortName":"CISA-ADP","dateUpdated":"2025-06-12T13:54:37.378Z"}}]},"cveMetadata":{"assignerOrgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","assignerShortName":"mitre","cveId":"CVE-2022-31860","datePublished":"2022-09-06T17:50:24.000Z","dateReserved":"2022-05-31T00:00:00.000Z","dateUpdated":"2025-06-12T13:54:37.378Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.1"}