CVE-2021-37839: Apache superset Apache Superset Allows Authenticated Users Vulnerability
MODERATECVE-2021-37839 is a MODERATE (CVSS 4.3) apache superset allows authenticated users vulnerability (CWE-273: Improper Check for Dropped Privileges) affecting Apache superset libraries in the PyPI ecosystem. The issue involves apache superset allows authenticated users to access metadata they have no permission to. Remediation is available by upgrading affected packages to version 1.5.1.
CVE-2021-37839 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-2021-37839
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>=1.5.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-2021-37839, 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 1.5.1), 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-273: Improper Check for Dropped Privileges, where the product attempts to drop privileges but does not check or incorrectly checks to see if the drop succeeded. 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-2021-37839 Affected Apache superset Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
apache-superset
|
PyPI |
< 1.5.1
|
1.5.1
|
References
Frequently Asked Questions
What is CVE-2021-37839?
Which Apache superset versions are affected?
What version fixes CVE-2021-37839?
Is apache-superset affected?
What is the CVSS score of CVE-2021-37839?
What CWE is associated with CVE-2021-37839?
How can I check PyPI dependencies for CVE-2021-37839?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-748r-5r8q-273m",
"modified" : "2023-09-05T20:16:04Z",
"published" : "2022-07-07T00:00:26Z",
"aliases" : [ "CVE-2021-37839" ],
"summary" : "Apache Superset allows authenticated users to access metadata they have no permission to",
"details" : "Apache Superset up to 1.5.1 allowed for authenticated users to access metadata information related to datasets they have no permission on. This metadata included the dataset name, columns and metrics.",
"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" : "1.5.1"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2021-37839"
}, {
"type" : "WEB",
"url" : "https://github.com/apache/superset/commit/2bd89d1705347da5446902a3f65eb8d0a6353503"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/apache/superset"
}, {
"type" : "WEB",
"url" : "https://lists.apache.org/thread/pwqyxxmn5gh7cnw3qsp66v0lt4xojt82"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-273" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2022-07-15T21:31:23Z",
"nvd_published_at" : "2022-07-06T13:15:00Z"
}
}