CVE-2023-25601: Dolphinscheduler api Apache DolphinScheduler's Python Gateway Suffered Vulnerability

MODERATE
Advisory Identifier: GHSA-3jxw-cv35-2mmv
CVSS 4.3
CWE-287
Published
Advisory Summary

CVE-2023-25601 is a MODERATE (CVSS 4.3) apache dolphinscheduler's python gateway suffered vulnerability (CWE-287: Improper Authentication) affecting Dolphinscheduler api libraries in the Maven ecosystem. The issue involves apache dolphinscheduler's python gateway suffered from improper authentication. Remediation is available by upgrading affected packages to version 3.1.2.

CVE-2023-25601 at a Glance

CVE Identifier CVE-2023-25601
GHSA Identifier GHSA-3jxw-cv35-2mmv
Severity MODERATE
CVSS v3.1 Base Score 4.3
CWE Classification CWE-287: Improper Authentication
Affected Product Dolphinscheduler api
Package Ecosystem Maven
Published Date
Last Updated

Security Impact

CVSS: 4.3

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required Low (PR:L)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality None (C:N)
Integrity Low (I:L)
Availability None (A:N)

How to Fix CVE-2023-25601

To remediate this vulnerability, upgrade all affected Dolphinscheduler api dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

org.apache.dolphinscheduler:dolphinscheduler-api fixed: 3.1.2
<dependency>
    <groupId>org.apache.dolphinscheduler</groupId>
    <artifactId>dolphinscheduler-api</artifactId>
    <version>3.1.2</version>
</dependency>
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

mvn dependency:tree -Dincludes=org.apache.dolphinscheduler

How to Check if You Are Affected

To determine whether your Java application is affected by CVE-2023-25601, inspect your build dependencies using the Maven Dependency Plugin:

mvn dependency:tree -Dincludes=org.apache.dolphinscheduler

Analyze the terminal output to locate any version of Dolphinscheduler api in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 3.1.2), your application is affected.

Note: The mvn dependency:tree -Dincludes=org.apache.dolphinscheduler command inspects the resolved dependency graph declared in your project's POM files; it does not perform automated security scanning or inspect runtime dynamic classpaths. Always verify runtime container classpaths and shaded JARs.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-287: Improper Authentication, where when an actor claims to have a given identity, the product does not prove or insufficiently proves that the claim is correct. In Dolphinscheduler api, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

On version 3.0.0 through 3.1.1, Apache DolphinScheduler's python gateway suffered from improper authentication: an attacker could use a socket bytes attack without authentication. This issue has been fixed from version 3.1.2 onwards. For users who use version 3.0.0 to 3.1.1, you can turn off the python-gateway function by changing the value `python-gateway.enabled=false` in configuration file `application.yaml`. If you are using the python gateway, please upgrade to version 3.1.2 or above.

CVE-2023-25601 Affected Dolphinscheduler api Versions

1 component(s)
Fixed Versions:
3.1.2
Product / Package Ecosystem Affected Versions Fixed Version
org.apache.dolphinscheduler:dolphinscheduler-api
Maven
≥ 3.0.0
< 3.1.2
3.1.2

References

Frequently Asked Questions

What is CVE-2023-25601?
CVE-2023-25601 is a security vulnerability in Dolphinscheduler api involving Apache DolphinScheduler's python gateway suffered from improper authentication under CWE-287: Improper Authentication.
Which Dolphinscheduler api versions are affected?
Affected versions include releases prior to 3.1.2 across affected packages: org.apache.dolphinscheduler:dolphinscheduler-api.
What version fixes CVE-2023-25601?
Upgrading to 3.1.2 (or the latest patched release for your respective branch) resolves the vulnerability.
Is dolphinscheduler-api affected?
Yes, org.apache.dolphinscheduler:dolphinscheduler-api is affected in releases prior to 3.1.2. Upgrade your dependency to 3.1.2 or later.
What is the CVSS score of CVE-2023-25601?
CVE-2023-25601 has a CVSS v3.1 base score of 4.3 (MODERATE) with vector string CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N.
What CWE is associated with CVE-2023-25601?
CVE-2023-25601 is classified under CWE-287: Improper Authentication (When an actor claims to have a given identity, the product does not prove or insufficiently proves that the claim is correct.).
How can I check Maven dependencies for CVE-2023-25601?
Run the dependency tree command: 'mvn dependency:tree -Dincludes=org.apache.dolphinscheduler'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-3jxw-cv35-2mmv",
  "modified" : "2025-02-13T18:54:07Z",
  "published" : "2023-04-20T18:30:50Z",
  "aliases" : [ "CVE-2023-25601" ],
  "summary" : "Apache DolphinScheduler's python gateway suffered from improper authentication",
  "details" : "On version 3.0.0 through 3.1.1, Apache DolphinScheduler's python gateway suffered from improper authentication: an attacker could use a socket bytes attack without authentication. This issue has been fixed from version 3.1.2 onwards. For users who use version 3.0.0 to 3.1.1, you can turn off the python-gateway function by changing the value `python-gateway.enabled=false` in configuration file `application.yaml`. If you are using the python gateway, please upgrade to version 3.1.2 or above.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "org.apache.dolphinscheduler:dolphinscheduler-api"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "3.0.0"
      }, {
        "fixed" : "3.1.2"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2023-25601"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/apache/dolphinscheduler/pull/12893"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/apache/dolphinscheduler"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/apache/dolphinscheduler/releases/tag/3.1.2"
  }, {
    "type" : "WEB",
    "url" : "https://lists.apache.org/thread/25g77jqczp3t8cz56hk1p65q7m6c64rf"
  }, {
    "type" : "WEB",
    "url" : "http://www.openwall.com/lists/oss-security/2023/04/20/10"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-287" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2023-04-20T20:26:06Z",
    "nvd_published_at" : "2023-04-20T16:15:07Z"
  }
}