CVE-2019-10803
push-dir Enables OS Command Injection
Severity by source
Trivy's own label is CRITICAL. Rated critical by NVD, GHSA.
Description
push-dir through 0.4.1 allows execution of arbritary commands. Arguments provided as part of the variable "opt.branch" is not validated before being provided to the "git" command within "index.js#L139". This could be abused by an attacker to inject arbitrary commands.
Affected packages and fixed versions
| Source | Package | Fixed in |
|---|---|---|
| npm::GitHub Security Advisory npm | push-dir | no fix listed |