Vulnerabilities in pkg:pypi/guake
PACKAGECVE-2021-23556 is a MODERATE (CVSS 6.4) command injection vulnerability (General Security Weakness) affecting Guake libraries in the PyPI ecosystem. The issue involves command injection in guake. Remediation is available by upgrading affected packages to version 3.8.5.
pkg:pypi/guake
Vulnerability advisories affecting package pkg:pypi/guake. Select an advisory below to view technical details or fixes.
| Advisory ID | CVE / NVD | Severity | Summary |
|---|---|---|---|
| GHSA-7x48-7466-3g33 | CVE-2021-23556 | MODERATE | Command injection in guake |
CVE-2021-23556 at a Glance
Security Impact
CVSS: 6.4
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:L/A:L).
How to Fix CVE-2021-23556
To remediate this vulnerability, upgrade all affected Guake 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 guake>=3.8.5
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
pip show guake
How to Check if You Are Affected
To determine whether your Python environment is affected by CVE-2021-23556, inspect your installed packages using pip:
pip show guake
Analyze the terminal output to locate any version of Guake in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 3.8.5), your application is affected.
Note: The pip show guake command checks currently installed packages in your active Python environment.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under General Security Weakness. In Guake, 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-2021-23556 Affected Guake Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
guake
|
PyPI |
< 3.8.5
|
3.8.5
|
References
Frequently Asked Questions
What is CVE-2021-23556?
Which Guake versions are affected?
What version fixes CVE-2021-23556?
Is guake affected?
What is the CVSS score of CVE-2021-23556?
What CWE is associated with CVE-2021-23556?
How can I check PyPI dependencies for CVE-2021-23556?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-7x48-7466-3g33",
"modified" : "2024-09-20T21:32:41Z",
"published" : "2022-03-18T00:01:11Z",
"aliases" : [ "CVE-2021-23556" ],
"summary" : "Command injection in guake",
"details" : "Guake is a drop-down terminal for GNOME. The package guake before 3.8.5 is 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.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:L/A:L"
}, {
"type" : "CVSS_V4",
"score" : "CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:L/VA:L/SC:N/SI:N/SA:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "PyPI",
"name" : "guake"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "3.8.5"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2021-23556"
}, {
"type" : "WEB",
"url" : "https://github.com/Guake/guake/issues/1796"
}, {
"type" : "WEB",
"url" : "https://github.com/Guake/guake/pull/2017"
}, {
"type" : "WEB",
"url" : "https://github.com/Guake/guake/commit/b769b3a5fd71a107c58679d217cccc971b4196b4"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/Guake/guake"
}, {
"type" : "WEB",
"url" : "https://github.com/Guake/guake/releases"
}, {
"type" : "ADVISORY",
"url" : "https://github.com/advisories/GHSA-7x48-7466-3g33"
}, {
"type" : "WEB",
"url" : "https://github.com/pypa/advisory-database/tree/main/vulns/guake/PYSEC-2022-165.yaml"
}, {
"type" : "WEB",
"url" : "https://snyk.io/vuln/SNYK-PYTHON-GUAKE-2386334"
} ],
"database_specific" : {
"cwe_ids" : [ ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2022-03-18T22:40:30Z",
"nvd_published_at" : null
}
}