CVE-2019-10803 push-dir Enables OS Command Injection
CriticalCVSS 9.8
EPSS 2.8%
- Published
- Updated
- Exploit status
- No public exploit known
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.
Upgrade path
2 packages: 2 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| npm push-dir(npm) | <= 0.4.1 | after 0.4.1 | Fixed |
| push-dir project push-dir | <= 0.4.1 | after 0.4.1 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| npm push-dir(npm) | <= 0.4.1 | No fix listed |
| push-dir project push-dir | <= 0.4.1 | No fix listed |
References
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com third-party-advisory
- snyk.io exploit third-party-advisory
- github.com