GitHub Advisoryadvisory · npm

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

CRITICAL Published 2020-09-04 Modified 2020-08-31 Official page ↗
Ecosystem
npm
Packages
meta-git
Severity
Critical
Weaknesses
CWE-77
Reviewed
2020-08-31

Affected packages

• npm meta-git: >= 0.0.0 (no fix yet)

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.

Related

Weakness · CWE (1)

  • CWE-77 Improper Neutralization of Special Elements used in a Command weakness

References