CVE-2024-39887

Apache Superset: Improper SQL authorisation, parse not checking for specific engine functions

Published Jul 16, 2024 CVSS 3.1 · 4.3 Medium EPSS 4.7% KEV · Not listed
Description
An SQL Injection vulnerability in Apache Superset exists due to improper neutralization of special elements used in SQL commands. Specifically, certain engine-specific functions are not checked, which allows attackers to bypass Apache Superset's SQL authorization. To mitigate this, a new configuration key named DISALLOWED_SQL_FUNCTIONS has been introduced. This key disallows the use of the following PostgreSQL functions: version, query_to_xml, inet_server_addr, and inet_client_addr. Additional functions can be added to this list for increased protection.

This issue affects Apache Superset: before 4.0.2.

Users are recommended to upgrade to version 4.0.2, which fixes the issue.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-2q6j-vpvr-6pvj Apache Superset vulnerable to improper SQL authorization
History
Type Values Removed Values Added
Metrics epss

{'score': 0.53487}

epss

{'score': 0.39173}

Type Values Removed Values Added
Metrics epss

{'score': 0.58132}

epss

{'score': 0.53487}

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description An SQL Injection vulnerability in Apache Superset exists due to improper neutralization of special elements used in SQL commands. Specifically, certain engine-specific functions are not checked, which allows attackers to bypass Apache Superset's SQL authorization. To mitigate this, a new configuration key named DISALLOWED_SQL_FUNCTIONS has been introduced. This key disallows the use of the following PostgreSQL functions: version, query_to_xml, inet_server_addr, and inet_client_addr. Additional functions can be added to this list for increased protection. This issue affects Apache Superset: before 4.0.2. Users are recommended to upgrade to version 4.0.2, which fixes the issue. An SQL Injection vulnerability in Apache Superset exists due to improper neutralization of special elements used in SQL commands. Specifically, certain engine-specific functions are not checked, which allows attackers to bypass Apache Superset's SQL authorization. To mitigate this, a new configuration key named DISALLOWED_SQL_FUNCTIONS has been introduced. This key disallows the use of the following PostgreSQL functions: version, query_to_xml, inet_server_addr, and inet_client_addr. Additional functions can be added to this list for increased protection. This issue affects Apache Superset: before 4.0.2. Users are recommended to upgrade to version 4.0.2, which fixes the issue.
Type Values Removed Values Added
First Time appeared Apache
Apache superset
CPEs cpe:2.3:a:apache:superset:*:*:*:*:*:*:*:*
Vendors & Products Apache
Apache superset
Weaknesses

Sources

Status
PUBLISHED
Assigner
apache
Published
Updated
Feb 13, 2025, 5:53 PM
Reserved
Jul 2, 2024, 1:26 PM
Status
Modified
Published
Jul 16, 2024, 10:15 AM
Modified
Jun 17, 2026, 7:42 AM