Remote Code Execution (RCE) Affecting org.apache.kylin:kylin-server-base package, versions [4.0.0,4.0.1)


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.56% (78th 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 Learn

Learn about Remote Code Execution (RCE) vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JAVA-ORGAPACHEKYLIN-2331053
  • published6 Jan 2022
  • disclosed6 Jan 2022
  • creditAlvaro Munoz

Introduced: 6 Jan 2022

CVE-2021-45456  (opens in a new tab)
CWE-94  (opens in a new tab)

How to fix?

Upgrade org.apache.kylin:kylin-server-base to version 4.0.1 or higher.

Overview

org.apache.kylin:kylin-server-base is a distributed analytical engine designed to provide OLAP capability for big data.

Affected versions of this package are vulnerable to Remote Code Execution (RCE). When checking the legitimacy of the project before executing some commands with the project name passed in by the user. There is a mismatch between what is being checked and what is being used as the shell command argument in DiagnosisService. This may cause an illegal project name to pass the check and perform the following steps, resulting in a command injection vulnerability.

CVSS Scores

version 3.1