Affected versions
npmpullit
- Affected versions
- < 1.4.0
- Fixed version
- 1.4.0
Exploitation
Description
Versions of pullit prior to 1.4.0 are vulnerable to Command Injection. The package does not validate input on git branch names and concatenates it to an exec call, allowing attackers to run arbitrary commands in the system.
Recommendation
Upgrade to version 1.4.0 or later.
Credits
This vulnerability was discovered by @lirantal
Links
- https://github.com/advisories/GHSA-8px5-63x9-5c7p
- https://github.com/jkup/pullit
- https://github.com/jkup/pullit/commit/4fec455774ee08f4dce0ef2ef934ffcc37219bfb
- https://github.com/jkup/pullit/issues/23
- https://hackerone.com/reports/315773
- https://nvd.nist.gov/vuln/detail/CVE-2018-25083
- https://security.snyk.io/vuln/npm:pullit:20180214
Credits
- lirantal

