Vulnerabilities in pkg:pypi/apache-submarine

PACKAGE
Advisory Identifier: GHSA-jwcg-wv5x-vg3g
Advisory Summary

CVE-2024-36264 is a MODERATE (CVSS 6.5) apache submarine commons utils has vulnerability (CWE-798: Use of Hard-coded Credentials) affecting Submarine commons utils libraries in the Maven ecosystem. The issue involves apache submarine commons utils has a hard-coded secret. Remediation is available in the latest vendor maintenance releases.

4 Known Advisory Record(s)
Package Vulnerability Intelligence

pkg:pypi/apache-submarine

4 Known Advisory Record(s)

Vulnerability advisories affecting package pkg:pypi/apache-submarine. Select an advisory below to view technical details or fixes.

Advisory ID CVE / NVD Severity Summary
GHSA-jwcg-wv5x-vg3g CVE-2024-36264 MODERATE Apache Submarine Commons Utils has a hard-coded secret
GHSA-6q97-8v3g-rpxw CVE-2024-36265 CRITICAL Apache Submarine Server Core Incorrect Authorization vulnerability
GHSA-v5gj-fx3g-hcpw CVE-2023-37924 CRITICAL SQL injection in Apache Submarine
GHSA-8hcr-5x2g-9f7j CVE-2023-46302 CRITICAL Deserialization of Untrusted Data in apache-submarine

CVE-2024-36264 at a Glance

CVE Identifier CVE-2024-36264
GHSA Identifier GHSA-jwcg-wv5x-vg3g
Severity MODERATE
CVSS v3.1 Base Score 6.5
CWE Classification CWE-798: Use of Hard-coded Credentials
Affected Product Submarine commons utils
Package Ecosystem Maven
Published Date
Last Updated

Security Impact

CVSS: 6.5

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

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

How to Fix CVE-2024-36264

To remediate this vulnerability, upgrade all affected Submarine commons utils 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.submarine:submarine-commons-utils fixed: Latest secure release
<dependency>
    <groupId>org.apache.submarine</groupId>
    <artifactId>submarine-commons-utils</artifactId>
    <version>Latest secure release</version>
</dependency>
apache-submarine fixed: Latest secure release
pip install apache-submarine>=Latest secure release
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.submarine

How to Check if You Are Affected

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

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

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

Note: The mvn dependency:tree -Dincludes=org.apache.submarine 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-798: Use of Hard-coded Credentials, where the product contains hard-coded credentials, such as a password or cryptographic key. In Submarine commons utils, 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

Improper Authentication vulnerability in Apache Submarine Commons Utils. This issue affects Apache Submarine Commons Utils: from 0.8.0. As this project is retired, we do not plan to release a version that fixes this issue. If the user doesn't explicitly set `submarine.auth.default.secret`, a default value will be used. Users are recommended to find an alternative or restrict access to the instance to trusted users. NOTE: This vulnerability only affects products that are no longer supported by the maintainer.

CVE-2024-36264 Affected Submarine commons utils Versions

2 component(s)
Product / Package Ecosystem Affected Versions Fixed Version
org.apache.submarine:submarine-commons-utils
Maven
≤ 0.8.0
apache-submarine
PyPI
≥ 0.8.0

References

Frequently Asked Questions

What is CVE-2024-36264?
CVE-2024-36264 is a security vulnerability in Submarine commons utils involving Apache Submarine Commons Utils has a hard-coded secret under CWE-798: Use of Hard-coded Credentials.
Which Submarine commons utils versions are affected?
Affected versions include releases prior to current release patches across affected packages: org.apache.submarine:submarine-commons-utils, apache-submarine.
What version fixes CVE-2024-36264?
Upgrading to current release patches (or the latest patched release for your respective branch) resolves the vulnerability.
Is submarine-commons-utils affected?
Yes, org.apache.submarine:submarine-commons-utils is affected in releases prior to Latest secure release. Upgrade your dependency to Latest secure release or later.
Is apache-submarine affected?
Yes, apache-submarine is affected in releases prior to Latest secure release. Upgrade your dependency to Latest secure release or later.
What is the CVSS score of CVE-2024-36264?
CVE-2024-36264 has a CVSS v3.1 base score of 6.5 (MODERATE) with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N.
What CWE is associated with CVE-2024-36264?
CVE-2024-36264 is classified under CWE-798: Use of Hard-coded Credentials (The product contains hard-coded credentials, such as a password or cryptographic key.).
How can I check Maven dependencies for CVE-2024-36264?
Run the dependency tree command: 'mvn dependency:tree -Dincludes=org.apache.submarine'. 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-jwcg-wv5x-vg3g",
  "modified" : "2025-03-21T04:28:28Z",
  "published" : "2024-06-12T15:31:44Z",
  "aliases" : [ "CVE-2024-36264" ],
  "summary" : "Apache Submarine Commons Utils has a hard-coded secret",
  "details" : "Improper Authentication vulnerability in Apache Submarine Commons Utils.\n\nThis issue affects Apache Submarine Commons Utils: from 0.8.0.\n\nAs this project is retired, we do not plan to release a version that fixes this issue. If the user doesn't explicitly set `submarine.auth.default.secret`, a default value will be used. Users are recommended to find an alternative or restrict access to the instance to trusted users. \n\nNOTE: This vulnerability only affects products that are no longer supported by the maintainer.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "org.apache.submarine:submarine-commons-utils"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "last_affected" : "0.8.0"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "PyPI",
      "name" : "apache-submarine"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0.8.0"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2024-36264"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/apache/submarine/pull/1125"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/apache/submarine/commit/7a1d551798c6785fc68fe028fc46f74c3ee6976d"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/apache/submarine"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/pypa/advisory-database/tree/main/vulns/apache-submarine/PYSEC-2024-97.yaml"
  }, {
    "type" : "WEB",
    "url" : "https://issues.apache.org/jira/browse/SUBMARINE-1417"
  }, {
    "type" : "WEB",
    "url" : "https://lists.apache.org/thread/7mo0c7vbhpo8thvybl8wwvb0bccrg7r4"
  }, {
    "type" : "WEB",
    "url" : "http://www.openwall.com/lists/oss-security/2024/06/12/2"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-287", "CWE-798" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2024-06-12T19:44:26Z",
    "nvd_published_at" : "2024-06-12T14:15:11Z"
  }
}