CVE-2019-10803

CRITICAL

push-dir < 0.4.1 - OS Command Injection via opt.branch Argument

Title source: llm
STIX 2.1

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.

References (2)

Core 2
Core References
Exploit, Third Party Advisory x_refsource_misc
https://snyk.io/vuln/SNYK-JS-PUSHDIR-559009

Scores

CVSS v3 9.8
EPSS 0.0277
EPSS Percentile 84.5%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Details

CWE
CWE-78
Status published
Products (2)
npm/push-dir 0npm
push-dir_project/push-dir < 0.4.1
Published Feb 28, 2020
Tracked Since Feb 18, 2026