Remote Code Execution (RCE) Affecting org.apache.kylin:kylin-server-base Open this link in a new tab package, versions [4.0.0,4.0.1)

  • Attack Complexity


  • Confidentiality


  • Integrity


  • Availability


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


  • published

    6 Jan 2022

  • disclosed

    6 Jan 2022

  • credit

    Alvaro Munoz

How to fix?

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


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.