{"id":"CVE-2022-40635","published":"2022-09-13T18:25:10Z","modified":"2024-09-16T16:13:57Z","title":"Improper Control of Dynamically-Managed Code Resources in Crafter Studio","vendor":"Crafter Software","product":"Crafter CMS","tier":"tail","description":{"text":"Improper Control of Dynamically-Managed Code Resources vulnerability in Crafter Studio of Crafter CMS allows authenticated developers to execute OS commands via Groovy Sandbox Bypass.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.4,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.01653,"percentile":0.77145,"provenance":"source"},"cwes":[{"id":"CWE-913","name":"Improper Control of Dynamically-Managed Code Resources"}],"references":[{"url":"https://docs.craftercms.org/en/3.1/security/advisory.html#cv-2022051602","tags":["x_refsource_MISC"]}],"priority":{"score":24.9,"factors":[{"name":"EPSS percentile","points":15.43},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":4.48}]},"exploitSources":{"pocGithub":{"count":1,"skipped":0,"earliest":"2023-12-01","earliestUrl":"https://github.com/mbadanoiu/CVE-2022-40635","repos":[{"name":"mbadanoiu/CVE-2022-40635","url":"https://github.com/mbadanoiu/CVE-2022-40635","stars":2,"created":"2023-12-01"}]},"first":{"date":"2023-12-01","source":"PoC-in-GitHub","url":"https://github.com/mbadanoiu/CVE-2022-40635"},"provenance":"source"},"vendorSlug":"crafter-software","affectedVersions":[{"vendor":"Crafter Software","product":"Crafter CMS","versions":[">= 3.1, <= 3.1.22"]}],"affected":[{"ecosystem":"Maven","package":"org.craftercms:craftercms","vulnerableRanges":[">=3.1.0, <3.1.23"],"patched":["3.1.23"],"from":["GHSA-j6x3-3jqq-m922"],"provenance":"source"}],"summary":{"text":"The flaw is an improper control of dynamically-managed code resources in Crafter Studio, a component of Crafter CMS from Crafter Software. An authenticated developer can use a Groovy sandbox bypass to execute operating system commands. The attacker must already hold developer-level credentials and must be able to reach the Studio component over the network, with the attack complexity described as high and a user interaction component noted in the vector. Successful exploitation would allow arbitrary OS command execution on the affected system.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T07:16:43Z"},"euvd":{"id":"EUVD-2022-6848","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2021-23265","published":"2022-05-16","fixed":"3.1.18","kev":false,"link":{"from":"CVE-2021-23265","to":"CVE-2022-40635","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Maven:org.craftercms:craftercms","fromFixed":"3.1.18","toFixed":"3.1.23","daysApart":120}]}},{"cve":"CVE-2021-23266","published":"2022-05-16","fixed":"3.1.18","kev":false},{"cve":"CVE-2022-40635","published":"2022-09-13","fixed":"3.1.23","kev":false},{"cve":"CVE-2026-1770","published":"2026-02-02","fixed":"4.5.0","kev":false}],"package":"Maven:org.craftercms:craftercms"}}