Improper Encoding or Escaping of Output Affecting org.apache.zeppelin:zeppelin-interpreter package, versions [0.8.2,0.11.1)


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team

    Threat Intelligence

    EPSS
    0.05% (16th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk ID SNYK-JAVA-ORGAPACHEZEPPELIN-7116659
  • published 26 May 2024
  • disclosed 9 Apr 2024
  • credit Esa Hiltunen

How to fix?

Upgrade org.apache.zeppelin:zeppelin-interpreter to version 0.11.1 or higher.

Overview

Affected versions of this package are vulnerable to Improper Encoding or Escaping of Output due to improper escaping in the configuration process. An attacker can execute shell scripts or malicious code by overriding configuration like ZEPPELIN_INTP_CLASSPATH_OVERRIDES.

PoC

$ printf %q ';whoami > /tmp/imp.log; date >>/tmp/imp.log;'
\;whoami\ \>\ /tmp/imp.log\;\ date\ \>\>/tmp/imp.log\;%

CVSS Scores

version 3.1
Expand this section

Snyk

7 high
  • Attack Vector (AV)
    Local
  • Attack Complexity (AC)
    High
  • Privileges Required (PR)
    Low
  • User Interaction (UI)
    None
  • Scope (S)
    Unchanged
  • Confidentiality (C)
    High
  • Integrity (I)
    High
  • Availability (A)
    High