Vulnerability · Published Jan 16, 2023 · Assigned by apache

CVE-2022-41703Apache Superset: SQL injection vulnerability in adhoc clauses

Medium 5.4

In plain English

A medium-severity SQL injection in Apache Superset from Apache Software Foundation. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.2% (higher than 69% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)5.4Medium
Exploit odds (30 days)1.2%top 30.8% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official description

A vulnerability in the SQL Alchemy connector of Apache Superset allows an authenticated user with read access to a specific database to add subqueries to the WHERE and HAVING fields referencing tables on the same database that the user should not have access to, despite the user having the feature flag "ALLOW_ADHOC_SUBQUERY" disabled (default value). This issue affects Apache Superset version 1.5.2 and prior versions and version 2.0.0.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
PyPIapache-supersetno fix listedGHSA-cxvp-3frm-3876
PyPIapache-supersetno fix listedGHSA-cxvp-3frm-3876
PyPIapache-superset1.5.3, 2.0.1PYSEC-2026-780

Affected products (as reported)

VendorProductVersions
Apache Software Foundation Apache Superset 2.0.0 – before 2.0.10 – through 1.5.2

Weakness: CWE-89 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N

References