Skip to content
OpenAdvisories
Critical GHSA-7r9x-hr76-jr96

Command Injection in giting

Published Sep 4, 2020 · Updated Aug 31, 2020 · Assigned by GHSA

Description

All versions of `gitting` 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 `pull` function is vulnerable through the `branch` variable.

## Recommendation

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

Affected packages

EcosystemPackageAffectedFixedRecord
npm giting >= 0.0.0 — GHSA-7r9x-hr76-jr96

References