6.5medium
Apache Superset: SQL Injection on where_in JINJA macro
- Severity
- 6.5medium CVSS:3.1 by apache
- Exploit likelihood
- 1.19% (higher than 68% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- apache
- Also known as
- GHSA-jfxj-xf67-x723BIT-SUPERSET-2023-49736PYSEC-2026-1184
Description
A where_in JINJA macro allows users to specify a quote, which combined with a carefully crafted statement would allow for SQL injection in Apache Superset.This issue affects Apache Superset: before 2.1.2, from 3.0.0 before 3.0.2. Users are recommended to upgrade to version 3.0.2, which fixes the issue.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Apache Software Foundation Apache Superset | before 2.1.2, from 3.0.0 before 3.0.2 | CVE List |
| apache-superset (PyPI) | before 2.1.3, from 3.0.0 before 3.0.2 | GitHub Advisory Database, PyPA Advisory Database |
| apache superset | before 2.1.2, from 3.0.0 before 3.0.2 | NVD |
| superset (Bitnami) | before 2.1.2, from 3.0.0 before 3.0.2 | Bitnami Vulnerability Database |
All scores
| apache | 6.5medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N |
| GitHub | 6.5medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N |
| NVD | 8.8high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| PyPA Advisory Database | 6.5medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N |
| Bitnami Vulnerability Database | high rating |
Classification
What each source says
CVE List
A where_in JINJA macro allows users to specify a quote, which combined with a carefully crafted statement would allow for SQL injection in Apache Superset.This issue affects Apache Superset: before 2.1.2, from 3.0.0 before 3.0.2. Users are recommended to upgrade to version 3.0.2, which fixes the issue.
GitHub Advisory Database
A where_in JINJA macro allows users to specify a quote, which combined with a carefully crafted statement would allow for SQL injection in Apache Superset.This issue affects Apache Superset: before 2.1.3, from 3.0.0 before 3.0.2.
Users are recommended to upgrade to version 2.1.3 or 3.0.2, which fixes the issue.
NVD (es)
Una macro Where_in JINJA permite a los usuarios especificar una cita, que combinada con una declaración cuidadosamente manipulada permitiría la inyección de SQL en Apache Superset. Este problema afecta a Apache Superset: antes de 2.1.2, desde 3.0.0 antes de 3.0.2. Se recomienda a los usuarios actualizar a la versión 3.0.2, que soluciona el problema.
References
| https://lists.apache.org/thread/1kf481bgs3451qcz6hfhobs7xvhp8n1p | advisory, mailing-list, vendor-advisory, web | |
| http://www.openwall.com/lists/oss-security/2023/12/19/2 | advisory, mailing-list, third-party-advisory, web | |
| https://nvd.nist.gov/vuln/detail/CVE-2023-49736 | advisory, web | |
| https://github.com/apache/superset/pull/25779 | web | |
| https://github.com/apache/superset/commit/1d403dab9822a8cee6108669c53e53fad881c751 | web | |
| https://github.com/apache/superset/commit/34101594e284ab3acce692f41aff7759ccb4bf1d | web | |
| https://github.com/apache/superset | package | |
| https://pypi.org/project/apache-superset | package | |
| https://github.com/advisories/GHSA-jfxj-xf67-x723 | advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2023-49736 changed 2025-02-13 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-jfxj-xf67-x723 changed 2026-07-07 | CC-BY-4.0 |
| NVD | CVE-2023-49736 changed 2026-06-17 | Public domain |
| PyPA Advisory Database | PYSEC-2026-1184 changed 2026-07-07 | CC-BY-4.0 |
| Bitnami Vulnerability Database | BIT-SUPERSET-2023-49736 changed 2026-09-08 | Apache-2.0 |