GHSA-qcff-ffx3-m25c Command Injection in meta-git

Not scored Published

Attackers can execute arbitrary code via unsanitized branch names in the clone command of the meta-git 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 GHSA-qcff-ffx3-m25c?

GHSA-qcff-ffx3-m25c is a command injection vulnerability in meta-git, published on 4 Sep 2020. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

All versions of meta-git are vulnerable to Command Injection. The package fails to sanitize input and passes it directly to an exec call, which may allow attackers to execute arbitrary code in the system. The clone command is vulnerable through the branch name.

Recommendation

No fix is currently available. Consider using an alternative package until a fix is made available.

Which versions are affected by GHSA-qcff-ffx3-m25c?

2 open source packages ship an affected version, including meta-git.

PackageAffectedFixed in
meta-git npmFrom 0.0.0None
meta-git npmFrom 0.0.0None

How do I fix GHSA-qcff-ffx3-m25c?

No fix has been published for GHSA-qcff-ffx3-m25c 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 GHSA-qcff-ffx3-m25c being exploited?

There is no known exploitation of GHSA-qcff-ffx3-m25c in the wild and no public exploit code.

Sources

Is GHSA-qcff-ffx3-m25c in your software?

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

Check your SBOMs for free