CVE-2021-34079 Command injection in docker-tester
Attackers can execute arbitrary commands via shell metacharacters in the ports entry of a crafted docker-compose.yml file using Mintzo Docker-Tester.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2021-34079?
CVE-2021-34079 is a critical command injection vulnerability in n/a, published on 1 Jun 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
OS Command injection vulnerability in Mintzo Docker-Tester through 1.2.1 allows attackers to execute arbitrary commands via shell metacharacters in the 'ports' entry of a crafted docker-compose.yml file.
Weakness: CWE-78
Which versions are affected by CVE-2021-34079?
2 open source packages ship an affected version, including docker-tester. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
docker-tester npm | All versions to 1.2.1 | None |
docker-tester npm | All versions to 1.2.1 | None |
Products include Docker-Tester Project Docker-Tester.
How do I fix CVE-2021-34079?
No fix has been published for CVE-2021-34079 yet. Limit exposure of the affected software until one is available.
Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.
Is CVE-2021-34079 being exploited?
There is no known exploitation of CVE-2021-34079 in the wild and no public exploit code.
Sources
Also known as GHSA-rj88-4777-828h.