CVE-2024-23320 Apache DolphinScheduler: Arbitrary js execution as root for authenticated users

High 8.8 Published Updated

Authenticated users can execute arbitrary unsandboxed JavaScript on the server, leading to root-level code execution in Apache DolphinScheduler.

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-23320?

CVE-2024-23320 is a high-severity code injection vulnerability in Apache DolphinScheduler, published on 23 Feb 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.

This issue is a legacy of CVE-2023-49299. We didn't fix it completely in CVE-2023-49299, and we added one more patch to fix it.

This issue affects Apache DolphinScheduler: until 3.2.1.

Users are recommended to upgrade to version 3.2.1, which fixes the issue.

Weakness: CWE-20

Which versions are affected by CVE-2024-23320?

2 open source packages ship an affected version, including org.apache.dolphinscheduler:dolphinscheduler-master. It affects 1 product.

PackageAffectedFixed in
org.apache.dolphinscheduler:dolphinscheduler-master MavenAll versions3.2.1
org.apache.dolphinscheduler:dolphinscheduler-master MavenAll versions3.2.1

Products include Apache Dolphinscheduler.

How do I fix CVE-2024-23320?

Upgrade org.apache.dolphinscheduler:dolphinscheduler-master to 3.2.1 or later.

Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.

Is CVE-2024-23320 being exploited?

There is no known exploitation of CVE-2024-23320 in the wild and no public exploit code.

Sources

Also known as GHSA-rc6h-qwj9-2c53.

Is CVE-2024-23320 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free