SQL Injection in Apache Superset
CVE-2024-39887
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.
Vulnerability class: SQL Injection
EPSS: 0.044 (90.4th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 4.3 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N.
Affected products
- Apache Superset
- Apache Software Foundation Superset — versions 0
Weakness classification (CWE)
Public proof-of-concept exploits
References
- security@apache.org (vendor-advisory, Mailing List, Vendor Advisory)
- security@apache.org (Mailing List, Third Party Advisory)
Frequently asked questions
- What is CVE-2024-39887?
- CVE-2024-39887 is a medium-severity vulnerability in Apache Superset, classified under SQL Injection. CVSS score: 4.3/10. Published 2024-07-16.
- How severe is CVE-2024-39887?
- Medium severity. CVSS v3 base score is 4.3 out of 10.
- Is CVE-2024-39887 known to be exploited?
- 3 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.