Skip to content

CVE-2024-39887 Apache Superset: Improper SQL authorisation, parse not checking for specific engine functions

CriticalCVSS 9.8 EPSS 4.7% Scanner template
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: partial

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.

Upgrade path

3 packages: 3 fixed.

PackageAffectedFixed inStatus
Apache Superset < 4.0.2 4.0.2 Fixed
apache superset < 4.0.2 4.0.2 Fixed
pypi apache-superset(PyPI) < 4.0.2; = 0.34.0; = 0.34.1; = 0.35.1 +51 more 4.0.2 Fixed

Affected products

ProductAffected versionsFixed in
pypi apache-superset(PyPI) < 4.0.2 4.0.2
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
pypi apache-superset(PyPI) = 0.37.1 No fix listed
pypi apache-superset(PyPI) = 0.37.2 No fix listed
pypi apache-superset(PyPI) = 0.38.0 No fix listed
pypi apache-superset(PyPI) = 0.38.1 No fix listed
pypi apache-superset(PyPI) = 1.0.0 No fix listed
pypi apache-superset(PyPI) = 1.0.1 No fix listed
pypi apache-superset(PyPI) = 1.1.0 No fix listed
pypi apache-superset(PyPI) = 1.2.0 No fix listed
pypi apache-superset(PyPI) = 1.3.0 No fix listed
pypi apache-superset(PyPI) = 1.3.1 No fix listed
pypi apache-superset(PyPI) = 1.3.2 No fix listed
pypi apache-superset(PyPI) = 1.4.0 No fix listed
pypi apache-superset(PyPI) = 1.4.1 No fix listed
pypi apache-superset(PyPI) = 1.4.2 No fix listed
pypi apache-superset(PyPI) = 1.5.0 No fix listed
pypi apache-superset(PyPI) = 1.5.1 No fix listed
pypi apache-superset(PyPI) = 1.5.2 No fix listed
pypi apache-superset(PyPI) = 1.5.3 No fix listed
Show 32 more
ProductAffected versionsFixed in
pypi apache-superset(PyPI) = 2.0.0 No fix listed
pypi apache-superset(PyPI) = 2.0.1 No fix listed
pypi apache-superset(PyPI) = 2.1.0 No fix listed
pypi apache-superset(PyPI) = 2.1.1 No fix listed
pypi apache-superset(PyPI) = 2.1.1rc1 No fix listed
pypi apache-superset(PyPI) = 2.1.1rc2 No fix listed
pypi apache-superset(PyPI) = 2.1.1rc3 No fix listed
pypi apache-superset(PyPI) = 2.1.2 No fix listed
pypi apache-superset(PyPI) = 2.1.3 No fix listed
pypi apache-superset(PyPI) = 3.0.0 No fix listed
pypi apache-superset(PyPI) = 3.0.0rc1 No fix listed
pypi apache-superset(PyPI) = 3.0.0rc2 No fix listed
pypi apache-superset(PyPI) = 3.0.0rc3 No fix listed
pypi apache-superset(PyPI) = 3.0.0rc4 No fix listed
pypi apache-superset(PyPI) = 3.0.1 No fix listed
pypi apache-superset(PyPI) = 3.0.2 No fix listed
pypi apache-superset(PyPI) = 3.0.3 No fix listed
pypi apache-superset(PyPI) = 3.0.4 No fix listed
pypi apache-superset(PyPI) = 3.1.0 No fix listed
pypi apache-superset(PyPI) = 3.1.0rc1 No fix listed
pypi apache-superset(PyPI) = 3.1.0rc2 No fix listed
pypi apache-superset(PyPI) = 3.1.0rc3 No fix listed
pypi apache-superset(PyPI) = 3.1.0rc4 No fix listed
pypi apache-superset(PyPI) = 3.1.1 No fix listed
pypi apache-superset(PyPI) = 3.1.2 No fix listed
pypi apache-superset(PyPI) = 3.1.3 No fix listed
pypi apache-superset(PyPI) = 4.0.0 No fix listed
pypi apache-superset(PyPI) = 4.0.0rc1 No fix listed
pypi apache-superset(PyPI) = 4.0.0rc2 No fix listed
pypi apache-superset(PyPI) = 4.0.1 No fix listed
Apache Superset < 4.0.2 4.0.2
apache superset < 4.0.2 4.0.2

References