CVE-2021-23412 Command Injection
Attackers can execute arbitrary commands via unsanitized options in the gitlogplus library, posing a risk to applications using this package.
- 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-23412?
CVE-2021-23412 is a high-severity command injection vulnerability in gitlogplus, published on 23 Jul 2021. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
All versions of package gitlogplus are vulnerable to Command Injection via the main functionality, as options attributes are appended to the command to be executed without sanitization.
Weakness: CWE-78
Which versions are affected by CVE-2021-23412?
2 open source packages ship an affected version, including gitlogplus. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
gitlogplus npm | All versions to 3.1.7 | None |
gitlogplus npm | All versions to 3.1.7 | None |
Products include Gitlogplus Project Gitlogplus.
How do I fix CVE-2021-23412?
No fix has been published for CVE-2021-23412 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-23412 being exploited?
There is no known exploitation of CVE-2021-23412 in the wild and no public exploit code.
Sources
Also known as GHSA-3fxp-vwxm-2r5p.