CVE-2023-49299 Apache DolphinScheduler: Arbitrary js execute as root for authenticated users

High 8.8 Published Updated

Authenticated users can execute arbitrary JavaScript as root on the server, requiring an upgrade to the latest version.

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-2023-49299?

CVE-2023-49299 is a high-severity code injection vulnerability in Apache DolphinScheduler, published on 30 Dec 2023. 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 affects Apache DolphinScheduler: until 3.1.9.

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

Weakness: CWE-20

Which versions are affected by CVE-2023-49299?

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.1.9
org.apache.dolphinscheduler:dolphinscheduler-master MavenAll versions3.1.9

Products include Apache Dolphinscheduler.

How do I fix CVE-2023-49299?

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

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

Is CVE-2023-49299 being exploited?

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

Sources

Also known as GHSA-v7hg-77v9-2445.

Is CVE-2023-49299 in your software?

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

Check your SBOMs for free