CVE-2022-43720: Apache superset Apache Superset Vulnerable To Injection Vulnerability
MODERATECVE-2022-43720 is a MODERATE (CVSS 5.4) apache superset vulnerable to injection vulnerability (CWE-74: Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')) affecting Apache superset libraries in the PyPI ecosystem. The issue involves apache superset vulnerable to injection. Remediation is available in the latest vendor maintenance releases.
CVE-2022-43720 at a Glance
Security Impact
CVSS: 5.4
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:L/A:N).
How to Fix CVE-2022-43720
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>=Latest secure release
pip install apache-superset>=Latest secure release
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-2022-43720, 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 the patched release), 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-74: Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection'), where the product constructs all or part of a command, data structure, or record using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify how it is parsed or interpreted when it is sent to a downstream component. 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-2022-43720 Affected Apache superset Versions
2 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
apache-superset
|
PyPI |
≤ 1.5.2
|
|
|
apache-superset
|
PyPI |
2.0.0
All 1 versions
2.0.0
|
None specified
|
References
Frequently Asked Questions
What is CVE-2022-43720?
Which Apache superset versions are affected?
What version fixes CVE-2022-43720?
Is apache-superset affected?
What is the CVSS score of CVE-2022-43720?
What CWE is associated with CVE-2022-43720?
How can I check PyPI dependencies for CVE-2022-43720?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-fpmr-qmgh-42x2",
"modified" : "2023-01-24T18:53:12Z",
"published" : "2023-01-16T12:30:17Z",
"aliases" : [ "CVE-2022-43720" ],
"summary" : "Apache Superset vulnerable to Injection",
"details" : "An authenticated attacker with write CSS template permissions can create a record with specific HTML tags that will not get properly escaped by the toast message displayed when a user deletes that specific CSS template record. This issue affects Apache Superset version 1.5.2 and prior versions and version 2.0.0.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "PyPI",
"name" : "apache-superset"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"last_affected" : "1.5.2"
} ]
} ]
}, {
"package" : {
"ecosystem" : "PyPI",
"name" : "apache-superset"
},
"versions" : [ "2.0.0" ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2022-43720"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/apache/superset"
}, {
"type" : "WEB",
"url" : "https://lists.apache.org/thread/jts6x56kghr9mbowb653bk70pl81jp8l"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-74" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2023-01-20T23:16:43Z",
"nvd_published_at" : "2023-01-16T11:15:00Z"
}
}