GitHub Advisoryadvisory · npm
GHSA-926x-m6m5-3mmp push-dir Enables OS Command Injection
CRITICAL
Official page ↗
- Aliases
- CVE-2019-10803
- Ecosystem
- npm
- Packages
- push-dir
- Severity
- Critical
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Weaknesses
- CWE-78
- Reviewed
- 2021-04-09
Affected packages
• npm push-dir: <= 0.4.1 (no fix yet)
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.
Related
Alias · CVE (1)
- CVE-2019-10803 push-dir through 0.4.1 allows execution of arbritary commands. vulnerability
Weakness · CWE (1)
- CWE-78 Improper Neutralization of Special Elements used in an OS Command weakness