{"schemaVersion":3,"id":"CVE-2020-1956","aliases":["GHSA-gprm-xqrc-c2j3"],"status":"published","duplicateOf":null,"title":"Apache Kylin OS Command Injection Vulnerability","description":"Apache Kylin 2.3.0, and releases up to 2.6.5 and 3.0.1 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.","dates":{"published":"2020-05-22T13:27:43.000Z","modified":"2025-10-21T23:35:43.316Z","reserved":null,"kevAdded":["2022-03-25T00:00:00.000Z"],"kevDue":["2022-04-15T00:00:00.000Z"]},"cvss":{"headline":{"score":9,"severity":"high","version":"2.0","versionLabel":"v2.0","source":"NVD","vector":"AV:N/AC:L/Au:S/C:C/I:C/A:C","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":8.8,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Maven","score":8.8,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H/E:H","exploitability":7.2,"impact":9.8,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":8.8,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":9,"severity":"high","vector":"AV:N/AC:L/Au:S/C:C/I:C/A:C","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.97337,"percentile":0.99899,"severity":"critical","asOf":"2026-10-19T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-19T00:00:00.000Z","baselineScore":0.97337},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.97337,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.97337,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.97337,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.97337,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.97337,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.97337,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.97337,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.97337,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.97337,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.97337,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.97337,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.97337,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.97337,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.97337,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.97337,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.97337,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.97337,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.97337,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.97337,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.97337,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.97337,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.97337,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.97337,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.97337,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.97337,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.97337,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.97337,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.97337,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.97337,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.97337,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.97337,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.97337,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.97337,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.97337,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.97337,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.97337,"percentile":0.99899}],"last30":[{"date":"2026-09-19T00:00:00.000Z","score":0.97337,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.97337,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.97337,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.97337,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.97337,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.97337,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.97337,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.97337,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.97337,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.97337,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.97337,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.97337,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.97337,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.97337,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.97337,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.97337,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.97337,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.97337,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.97337,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.97337,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.97337,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.97337,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.97337,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.97337,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.97337,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.97337,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.97337,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.97337,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.97337,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.97337,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.97337,"percentile":0.99899}]},"kev":{"state":"listed","entries":[{"source":"cisa","sourceLabel":"CISA","dateAdded":"2022-03-25T00:00:00.000Z","dueDate":"2022-04-15T00:00:00.000Z","requiredAction":"Apply updates per vendor instructions.","name":"Apache Kylin OS Command Injection Vulnerability","description":"Apache Kylin contains an OS command injection vulnerability which could permit an attacker to perform remote code execution.","notes":[{"type":"url","href":"https://nvd.nist.gov/vuln/detail/CVE-2020-1956","label":"nvd.nist.gov/vuln/detail/CVE-2020-1956"}],"vendor":"Apache","product":"Kylin","ransomware":false,"ransomwareUse":"Unknown","exploitationType":null}],"listedCount":1,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":true,"entry":{"source":"cisa","sourceLabel":"CISA","dateAdded":"2022-03-25T00:00:00.000Z","dueDate":"2022-04-15T00:00:00.000Z","requiredAction":"Apply updates per vendor instructions.","name":"Apache Kylin OS Command Injection Vulnerability","description":"Apache Kylin contains an OS command injection vulnerability which could permit an attacker to perform remote code execution.","notes":[{"type":"url","href":"https://nvd.nist.gov/vuln/detail/CVE-2020-1956","label":"nvd.nist.gov/vuln/detail/CVE-2020-1956"}],"vendor":"Apache","product":"Kylin","ransomware":false,"ransomwareUse":"Unknown","exploitationType":null}},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[{"id":"REF_4DBC21C42750D6FA","name":"Exploit Reference (community.sonarsource.com)","source":"reference","url":"https://community.sonarsource.com/t/apache-kylin-3-0-1-command-injection-vulnerability/25706","maturity":"unknown","reliabilityScore":0.2,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null}],"exploitCount":1,"weaknesses":[{"id":"CWE-78","name":"Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')","description":"The product constructs all or part of an OS command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended OS command when it is sent to a downstream component.","type":"weakness","status":"Stable","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/78.html"}],"affected":[{"vendor":"apache","product":"kylin","name":"Kylin","label":"kylin","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"2.3.0","noFixRecorded":false,"fixedIn":null},{"text":"≤ 2.6.5","noFixRecorded":false,"fixedIn":null},{"text":"≤ 3.0.1","noFixRecorded":false,"fixedIn":null},{"text":"≥ 2.3.0, ≤ 2.3.2","noFixRecorded":false,"fixedIn":null},{"text":"≥ 2.5.0, ≤ 2.5.2","noFixRecorded":false,"fixedIn":null},{"text":"≥ 2.6.0, ≤ 2.6.5","noFixRecorded":false,"fixedIn":null},{"text":"2.4.0","noFixRecorded":false,"fixedIn":null},{"text":"2.4.1","noFixRecorded":false,"fixedIn":null},{"text":"3.0.0","noFixRecorded":false,"fixedIn":null},{"text":"3.0.0:alpha","noFixRecorded":false,"fixedIn":null},{"text":"3.0.0:alpha2","noFixRecorded":false,"fixedIn":null},{"text":"3.0.0:beta","noFixRecorded":false,"fixedIn":null},{"text":"3.0.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"2.3.0 | ≤ 2.6.5 | ≤ 3.0.1 | ≥ 2.3.0, ≤ 2.3.2 | ≥ 2.5.0, ≤ 2.5.2 | ≥ 2.6.0, ≤ 2.6.5 | 2.4.0 | 2.4.1 | 3.0.0 | 3.0.0:alpha | 3.0.0:alpha2 | 3.0.0:beta | 3.0.1","eol":null,"hubHref":"/vendor/apache/kylin"},{"vendor":"org.apache.kylin","product":"kylin-core-common","name":"org.apache.kylin:kylin-core-common","label":"kylin-core-common","ecosystem":"Maven","cpePart":null,"purl":"pkg:maven/org.apache.kylin/kylin-core-common","purlType":"maven","versions":[{"text":"< 2.6.6","noFixRecorded":false,"fixedIn":null},{"text":"≥ 3.0.0, < 3.0.2","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2.6.6 | ≥ 3.0.0, < 3.0.2","eol":null,"hubHref":null}],"affectedCount":2,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://lists.apache.org/thread.html/r1332ef34cf8e2c0589cf44ad269fb1fb4c06addec6297f0320f5111d%40%3Cuser.kylin.apache.org%3E","label":"lists.apache.org/thread.html/…","hostname":"lists.apache.org","tags":["X Refsource MISC","WEB","Mailing List","Mitigation","Vendor Advisory"]},{"url":"https://community.sonarsource.com/t/apache-kylin-3-0-1-command-injection-vulnerability/25706","label":"community.sonarsource.com/t/apache-kylin-3-0-1-command-injection-vulnerability/25706","hostname":"community.sonarsource.com","tags":["X Refsource MISC","WEB","Exploit","Third Party Advisory"]},{"url":"https://lists.apache.org/thread.html/r250a867961cfd6e0506240a9c7eaee782d84c6ab0091c7c4bc45f3eb%40%3Cuser.kylin.apache.org%3E","label":"lists.apache.org/thread.html/…","hostname":"lists.apache.org","tags":["Mailing List","X Refsource MLIST","WEB"]},{"url":"https://lists.apache.org/thread.html/r250a867961cfd6e0506240a9c7eaee782d84c6ab0091c7c4bc45f3eb%40%3Cdev.kylin.apache.org%3E","label":"lists.apache.org/thread.html/…","hostname":"lists.apache.org","tags":["Mailing List","X Refsource MLIST","WEB"]},{"url":"https://lists.apache.org/thread.html/r61666760d8a4e8764b2d5fe158d8a48b569414480fbfadede574cdc0%40%3Ccommits.kylin.apache.org%3E","label":"lists.apache.org/thread.html/…","hostname":"lists.apache.org","tags":["Mailing List","X Refsource MLIST","WEB","Patch"]},{"url":"https://lists.apache.org/thread.html/r250a867961cfd6e0506240a9c7eaee782d84c6ab0091c7c4bc45f3eb%40%3Cannounce.apache.org%3E","label":"lists.apache.org/thread.html/…","hostname":"lists.apache.org","tags":["Mailing List","X Refsource MLIST","WEB"]},{"url":"http://www.openwall.com/lists/oss-security/2020/07/14/1","label":"www.openwall.com/lists/oss-security/2020/07/14/1","hostname":"www.openwall.com","tags":["Mailing List","X Refsource MLIST","WEB"]},{"url":"https://lists.apache.org/thread.html/r021baf9d8d4ae41e8c8332c167c4fa96c91b5086563d9be55d2d7acf%40%3Ccommits.kylin.apache.org%3E","label":"lists.apache.org/thread.html/…","hostname":"lists.apache.org","tags":["Mailing List","X Refsource MLIST","WEB","Patch"]},{"url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2020-1956","label":"www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2020-1956","hostname":"www.cisa.gov","tags":["Government Resource","WEB","Third Party Advisory","US Government Resource"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-1956","label":"nvd.nist.gov/vuln/detail/CVE-2020-1956","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/apache/kylin/commit/58fad56ac6aaa43c6bd8f962d7f2d84438664092","label":"github.com/apache/kylin/commit/58fad56ac6aaa43c6bd8f962d7f2d84438664092","hostname":"github.com","tags":["WEB"]},{"url":"https://snyk.io/vuln/SNYK-JAVA-ORGAPACHEKYLIN-570207","label":"snyk.io/vuln/SNYK-JAVA-ORGAPACHEKYLIN-570207","hostname":"snyk.io","tags":["WEB"]},{"url":"https://lists.apache.org/thread.html/r61666760d8a4e8764b2d5fe158d8a48b569414480fbfadede574cdc0@%3Ccommits.kylin.apache.org%3E","label":"lists.apache.org/thread.html/…","hostname":"lists.apache.org","tags":["WEB"]},{"url":"https://lists.apache.org/thread.html/r250a867961cfd6e0506240a9c7eaee782d84c6ab0091c7c4bc45f3eb@%3Cuser.kylin.apache.org%3E","label":"lists.apache.org/thread.html/…","hostname":"lists.apache.org","tags":["WEB"]},{"url":"https://lists.apache.org/thread.html/r250a867961cfd6e0506240a9c7eaee782d84c6ab0091c7c4bc45f3eb@%3Cdev.kylin.apache.org%3E","label":"lists.apache.org/thread.html/…","hostname":"lists.apache.org","tags":["WEB"]},{"url":"https://lists.apache.org/thread.html/r250a867961cfd6e0506240a9c7eaee782d84c6ab0091c7c4bc45f3eb@%3Cannounce.apache.org%3E","label":"lists.apache.org/thread.html/…","hostname":"lists.apache.org","tags":["WEB"]},{"url":"https://lists.apache.org/thread.html/r021baf9d8d4ae41e8c8332c167c4fa96c91b5086563d9be55d2d7acf@%3Ccommits.kylin.apache.org%3E","label":"lists.apache.org/thread.html/…","hostname":"lists.apache.org","tags":["WEB"]},{"url":"https://github.com/apache/kylin","label":"github.com/apache/kylin","hostname":"github.com","tags":["PACKAGE"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2020-05-22T13:27:43.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"kev-added","date":"2022-03-25T00:00:00.000Z","label":"Added to CISA KEV","detail":"Apache Kylin OS Command Injection Vulnerability","source":"cisa"},{"kind":"kev-due","date":"2022-04-15T00:00:00.000Z","label":"CISA remediation due","detail":"Apply updates per vendor instructions.","source":"cisa"},{"kind":"modified","date":"2025-10-21T23:35:43.316Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":85,"level":"critical","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-20T01:11:57.178Z","stale":false,"partial":false}}