Improper Encoding or Escaping of Output Affecting org.apache.zeppelin:zeppelin-interpreter package, versions [0.8.2,0.11.1)
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
Introduced: 9 Apr 2024
CVE-2024-31866 Open this link in a new tabHow 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\;%
References
CVSS Scores
version 3.1