CVE-2021-23556 Exposed Dangerous Method or Function

Medium 6.4 Published Updated

A malicious user can execute arbitrary commands via the D-Bus interface if another malicious program is installed to send signals.

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-2021-23556?

CVE-2021-23556 is a medium-severity command injection vulnerability in guake, published on 17 Mar 2022. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

The package guake before 3.8.5 are vulnerable to Exposed Dangerous Method or Function due to the exposure of execute_command and execute_command_by_uuid methods via the d-bus interface, which makes it possible for a malicious user to run an arbitrary command via the d-bus method. **Note:** Exploitation requires the user to have installed another malicious program that will be able to send dbus signals or run terminal commands.

Which versions are affected by CVE-2021-23556?

3 open source packages ship an affected version, including guake. It affects 1 product.

PackageAffectedFixed in
guake PyPIAll versions3.8.5
guake PyPIAll versions3.8.5
guake PyPIAll versions3.8.5

Products include Guake-Project Guake.

How do I fix CVE-2021-23556?

Upgrade guake to 3.8.5 or later.

Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.

Is CVE-2021-23556 being exploited?

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

Sources

Also known as DEBIAN-CVE-2021-23556, GHSA-7x48-7466-3g33, PYSEC-2022-165, SNYK-PYTHON-GUAKE-2386334, UBUNTU-CVE-2021-23556.

Is CVE-2021-23556 in your software?

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

Check your SBOMs for free