CVE-2023-42501: Apache superset Apache Superset Has Incorrect Default Vulnerability
MODERATECVE-2023-42501 is a MODERATE (CVSS 4.3) apache superset has incorrect default vulnerability (CWE-276: Incorrect Default Permissions) affecting Apache superset libraries in the PyPI ecosystem. The issue involves apache superset has incorrect default permissions. Remediation is available by upgrading affected packages to version 2.1.2.
CVE-2023-42501 at a Glance
Security Impact
CVSS: 4.3
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:U/C:L/I:N/A:N).
How to Fix CVE-2023-42501
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>=2.1.2
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-2023-42501, 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 2.1.2), 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-276: Incorrect Default Permissions, where during installation, installed file permissions are set to allow anyone to modify those files. 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-2023-42501 Affected Apache superset Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
apache-superset
|
PyPI |
< 2.1.2
|
2.1.2
|
References
Frequently Asked Questions
What is CVE-2023-42501?
Which Apache superset versions are affected?
What version fixes CVE-2023-42501?
Is apache-superset affected?
What is the CVSS score of CVE-2023-42501?
What CWE is associated with CVE-2023-42501?
How can I check PyPI dependencies for CVE-2023-42501?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-vv65-fjfj-4736",
"modified" : "2025-02-13T19:25:33Z",
"published" : "2023-11-27T12:30:55Z",
"aliases" : [ "CVE-2023-42501" ],
"summary" : "Apache Superset has Incorrect Default Permissions",
"details" : "Unnecessary read permissions within the Gamma role would allow authenticated users to read configured CSS templates and annotations.\nThis issue affects Apache Superset: before 2.1.2.\nUsers should upgrade to version or above 2.1.2 and run `superset init` to reconstruct the Gamma role or remove `can_read` permission from the mentioned resources.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "PyPI",
"name" : "apache-superset"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "2.1.2"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2023-42501"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/apache/superset"
}, {
"type" : "WEB",
"url" : "https://lists.apache.org/thread/vk1rmrh9kz0chjmc9tk7o3md6zpz4ygh"
}, {
"type" : "WEB",
"url" : "http://www.openwall.com/lists/oss-security/2023/11/27/3"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-276" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2023-11-28T20:53:25Z",
"nvd_published_at" : "2023-11-27T11:15:07Z"
}
}