CVE-2021-27644 DolphinScheduler mysql jdbc connector parameters deserialize remote code execution

High 8.8 Published Updated

Authorized users can exploit SQL injection in the data source center to achieve remote code execution via MySQL JDBC parameters.

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-2021-27644?

CVE-2021-27644 is a high-severity SQL injection vulnerability in Apache DolphinScheduler, published on 1 Nov 2021. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

In Apache DolphinScheduler before 1.3.6 versions, authorized users can use SQL injection in the data source center. (Only applicable to MySQL data source with internal login account password)

Weakness: CWE-89, CWE-264

Which versions are affected by CVE-2021-27644?

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

PackageAffectedFixed in
org.apache.dolphinscheduler:dolphinscheduler-server MavenAll versions1.3.6
org.apache.dolphinscheduler:dolphinscheduler-server MavenAll versions1.3.6

Products include Apache Dolphinscheduler.

How do I fix CVE-2021-27644?

Upgrade org.apache.dolphinscheduler:dolphinscheduler-server to 1.3.6 or later.

Use parameterised queries everywhere and never build SQL by joining strings. Upgrade affected software first; a web application firewall only buys time. More about SQL injection.

Is CVE-2021-27644 being exploited?

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

Sources

Also known as GHSA-93g4-3phc-g4xw.

Is CVE-2021-27644 in your software?

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

Check your SBOMs for free