Skip to content

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.

PackageAffectedFixed inStatus
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

ProductAffected versionsFixed in
npm push-dir(npm) <= 0.4.1 No fix listed
push-dir project push-dir <= 0.4.1 No fix listed

References