Vulnerabilities in pkg:maven/org.apache.zeppelin/zeppelin

PACKAGE
Advisory Identifier: GHSA-4qw8-pgpr-p9mq
Advisory Summary

CVE-2019-10095 is a CRITICAL (CVSS 9.8) bash command injection vulnerability (CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')) affecting Zeppelin libraries in the Maven ecosystem. The issue involves bash command injection in apache zeppelin. Remediation is available by upgrading affected packages to version 0.10.0.

8 Known Advisory Record(s)
Package Vulnerability Intelligence

pkg:maven/org.apache.zeppelin/zeppelin

8 Known Advisory Record(s)

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

Advisory ID CVE / NVD Severity Summary
GHSA-4qw8-pgpr-p9mq CVE-2019-10095 CRITICAL Bash command injection in Apache Zeppelin
GHSA-gm67-h5wr-w3cv CVE-2021-28655 MODERATE Apache Zeppelin Improper Input Validation vulnerability
GHSA-9p8j-hrgf-jc2g CVE-2022-46870 MODERATE Apache Zeppelin Cross-site Scripting vulnerability
GHSA-87p2-cvhq-q4mv CVE-2020-13929 HIGH Authentication bypass in Apache Zeppelin
GHSA-mf7q-gw5f-q8jj CVE-2021-27578 MODERATE Cross-site Scripting in Apache Zeppelin
GHSA-9x2h-hvg6-4r5p CVE-2018-1317 HIGH Improper Authentication in Apache Zeppelin
GHSA-c538-924g-99q4 CVE-2017-12619 HIGH Session Fixation in Apache Zeppelin
GHSA-r2v5-5vcr-h3vq CVE-2018-1328 MODERATE Cross-site Scripting in Apache Zeppelin

CVE-2019-10095 at a Glance

CVE Identifier CVE-2019-10095
GHSA Identifier GHSA-4qw8-pgpr-p9mq
Severity CRITICAL
CVSS v3.1 Base Score 9.8
CWE Classification CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
Affected Product Zeppelin
Package Ecosystem Maven
Published Date
Last Updated

Security Impact

CVSS: 9.8

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:H/I:H/A:H).

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

How to Fix CVE-2019-10095

To remediate this vulnerability, upgrade all affected Zeppelin 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.zeppelin:zeppelin fixed: 0.10.0
<dependency>
    <groupId>org.apache.zeppelin</groupId>
    <artifactId>zeppelin</artifactId>
    <version>0.10.0</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.zeppelin

How to Check if You Are Affected

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

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

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

Note: The mvn dependency:tree -Dincludes=org.apache.zeppelin 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-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection'), where the product constructs all or part of an os command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended os command when it is sent to a downstream component. In Zeppelin, 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

bash command injection vulnerability in Apache Zeppelin allows an attacker to inject system commands into Spark interpreter settings. This issue affects Apache Zeppelin Apache Zeppelin version 0.9.0 and prior versions.

CVE-2019-10095 Affected Zeppelin Versions

1 component(s)
Fixed Versions:
0.10.0
Product / Package Ecosystem Affected Versions Fixed Version
org.apache.zeppelin:zeppelin
Maven
< 0.10.0
0.10.0

References

Frequently Asked Questions

What is CVE-2019-10095?
CVE-2019-10095 is a security vulnerability in Zeppelin involving Bash command injection in Apache Zeppelin under CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection').
Which Zeppelin versions are affected?
Affected versions include releases prior to 0.10.0 across affected packages: org.apache.zeppelin:zeppelin.
What version fixes CVE-2019-10095?
Upgrading to 0.10.0 (or the latest patched release for your respective branch) resolves the vulnerability.
Is zeppelin affected?
Yes, org.apache.zeppelin:zeppelin is affected in releases prior to 0.10.0. Upgrade your dependency to 0.10.0 or later.
What is the CVSS score of CVE-2019-10095?
CVE-2019-10095 has a CVSS v3.1 base score of 9.8 (CRITICAL) with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.
What CWE is associated with CVE-2019-10095?
CVE-2019-10095 is classified under CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') (The product constructs all or part of an OS command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended OS command when it is sent to a downstream component.).
How can I check Maven dependencies for CVE-2019-10095?
Run the dependency tree command: 'mvn dependency:tree -Dincludes=org.apache.zeppelin'. 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-4qw8-pgpr-p9mq",
  "modified" : "2023-11-27T21:44:31Z",
  "published" : "2021-09-07T22:56:43Z",
  "aliases" : [ "CVE-2019-10095" ],
  "summary" : "Bash command injection in Apache Zeppelin",
  "details" : "bash command injection vulnerability in Apache Zeppelin allows an attacker to inject system commands into Spark interpreter settings. This issue affects Apache Zeppelin Apache Zeppelin version 0.9.0 and prior versions.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "org.apache.zeppelin:zeppelin"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "0.10.0"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2019-10095"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/apache/zeppelin"
  }, {
    "type" : "WEB",
    "url" : "https://lists.apache.org/thread.html/rd56389ba9cab30a6c976b9a4a6df0f85cbe8fba6a60a3cf6e3ba716b%40%3Cusers.zeppelin.apache.org%3E"
  }, {
    "type" : "WEB",
    "url" : "https://lists.apache.org/thread.html/rd56389ba9cab30a6c976b9a4a6df0f85cbe8fba6a60a3cf6e3ba716b@%3Cusers.zeppelin.apache.org%3E"
  }, {
    "type" : "WEB",
    "url" : "https://lists.apache.org/thread.html/rdf06e8423833b3daadc30c56a2ff47c48920864d5199476daa897208%40%3Cannounce.apache.org%3E"
  }, {
    "type" : "WEB",
    "url" : "https://lists.apache.org/thread.html/rdf06e8423833b3daadc30c56a2ff47c48920864d5199476daa897208%40%3Cusers.zeppelin.apache.org%3E"
  }, {
    "type" : "WEB",
    "url" : "https://lists.apache.org/thread.html/rdf06e8423833b3daadc30c56a2ff47c48920864d5199476daa897208@%3Cannounce.apache.org%3E"
  }, {
    "type" : "WEB",
    "url" : "https://lists.apache.org/thread.html/rdf06e8423833b3daadc30c56a2ff47c48920864d5199476daa897208@%3Cusers.zeppelin.apache.org%3E"
  }, {
    "type" : "WEB",
    "url" : "https://security.gentoo.org/glsa/202311-04"
  }, {
    "type" : "WEB",
    "url" : "http://www.openwall.com/lists/oss-security/2021/09/02/1"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-77", "CWE-78" ],
    "severity" : "CRITICAL",
    "github_reviewed" : true,
    "github_reviewed_at" : "2021-09-03T20:16:11Z",
    "nvd_published_at" : "2021-09-02T17:15:00Z"
  }
}