{"schemaVersion":3,"id":"CVE-2020-1937","aliases":["GHSA-7hmh-8gwv-mfvq"],"status":"published","duplicateOf":null,"title":null,"description":"Kylin has some restful apis which will concatenate SQLs with the user input string, a user is likely to be able to run malicious database queries.","dates":{"published":"2020-02-24T20:57:52.000Z","modified":"2024-08-04T06:53:59.800Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":8.8,"severity":"high","version":"3.1","versionLabel":"v3.1","source":"NVD","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"OSV · Maven","score":6.5,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N","exploitability":7.2,"impact":6,"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":6.5,"severity":"medium","vector":"AV:N/AC:L/Au:S/C:P/I:P/A:P","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.0307,"percentile":0.87436,"severity":"low","asOf":"2026-10-18T00:00:00.000Z","change":{"pp":0.40300000000000025,"baselineDate":"2026-09-18T00:00:00.000Z","baselineScore":0.02667},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.02667,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.02667,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.02667,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.02667,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.02667,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.02667,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.02667,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.02667,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.02667,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.02667,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.02667,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.0307,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.0307,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.0307,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.0307,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.0307,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.0307,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.0307,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.0307,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.0307,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.0307,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.0307,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.0307,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.0307,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.0307,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.0307,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.0307,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.0307,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.0307,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.0307,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.0307,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.0307,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.0307,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.0307,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.0307,"percentile":0.87436}],"last30":[{"date":"2026-09-18T00:00:00.000Z","score":0.02667,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.02667,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.02667,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.02667,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.02667,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.02667,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.02667,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.0307,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.0307,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.0307,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.0307,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.0307,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.0307,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.0307,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.0307,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.0307,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.0307,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.0307,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.0307,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.0307,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.0307,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.0307,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.0307,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.0307,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.0307,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.0307,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.0307,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.0307,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.0307,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.0307,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.0307,"percentile":0.87436}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-89","name":"Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')","description":"The product constructs all or part of an SQL command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended SQL command when it is sent to a downstream component. Without sufficient removal or quoting of SQL syntax in user-controllable inputs, the generated SQL query can cause those inputs to be interpreted as SQL instead of ordinary user data.","type":"weakness","status":"Stable","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/89.html"}],"affected":[{"vendor":"apache","product":"apache kylin","name":"Apache Kylin","label":"apache kylin","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"ApacheKylin 2.3.0 to 2.3.2","noFixRecorded":false,"fixedIn":null},{"text":"2.4.0 to 2.4.1","noFixRecorded":false,"fixedIn":null},{"text":"2.5.0 to 2.5.2","noFixRecorded":false,"fixedIn":null},{"text":"2.6.0 to 2.6.4","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.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"ApacheKylin 2.3.0 to 2.3.2 | 2.4.0 to 2.4.1 | 2.5.0 to 2.5.2 | 2.6.0 to 2.6.4 | 3.0.0-alpha | 3.0.0-alpha2 | 3.0.0-beta | 3.0.0","eol":null,"hubHref":"/vendor/apache/apache_kylin"},{"vendor":"apache","product":"kylin","name":"Kylin","label":"kylin","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 2.3.0, ≤ 2.3.2","noFixRecorded":false,"fixedIn":null},{"text":"≥ 2.4.0, ≤ 2.4.1","noFixRecorded":false,"fixedIn":null},{"text":"≥ 2.5.0, ≤ 2.5.2","noFixRecorded":false,"fixedIn":null},{"text":"≥ 2.6.0, ≤ 2.6.4","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}],"versionsText":"≥ 2.3.0, ≤ 2.3.2 | ≥ 2.4.0, ≤ 2.4.1 | ≥ 2.5.0, ≤ 2.5.2 | ≥ 2.6.0, ≤ 2.6.4 | 3.0.0 | 3.0.0:alpha | 3.0.0:alpha2 | 3.0.0:beta","eol":null,"hubHref":"/vendor/apache/kylin"},{"vendor":"org.apache.kylin","product":"kylin-server-base","name":"org.apache.kylin:kylin-server-base","label":"kylin-server-base","ecosystem":"Maven","cpePart":null,"purl":"pkg:maven/org.apache.kylin/kylin-server-base","purlType":"maven","versions":[{"text":"< 2.6.5","noFixRecorded":false,"fixedIn":null},{"text":"≥ 3.0.0, < 3.0.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2.6.5 | ≥ 3.0.0, < 3.0.1","eol":null,"hubHref":null}],"affectedCount":3,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://lists.apache.org/thread.html/rc574fef23740522f62ab3bbda4f6171be98aa7a25f3f54be143a80a8%40%3Cuser.kylin.apache.org%3E","label":"lists.apache.org/thread.html/…","hostname":"lists.apache.org","tags":["Mailing List","X Refsource MLIST","WEB","Vendor Advisory"]},{"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"]},{"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"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-1937","label":"nvd.nist.gov/vuln/detail/CVE-2020-1937","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/apache/kylin/commit/e373c64c96a54a7abfe4bccb82e8feb60db04749","label":"github.com/apache/kylin/commit/e373c64c96a54a7abfe4bccb82e8feb60db04749","hostname":"github.com","tags":["WEB"]},{"url":"https://github.com/apache/kylin","label":"github.com/apache/kylin","hostname":"github.com","tags":["PACKAGE"]},{"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://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://snyk.io/vuln/SNYK-JAVA-ORGAPACHEKYLIN-552148","label":"snyk.io/vuln/SNYK-JAVA-ORGAPACHEKYLIN-552148","hostname":"snyk.io","tags":["WEB"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2020-02-24T20:57:52.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-08-04T06:53:59.800Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":36,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-19T05:26:10.167Z","stale":false,"partial":false}}