CVE-2024-24779: Apache Superset Improper Data Authorization When Creating Vulnerability
MODERATECVE-2024-24779 is a MODERATE (CVSS 5.0) improper data authorization when creating vulnerability (CWE-863: Incorrect Authorization) affecting Apache Superset libraries in the PyPI ecosystem. The issue involves improper data authorization when creating a new dataset. Remediation is available by upgrading affected packages to version 3.0.4, 3.1.1.
CVE-2024-24779 at a Glance
Security Impact
CVSS: 5.0
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:N/A:N).
How to Fix CVE-2024-24779
To remediate this vulnerability, upgrade all affected Apache Superset dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
pip install apache-superset>=3.0.4
pip install apache-superset>=3.1.1
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
pip show apache-superset
How to Check if You Are Affected
To determine whether your Python environment is affected by CVE-2024-24779, inspect your installed packages using pip:
pip show apache-superset
Analyze the terminal output to locate any version of Apache Superset in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 3.0.4), your application is affected.
Note: The pip show apache-superset command checks currently installed packages in your active Python environment.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-863: Incorrect Authorization, where the product performs an authorization check when an actor attempts to access a resource or perform an action, but it does not correctly perform the check. In Apache Superset, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2024-24779 Affected Apache Superset Versions
2 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
apache-superset
|
PyPI |
< 3.0.4
|
3.0.4
|
|
apache-superset
|
PyPI |
≥ 3.1.0
< 3.1.1
|
3.1.1
|
References
Frequently Asked Questions
What is CVE-2024-24779?
Which Apache Superset versions are affected?
What version fixes CVE-2024-24779?
Is apache-superset affected?
What is the CVSS score of CVE-2024-24779?
What CWE is associated with CVE-2024-24779?
How can I check PyPI dependencies for CVE-2024-24779?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-wr6g-9wcr-cmqj",
"modified" : "2025-02-13T19:10:00Z",
"published" : "2024-02-28T12:30:27Z",
"aliases" : [ "CVE-2024-24779" ],
"summary" : "Apache Superset: Improper data authorization when creating a new dataset",
"details" : "Apache Superset with custom roles that include `can write on dataset` and without all data access permissions, allows for users to create virtual datasets to data they don't have access to. These users could then use those virtual datasets to get access to unauthorized data.\nThis issue affects Apache Superset: before 3.0.4, from 3.1.0 before 3.1.1.\n\nUsers are recommended to upgrade to version 3.1.1 or 3.0.4, which fixes the issue.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:N/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "PyPI",
"name" : "apache-superset"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "3.0.4"
} ]
} ],
"database_specific" : {
"last_known_affected_version_range" : "<= 3.0.3"
}
}, {
"package" : {
"ecosystem" : "PyPI",
"name" : "apache-superset"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "3.1.0"
}, {
"fixed" : "3.1.1"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2024-24779"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/apache/superset"
}, {
"type" : "WEB",
"url" : "https://lists.apache.org/thread/xzhz1m5bb9zxhyqgoy4q2d689b3zp4pq"
}, {
"type" : "WEB",
"url" : "http://www.openwall.com/lists/oss-security/2024/02/28/6"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-863" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2024-02-28T18:57:02Z",
"nvd_published_at" : "2024-02-28T12:15:47Z"
}
}