CVE-2018-3785 Command Injection in git-dummy-commit
An attacker can execute arbitrary OS commands via unescaped parameters in the git-dummy-commit npm 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-2018-3785?
CVE-2018-3785 is a critical command injection vulnerability in https://github.com/stevemao git-dummy-commit, published on 17 Aug 2018. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
A command injection in git-dummy-commit v1.3.0 allows os level commands to be executed due to an unescaped parameter.
Weakness: CWE-78
Which versions are affected by CVE-2018-3785?
2 open source packages ship an affected version, including git-dummy-commit. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
git-dummy-commit npm | All versions to 1.3.0 | None |
git-dummy-commit npm | All versions to 1.3.0 | None |
Products include Git-Dummy-Commit Project Git-Dummy-Commit.
How do I fix CVE-2018-3785?
No fix has been published for CVE-2018-3785 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-2018-3785 being exploited?
There is no known exploitation of CVE-2018-3785 in the wild and no public exploit code.
Sources
Also known as GHSA-h3c2-x77c-7pvr.