CVE-2024-43202: Apache DolphinScheduler code injection in task API

CVE-2024-43202 · Severity: critical · CVSS 9.8 · Published 2024-08-20

Apache DolphinScheduler is a workflow scheduling platform used to orchestrate data processing jobs and automated tasks. A code injection vulnerability in versions before 3.2.2 allows unauthenticated attackers to execute arbitrary code remotely, potentially compromising data confidentiality, integrity, and system availability. This vulnerability poses an immediate risk to organizations relying on DolphinScheduler for mission-critical automation.

Vendors: Maven.

Quick answers

Is CVE-2024-43202 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2024-43202 being exploited in the wild.
How severe is CVE-2024-43202?
Critical severity, with a CVSS score of 9.8, published 20 August 2024.
Which products and versions are affected?
org.apache.dolphinscheduler:dolphinscheduler-task-api (Maven) >= 3.1.0, < 3.2.2, ECOSYSTEM:introduced=3.1.0,fixed=3.2.2.
Is there a fix for CVE-2024-43202?
Yes. org.apache.dolphinscheduler:dolphinscheduler-task-api (Maven): upgrade to 3.2.2 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
How is CVE-2024-43202 attacked?
It is attacked over the network, in a hosted service.
Am I affected by CVE-2024-43202?
Check whether you run org.apache.dolphinscheduler:dolphinscheduler-task-api (Maven) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

How to fix

  • org.apache.dolphinscheduler:dolphinscheduler-task-api (Maven): upgrade to 3.2.2 or later
    # set org.apache.dolphinscheduler:dolphinscheduler-task-api to 3.2.2 in your pom.xml or build.gradle

Technical details

This is a code injection vulnerability (CWE-94) affecting Apache DolphinScheduler's task API module (dolphinscheduler-task-api). The vulnerability stems from improper control of code generation where externally-influenced input is used to construct code segments without proper neutralization of special elements. The vulnerability is exploitable remotely over the network without requiring authentication, privileges, or user interaction, as indicated by the CVSS v3.1 vector AV:N/AC:L/PR:N/UI:N. An attacker can achieve complete system compromise with high impact on confidentiality, integrity, and availability. Versions 3.1.0 through 3.2.1 are affected; patch version 3.2.2 is available and should be applied immediately.

Affected products

  • Apache DolphinScheduler 3.1.0 to 3.2.1

Identifiers

  • CVE-2024-43202
  • GHSA-2fm6-mv57-p2qh

Timeline

  • 2024-08-20: disclosed: Vulnerability disclosed to GitHub Advisory Database and NVD
  • 2024-08-20: patched: Fix released in version 3.2.2

References

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.