{"id":"GHSA-gprm-xqrc-c2j3","summary":"Command Injection in Kylin","details":"Kylin has some restful apis which will concatenate os command with the user input string, a user is likely to be able to execute any os command without any protection or validation.","aliases":["CVE-2020-1956"],"modified":"2025-10-22T19:19:09.762233Z","published":"2020-07-27T22:51:44Z","database_specific":{"severity":"HIGH","github_reviewed":true,"github_reviewed_at":"2020-07-27T22:50:23Z","nvd_published_at":"2020-05-22T14:15:11Z","cwe_ids":["CWE-78"]},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-1956"},{"type":"WEB","url":"https://github.com/apache/kylin/commit/58fad56ac6aaa43c6bd8f962d7f2d84438664092"},{"type":"WEB","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2020-1956"},{"type":"WEB","url":"https://snyk.io/vuln/SNYK-JAVA-ORGAPACHEKYLIN-570207"},{"type":"WEB","url":"https://lists.apache.org/thread.html/r61666760d8a4e8764b2d5fe158d8a48b569414480fbfadede574cdc0@%3Ccommits.kylin.apache.org%3E"},{"type":"WEB","url":"https://lists.apache.org/thread.html/r61666760d8a4e8764b2d5fe158d8a48b569414480fbfadede574cdc0%40%3Ccommits.kylin.apache.org%3E"},{"type":"WEB","url":"https://lists.apache.org/thread.html/r250a867961cfd6e0506240a9c7eaee782d84c6ab0091c7c4bc45f3eb@%3Cuser.kylin.apache.org%3E"},{"type":"WEB","url":"https://lists.apache.org/thread.html/r250a867961cfd6e0506240a9c7eaee782d84c6ab0091c7c4bc45f3eb@%3Cdev.kylin.apache.org%3E"},{"type":"WEB","url":"https://lists.apache.org/thread.html/r250a867961cfd6e0506240a9c7eaee782d84c6ab0091c7c4bc45f3eb@%3Cannounce.apache.org%3E"},{"type":"WEB","url":"https://lists.apache.org/thread.html/r250a867961cfd6e0506240a9c7eaee782d84c6ab0091c7c4bc45f3eb%40%3Cuser.kylin.apache.org%3E"},{"type":"WEB","url":"https://lists.apache.org/thread.html/r250a867961cfd6e0506240a9c7eaee782d84c6ab0091c7c4bc45f3eb%40%3Cdev.kylin.apache.org%3E"},{"type":"WEB","url":"https://lists.apache.org/thread.html/r250a867961cfd6e0506240a9c7eaee782d84c6ab0091c7c4bc45f3eb%40%3Cannounce.apache.org%3E"},{"type":"WEB","url":"https://lists.apache.org/thread.html/r1332ef34cf8e2c0589cf44ad269fb1fb4c06addec6297f0320f5111d%40%3Cuser.kylin.apache.org%3E"},{"type":"WEB","url":"https://lists.apache.org/thread.html/r021baf9d8d4ae41e8c8332c167c4fa96c91b5086563d9be55d2d7acf@%3Ccommits.kylin.apache.org%3E"},{"type":"WEB","url":"https://lists.apache.org/thread.html/r021baf9d8d4ae41e8c8332c167c4fa96c91b5086563d9be55d2d7acf%40%3Ccommits.kylin.apache.org%3E"},{"type":"PACKAGE","url":"https://github.com/apache/kylin"},{"type":"WEB","url":"https://community.sonarsource.com/t/apache-kylin-3-0-1-command-injection-vulnerability/25706"},{"type":"WEB","url":"http://www.openwall.com/lists/oss-security/2020/07/14/1"}],"affected":[{"package":{"name":"org.apache.kylin:kylin-core-common","ecosystem":"Maven","purl":"pkg:maven/org.apache.kylin/kylin-core-common"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.6.6"}]}],"versions":["1.5.0","1.5.1","1.5.2","1.5.2.1","1.5.3","1.5.4","1.5.4.1","1.6.0","2.0.0","2.1.0","2.2.0","2.3.0","2.3.1","2.3.2","2.4.0","2.4.1","2.5.0","2.5.1","2.5.2","2.6.0","2.6.1","2.6.2","2.6.3","2.6.4","2.6.5"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2020/07/GHSA-gprm-xqrc-c2j3/GHSA-gprm-xqrc-c2j3.json"}},{"package":{"name":"org.apache.kylin:kylin-core-common","ecosystem":"Maven","purl":"pkg:maven/org.apache.kylin/kylin-core-common"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"3.0.0"},{"fixed":"3.0.2"}]}],"versions":["3.0.0","3.0.1"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2020/07/GHSA-gprm-xqrc-c2j3/GHSA-gprm-xqrc-c2j3.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H/E:H"}]}