CVE-2024-29831 Apache DolphinScheduler: RCE by arbitrary js execution
Authenticated users can execute arbitrary JavaScript on the server via the switch task plugin, requiring an upgrade to mitigate.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2024-29831?
CVE-2024-29831 is a high-severity code injection vulnerability in Apache DolphinScheduler, published on 9 Aug 2024. Any signed-in user can exploit it over the network, with no action from the victim.
Official 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.
Weakness: CWE-20
Which versions are affected by CVE-2024-29831?
2 open source packages ship an affected version, including org.apache.dolphinscheduler:dolphinscheduler. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
org.apache.dolphinscheduler:dolphinscheduler Maven | All versions | 3.2.2 |
org.apache.dolphinscheduler:dolphinscheduler Maven | All versions | 3.2.2 |
Products include Apache Dolphinscheduler.
How do I fix CVE-2024-29831?
Upgrade org.apache.dolphinscheduler:dolphinscheduler to 3.2.2 or later.
Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.
Is CVE-2024-29831 being exploited?
There is no known exploitation of CVE-2024-29831 in the wild and no public exploit code.
Other vulnerabilities in Apache DolphinScheduler
- CVE-2024-43166 Apache DolphinScheduler Incorrect Default Permissions Vulnerability
- CVE-2024-43202 Apache DolphinScheduler: Remote Code Execution Vulnerability
- CVE-2023-49109 Remote Code Execution in Apache Dolphinscheduler
- CVE-2022-45875 Apache DolphinScheduler: Remote command execution Vulnerability in script alert plugin
- CVE-2022-45462 Apache DolphinScheduler prior to 2.0.5 have command execution vulnerability
Sources
Also known as GHSA-m9q4-p56m-mc6q.