CVE-2018-3785 Command Injection in git-dummy-commit

Critical 9.8 Published Updated

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.

PackageAffectedFixed in
git-dummy-commit npmAll versions to 1.3.0None
git-dummy-commit npmAll versions to 1.3.0None

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.

Is CVE-2018-3785 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free