logo

CVE-2019-10803 push-dir

Package

Manager: npm
Name: push-dir
Vulnerable Version: >=0 <=0.4.1

Severity

Level: Critical

CVSS v3.1: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

EPSS: 0.00578 pctl0.67864

Details

push-dir Enables OS Command Injection 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](https://github.com/L33T-KR3W/push-dir/blob/master/index.js#L139). This could be abused by an attacker to inject arbitrary commands.

Metadata

Created: 2022-02-09T22:50:06Z
Modified: 2023-09-11T18:16:40Z
Source: https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/02/GHSA-926x-m6m5-3mmp/GHSA-926x-m6m5-3mmp.json
CWE IDs: ["CWE-78"]
Alternative ID: GHSA-926x-m6m5-3mmp
Finding: F404
Auto approve: 1