Apache Superset OS Command Injection
High8.8CVE-2020-13948 · Published May 24, 2022 · updated Feb 5, 2025
Affected versions
| Package | Affected | Fixed in |
|---|---|---|
| apache-superset PyPI | < 0.37.1 | 0.37.1 |
Details and references
While investigating a bug report on Apache Superset, it was determined that an authenticated user could craft requests via a number of templated text fields in the product that would allow arbitrary access to Python’s `os` package in the web application process in versions < 0.37.1. It was thus possible for an authenticated user to list and access files, environment variables, and process information. Additionally it was possible to set environment variables for the current process, create and update files in folders writable by the web process, and execute arbitrary programs accessible by the web process. All other operations available to the `os` package in Python were also available, even if not explicitly enumerated in this CVE.
- CVSS 3.1
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Severity from
- GitHub (reviewed advisory)
- Weakness
- CWE-78
- Also known as
- BIT-superset-2020-13948, CVE-2020-13948, PYSEC-2020-222
- nvd.nist.gov/vuln/detail/CVE-2020-13948
- github.com/apache/superset/pull/11617#issuecomment-726204489
- github.com/apache/superset
- github.com/pypa/advisory-database/tree/main/vulns/apache-superset/PYSEC-2020-222.yaml
- lists.apache.org/thread.html/r0e35c7c5672a6146b962840be5c1a7b7461c05a71cd7ecc62774d155@%3Cnotifications.superset.apache.org%3E
- lists.apache.org/thread.html/r4fc7115f6e63ac255c48fc68c0da592df55fe4be47cae6378d39ac22@%3Cnotifications.superset.apache.org%3E
- lists.apache.org/thread.html/rdeee068ac1e0c43bd5b69830240f30598df15a2ef9f7998c7b29131e%40%3Cdev.superset.apache.org%3E
More Apache Superset advisories
All Apache Superset| Date | Advisory | Severity | Fixed in |
|---|---|---|---|
| May 242022 | Apache Superset SQL Injection when template processing is enabled CVE-2021-41971High8.8fixed in 1.3.1 | High8.8 | 1.3.1 |
| May 242022 | Apache Superset Cross-site Scripting (XSS) vulnerability on the Explore page CVE-2021-32609Medium5.4fixed in 1.2.0 | Medium5.4 | 1.2.0 |
| May 242022 | Apache Superset allowed for database connections password leak for authenticated users CVE-2021-41972High6.5fixed in 1.3.2 | High6.5 | 1.3.2 |
| May 242022 | Improper Encoding or Escaping of Output in Apache Superset CVE-2021-42250High6.5fixed in 1.3.2 | High6.5 | 1.3.2 |
| May 242022 | Apache Superset Stored XSS on Dashboard markdown CVE-2021-27907Medium5.4fixed in 0.38.1 | Medium5.4 | 0.38.1 |
| Apr 142022 | SQL injection in apache-superset CVE-2022-27479Critical9.8fixed in 1.4.2 | Critical9.8 | 1.4.2 |