apache-superset@3.0.0 vulnerabilities

A modern, enterprise-ready business intelligence web application

Direct Vulnerabilities

Known vulnerabilities in the apache-superset package. This does not include vulnerabilities belonging to this package’s dependencies.

Automatically find and fix vulnerabilities affecting your projects. Snyk scans for vulnerabilities and provides fixes for free.
Fix for free
Vulnerability Vulnerable Version
  • L
SQL Injection

apache-superset is a modern, enterprise-ready business intelligence web application.

Affected versions of this package are vulnerable to SQL Injection by using engine-specific functions that are not adequately checked. This is only exploitable if the DISALLOWED_SQL_FUNCTIONS configuration is not set to disallow critical functions.

How to fix SQL Injection?

Upgrade apache-superset to version 4.0.2 or higher.

[,4.0.2)
  • M
Arbitrary File Read

apache-superset is a modern, enterprise-ready business intelligence web application.

Affected versions of this package are vulnerable to Arbitrary File Read by allowing an authenticated attacker to create a MariaDB connection with local_infile enabled. The attacker can read files from the server and insert their content into a MariaDB database table by executing specific MySQL/MariaDB SQL commands.

Note:

This is only exploitable if both the MariaDB server and the local mysql client on the web server are set to allow for local infile.

How to fix Arbitrary File Read?

Upgrade apache-superset to version 3.1.3, 4.0.1 or higher.

[,3.1.3) [4.0.0,4.0.1)
  • M
Incorrect Authorization

apache-superset is a modern, enterprise-ready business intelligence web application.

Affected versions of this package are vulnerable to Incorrect Authorization due to the improper handling of REST API requests. An authenticated attacker can access unauthorized metadata that they are not authorized to view by submitting a targeted request.

How to fix Incorrect Authorization?

Upgrade apache-superset to version 3.1.2, 4.0.0rc2 or higher.

[,3.1.2) [4.0.0rc1,4.0.0rc2)
  • M
Improper Authorization

apache-superset is a modern, enterprise-ready business intelligence web application.

Affected versions of this package are vulnerable to Improper Authorization on dashboards and charts import. A low privilege authenticated user could import an existing dashboard or chart that they do not have access to and then modify its metadata, thereby gaining ownership of the object.

Note: The access to the analytical data of these charts and dashboards would still be subject to validation based on data access privileges.

How to fix Improper Authorization?

Upgrade apache-superset to version 3.0.4, 3.1.1 or higher.

[,3.0.4) [3.1.0,3.1.1)
  • M
Insertion of Sensitive Information into Log File

apache-superset is a modern, enterprise-ready business intelligence web application.

Affected versions of this package are vulnerable to Insertion of Sensitive Information into Log File. A user with Alerts & Reports privileges to create Alerts can cause a malicious SQL statement to throw and error and have its contents logged. Thee error is not properly handled and can expose sensitive data.

How to fix Insertion of Sensitive Information into Log File?

Upgrade apache-superset to version 3.0.4, 3.1.1 or higher.

[,3.0.4) [3.1.0rc1,3.1.1)
  • M
Improper Authorization

apache-superset is a modern, enterprise-ready business intelligence web application.

Affected versions of this package are vulnerable to Improper Authorization when creating a new virtual dataset using custom roles that include "can write on dataset". This allows users to access data in other datasets to which they do not otherwise have access.

How to fix Improper Authorization?

Upgrade apache-superset to version 3.0.4, 3.1.1 or higher.

[,3.0.4) [3.1.0rc1,3.1.1)
  • M
Incorrect Authorization

apache-superset is a modern, enterprise-ready business intelligence web application.

Affected versions of this package are vulnerable to Incorrect Authorization when processing nested SQL statements in SQLLab, allowing a user to access unauthorized data.

How to fix Incorrect Authorization?

Upgrade apache-superset to version 3.0.4, 3.1.1 or higher.

[,3.0.4) [3.1.0rc1,3.1.1)
  • M
SQL Injection

apache-superset is a modern, enterprise-ready business intelligence web application.

Affected versions of this package are vulnerable to SQL Injection in an embedded context, allowing a guest user to expose information from the analytics database via chart data REST API call.

How to fix SQL Injection?

Upgrade apache-superset to version 3.0.4, 3.1.1 or higher.

[,3.0.4) [3.1.0rc1,3.1.1)
  • M
Cross-site Scripting (XSS)

apache-superset is a modern, enterprise-ready business intelligence web application.

Affected versions of this package are vulnerable to Cross-site Scripting (XSS) via the "Dashboard Title" and "Chart Title" due to improper user input sanitization. An authenticated attacker with create/update permissions could inject a malicious script or HTML snippet, leading to the execution of arbitrary code in the context of the user's browser session.

Note

For 2.X versions, users should change their config to include:

TALISMAN_CONFIG = {
    "content_security_policy": {
        "base-uri": ["'self'"],
        "default-src": ["'self'"],
        "img-src": ["'self'", "blob:", "data:"],
        "worker-src": ["'self'", "blob:"],
        "connect-src": [
            "'self'",
            " https://api.mapbox.com" https://api.mapbox.com" ;,
            " https://events.mapbox.com" https://events.mapbox.com" ;,
        ],
        "object-src": "'none'",
        "style-src": [
            "'self'",
            "'unsafe-inline'",
        ],
        "script-src": ["'self'", "'strict-dynamic'"],
    },
    "content_security_policy_nonce_in": ["script-src"],
    "force_https": False,
    "session_cookie_secure": False,
}

How to fix Cross-site Scripting (XSS)?

Upgrade apache-superset to version 3.0.3 or higher.

[,3.0.3)
  • M
Uncontrolled Resource Consumption

apache-superset is a modern, enterprise-ready business intelligence web application.

Affected versions of this package are vulnerable to Uncontrolled Resource Consumption. An authenticated attacker can trigger this vulnerability by uploading a malicious ZIP file to import databases, dashboards, or datasets.

How to fix Uncontrolled Resource Consumption?

Upgrade apache-superset to version 2.1.3, 3.0.2 or higher.

[,2.1.3) [3.0.0,3.0.2)
  • M
SQL Injection

apache-superset is a modern, enterprise-ready business intelligence web application.

Affected versions of this package are vulnerable to SQL Injection via the where_in JINJA macro which allows users to specify a quote. An attacker can manipulate SQL queries by crafting malicious input that exploits the quoting mechanism.

How to fix SQL Injection?

Upgrade apache-superset to version 2.1.3, 3.0.2 or higher.

[,2.1.3) [3.0.0,3.0.2)
  • H
Incorrect Authorization

apache-superset is a modern, enterprise-ready business intelligence web application.

Affected versions of this package are vulnerable to Incorrect Authorization due to improper enforcement of access controls. An authenticated Gamma user can exploit this by creating a dashboard and adding charts to it, which erroneously grants them ownership and write permissions to those charts.

How to fix Incorrect Authorization?

Upgrade apache-superset to version 2.1.3, 3.0.2 or higher.

[,2.1.3) [3.0.0,3.0.2)