8.8high
Apache Superset OS Command Injection
- Severity
- 8.8high CVSS:3.1 by NVD
- Exploit likelihood
- 3.16% (higher than 88% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- apache
- Also known as
- GHSA-cj7g-h7rf-h8j9BIT-SUPERSET-2020-13948PYSEC-2020-222
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Apache Superset | Apache Superset < 0.37.1, before 0.37.1 | CVE List, NVD |
| apache-superset (PyPI) | before 0.37.1 | GitHub Advisory Database, PyPA Advisory Database |
| superset (Bitnami) | before 0.37.1 | Bitnami Vulnerability Database |
All scores
| GitHub | 8.8high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| 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 |
| NVD | 6.5medium CVSS:2.0 | AV:N/AC:L/Au:S/C:P/I:P/A:P |
| Bitnami Vulnerability Database | high rating |
Classification
What each source says
CVE List
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.
NVD (es)
Mientras investigaba un reporte de error en Apache Superset, se determinó que un usuario autenticado podía crear peticiones por medio de una serie de campos de texto con plantilla en el producto que permitirían el acceso arbitrario al paquete "os" de Python en el proceso de la aplicación web en las versiones anteriores a 0.37.1. Por tanto, un usuario autenticado podía enumerar y acceder a archivos, variables de entorno e información de proceso. Además, fue posible establecer variables de entorno para el proceso actual, crear y actualizar archivos en carpetas escribibles por el proceso web y ejecutar programas arbitrarios accesibles por el proceso web. Todas las demás operaciones disponibles para el paquete "os" en Python también estaban disponibles, inclusive si no se enumeraron explícitamente en este CVE
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2020-13948 changed 2024-08-04 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-cj7g-h7rf-h8j9 changed 2025-02-05 | CC-BY-4.0 |
| NVD | CVE-2020-13948 changed 2026-06-17 | Public domain |
| PyPA Advisory Database | PYSEC-2020-222 changed 2026-06-10 | CC-BY-4.0 |
| Bitnami Vulnerability Database | BIT-SUPERSET-2020-13948 changed 2026-09-08 | Apache-2.0 |