CVE-2021-3028 git-big-picture Code Execution
Attackers can execute arbitrary code by providing a branch name containing single quotes to the git-big-picture tool.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2021-3028?
CVE-2021-3028 is a critical command injection vulnerability in n/a, published on 13 Jan 2021. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
git-big-picture before 1.0.0 mishandles ' characters in a branch name, leading to code execution.
Weakness: CWE-20
Which versions are affected by CVE-2021-3028?
3 open source packages ship an affected version, including git-big-picture. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
git-big-picture PyPI | All versions | 1.0.0 |
git-big-picture PyPI | All versions | 1.0.0 |
git-big-picture PyPI | All versions | 1.0.0 |
Products include Git-Big-Picture Project Git-Big-Picture.
How do I fix CVE-2021-3028?
Upgrade git-big-picture to 1.0.0 or later.
Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.
Is CVE-2021-3028 being exploited?
There is no known exploitation of CVE-2021-3028 in the wild and no public exploit code.
Sources
Also known as DEBIAN-CVE-2021-3028, GHSA-x38j-4rr5-hqrj, PYSEC-2021-15, UBUNTU-CVE-2021-3028.