CVE-2020-26943 Arbitrary Code Execution in blazar-dashboard

Critical 9.9 Published Updated

A user with dashboard access can execute arbitrary code on the Horizon host via Python eval, leading to service compromise.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2020-26943?

CVE-2020-26943 is a critical code injection vulnerability in n/a, published on 16 Oct 2020. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

An issue was discovered in OpenStack blazar-dashboard before 1.3.1, 2.0.0, and 3.0.0. A user allowed to access the Blazar dashboard in Horizon may trigger code execution on the Horizon host as the user the Horizon service runs under (because the Python eval function is used). This may result in Horizon host unauthorized access and further compromise of the Horizon service. All setups using the Horizon dashboard with the blazar-dashboard plugin are affected.

Which versions are affected by CVE-2020-26943?

7 open source packages ship an affected version, including blazar-dashboard. It affects 1 product.

PackageAffectedFixed in
blazar-dashboard PyPIAll versions1.3.1, 2.0.1, 3.0.1
blazar-dashboard PyPIAll versions1.3.1
blazar-dashboard PyPIAll versions1.3.1
blazar-dashboard PyPIFrom 2.0.02.0.1
blazar-dashboard PyPIFrom 2.0.02.0.1
blazar-dashboard PyPIFrom 3.0.03.0.1
1 more packages
blazar-dashboard PyPIFrom 3.0.03.0.1

Products include Openstack Blazar-Dashboard.

How do I fix CVE-2020-26943?

Upgrade blazar-dashboard to a fixed version for your release line: 1.3.1, 2.0.1 or 3.0.1.

Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.

Is CVE-2020-26943 being exploited?

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

Sources

Also known as GHSA-939m-4xpw-v34v, PYSEC-2020-225.

Is CVE-2020-26943 in your software?

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

Check your SBOMs for free