Vulnerabilities in pkg:maven/org.apache.submarine/submarine-server-core

PACKAGE
Advisory Identifier: GHSA-v74c-qc46-9gg9
Advisory Summary

CVE-2024-36263 is a HIGH (CVSS 8.1) sql injection vulnerability (CWE-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')) affecting Submarine server core libraries in the Maven ecosystem. The issue involves apache submarine server core has a sql injection vulnerability. Remediation is available in the latest vendor maintenance releases.

2 Known Advisory Record(s)
Package Vulnerability Intelligence

pkg:maven/org.apache.submarine/submarine-server-core

2 Known Advisory Record(s)

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

Advisory ID CVE / NVD Severity Summary
GHSA-v74c-qc46-9gg9 CVE-2024-36263 HIGH Apache Submarine Server Core has a SQL Injection Vulnerability
GHSA-6q97-8v3g-rpxw CVE-2024-36265 CRITICAL Apache Submarine Server Core Incorrect Authorization vulnerability

CVE-2024-36263 at a Glance

CVE Identifier CVE-2024-36263
GHSA Identifier GHSA-v74c-qc46-9gg9
Severity HIGH
CVSS v3.1 Base Score 8.1
CWE Classification CWE-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
Affected Product Submarine server core
Package Ecosystem Maven
Published Date
Last Updated

Security Impact

CVSS: 8.1

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:H/I:H/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 High (C:H)
Integrity High (I:H)
Availability None (A:N)

How to Fix CVE-2024-36263

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

How to Check if You Are Affected

To determine whether your Java application is affected by CVE-2024-36263, 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 server core 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-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection'), where the product constructs all or part of an sql command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended sql command when it is sent to a downstream component. without sufficient removal or quoting of sql syntax in user-controllable inputs, the generated sql query can cause those inputs to be interpreted as sql instead of ordinary user data. In Submarine server core, 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 Neutralization of Special Elements used in an SQL Command ('SQL Injection') vulnerability in Apache Submarine Server Core. This issue affects Apache Submarine Server Core: all versions. As this project is retired, we do not plan to release a version that fixes this issue. 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-36263 Affected Submarine server core Versions

1 component(s)
Product / Package Ecosystem Affected Versions Fixed Version
org.apache.submarine:submarine-server-core
Maven
≤ 0.8.0

References

Frequently Asked Questions

What is CVE-2024-36263?
CVE-2024-36263 is a security vulnerability in Submarine server core involving Apache Submarine Server Core has a SQL Injection Vulnerability under CWE-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection').
Which Submarine server core versions are affected?
Affected versions include releases prior to current release patches across affected packages: org.apache.submarine:submarine-server-core.
What version fixes CVE-2024-36263?
Upgrading to current release patches (or the latest patched release for your respective branch) resolves the vulnerability.
Is submarine-server-core affected?
Yes, org.apache.submarine:submarine-server-core 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-36263?
CVE-2024-36263 has a CVSS v3.1 base score of 8.1 (HIGH) with vector string CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N.
What CWE is associated with CVE-2024-36263?
CVE-2024-36263 is classified under CWE-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') (The product constructs all or part of an SQL command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended SQL command when it is sent to a downstream component. Without sufficient removal or quoting of SQL syntax in user-controllable inputs, the generated SQL query can cause those inputs to be interpreted as SQL instead of ordinary user data.).
How can I check Maven dependencies for CVE-2024-36263?
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-v74c-qc46-9gg9",
  "modified" : "2025-02-13T18:50:15Z",
  "published" : "2024-06-12T15:31:45Z",
  "aliases" : [ "CVE-2024-36263" ],
  "summary" : "Apache Submarine Server Core has a SQL Injection Vulnerability",
  "details" : "Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') vulnerability in Apache Submarine Server Core.\n\nThis issue affects Apache Submarine Server Core: all versions.\n\nAs this project is retired, we do not plan to release a version that fixes this issue. 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:L/UI:N/S:U/C:H/I:H/A:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "org.apache.submarine:submarine-server-core"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "last_affected" : "0.8.0"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2024-36263"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/apache/submarine/pull/1121"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/apache/submarine/commit/4e68894a1c54d763ac2697ea1ac993793da4107c"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/apache/submarine"
  }, {
    "type" : "WEB",
    "url" : "https://lists.apache.org/thread/8q9kbdg9gk9kpz5p8x6t7q8709l3vrmt"
  }, {
    "type" : "WEB",
    "url" : "http://www.openwall.com/lists/oss-security/2024/06/12/1"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-89" ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2024-06-12T19:44:49Z",
    "nvd_published_at" : "2024-06-12T14:15:11Z"
  }
}