CVE-2024-24779: Apache Superset Improper Data Authorization When Creating Vulnerability

MODERATE
Advisory Identifier: GHSA-wr6g-9wcr-cmqj
CVSS 5.0
CWE-863
Published
Advisory Summary

CVE-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

CVE Identifier CVE-2024-24779
GHSA Identifier GHSA-wr6g-9wcr-cmqj
Severity MODERATE
CVSS v3.1 Base Score 5.0
CWE Classification CWE-863: Incorrect Authorization
Affected Product Apache Superset
Package Ecosystem PyPI
Published Date
Last Updated

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).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required Low (PR:L)
User Interaction None (UI:N)
Scope Changed (S:C)
Confidentiality Low (C:L)
Integrity None (I:N)
Availability None (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.

apache-superset fixed: 3.0.4
pip install apache-superset>=3.0.4
apache-superset fixed: 3.1.1
pip install apache-superset>=3.1.1
Verify Direct and Transitive Dependencies

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

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. This issue affects Apache Superset: before 3.0.4, from 3.1.0 before 3.1.1. Users are recommended to upgrade to version 3.1.1 or 3.0.4, which fixes the issue.

CVE-2024-24779 Affected Apache Superset Versions

2 component(s)
Fixed Versions:
3.0.43.1.1
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?
CVE-2024-24779 is a security vulnerability in Apache Superset involving Improper data authorization when creating a new dataset under CWE-863: Incorrect Authorization.
Which Apache Superset versions are affected?
Affected versions include releases prior to 3.0.4, 3.1.1 across affected packages: apache-superset.
What version fixes CVE-2024-24779?
Upgrading to 3.0.4, 3.1.1 (or the latest patched release for your respective branch) resolves the vulnerability.
Is apache-superset affected?
Yes, apache-superset is affected in releases prior to 3.0.4, 3.1.1. Upgrade your dependency to 3.0.4, 3.1.1 or later.
What is the CVSS score of CVE-2024-24779?
CVE-2024-24779 has a CVSS v3.1 base score of 5.0 (MODERATE) with vector string CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:N/A:N.
What CWE is associated with CVE-2024-24779?
CVE-2024-24779 is classified under CWE-863: Incorrect Authorization (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.).
How can I check PyPI dependencies for CVE-2024-24779?
Run the dependency tree command: 'pip show apache-superset'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "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"
  }
}