CVE-2020-13948 Apache Superset OS Command Injection
- Published
- Updated
- Exploit status
- No public exploit known
Description
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.
Upgrade path
2 packages: 2 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| apache superset | < 0.37.1 | 0.37.1 | Fixed |
| pypi apache-superset(PyPI) | < 0.37.1; = 0.34.0; = 0.34.1; = 0.35.1 +3 more | 0.37.1 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| pypi apache-superset(PyPI) | < 0.37.1 | 0.37.1 |
| pypi apache-superset(PyPI) | = 0.34.0 | No fix listed |
| pypi apache-superset(PyPI) | = 0.34.1 | No fix listed |
| pypi apache-superset(PyPI) | = 0.35.1 | No fix listed |
| pypi apache-superset(PyPI) | = 0.35.2 | No fix listed |
| pypi apache-superset(PyPI) | = 0.36.0 | No fix listed |
| pypi apache-superset(PyPI) | = 0.37.0 | No fix listed |
| apache superset | < 0.37.1 | 0.37.1 |
References
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com patch
- github.com product
- github.com
- lists.apache.org
- lists.apache.org
- lists.apache.org mailing-list vendor-advisory
- github.com vendor-advisory
- [superset-notifications] 20201112 [GitHub] [incubator-superset] ktmud commented on pull request #11617: feat: support 'chevron' library for templating as jinja alternative mailing-list
- [superset-notifications] 20201112 [GitHub] [incubator-superset] robdiciuccio commented on pull request #11617: feat: support 'chevron' library for templating as jinja alternative mailing-list