SQL Injection in Apache Superset
CVE-2024-39887
- CVSS v3
- 4.3 Medium
- Public exploits
- None known
- EPSS
- 0.047 · 92.0th percentile
- Published
- 2024-07-16
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
Published · last modified .
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.
- Attack Vector
- Network
AV:N - Attack Complexity
- Low
AC:L - Privileges Required
- Low
PR:L - User Interaction
- None
UI:N - Scope
- Unchanged
S:U - Confidentiality
- Low
C:L - Integrity
- None
I:N - Availability
- None
A:N
EPSS exploit prediction
EPSS 0.047, 92.0th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Apache Superset
- Apache Software Foundation Superset — versions 0
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 3 other repositories (20142995/nuclei-templates, ARPSyndicate/cve-scores, cyb3r-w0lf/nuclei-template-collection). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- lists.apache.org/thread/j55vm41jg3l0x6w49zrmvbf3k0ts5fqz (vendor-advisory, Mailing List, Vendor Advisory)
- www.openwall.com/lists/oss-security/2024/07/16/5 (Mailing List, Third Party Advisory)