CVE-2022-27479 SQL injection vulnerability in chart data API

Critical 9.8 Published Updated

Attackers can execute arbitrary SQL commands via chart data requests in Apache Superset, potentially accessing or modifying database contents.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2022-27479?

CVE-2022-27479 is a critical SQL injection vulnerability in Apache Superset, published on 13 Apr 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

Apache Superset before 1.4.2 is vulnerable to SQL injection in chart data requests. Users should update to 1.4.2 or higher which addresses this issue.

Weakness: CWE-89

Which versions are affected by CVE-2022-27479?

4 open source packages ship an affected version, including apache-superset and superset. It affects 1 product.

PackageAffectedFixed in
apache-superset PyPIAll versions1.4.2
apache-superset PyPIAll versions1.4.2
apache-superset PyPIAll versions1.4.2
superset BitnamiAll versions1.4.2

Products include Apache Superset.

How do I fix CVE-2022-27479?

Upgrade apache-superset to 1.4.2 or later.

Use parameterised queries everywhere and never build SQL by joining strings. Upgrade affected software first; a web application firewall only buys time. More about SQL injection.

Is CVE-2022-27479 being exploited?

There is no known exploitation of CVE-2022-27479 in the wild and no public exploit code.

All Apache Superset vulnerabilities

Sources

Also known as BIT-superset-2022-27479, GHSA-wh73-hpcg-v32j, PYSEC-2022-188.

Is CVE-2022-27479 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free