SB2020011306 - OS Command Injection in git-diff-apply npm package



SB2020011306 - OS Command Injection in git-diff-apply npm package

Published: January 13, 2020

Security Bulletin ID SB2020011306
Severity
High
Patch available
YES
Number of vulnerabilities 1
Exploitation vector Remote access
Highest impact Code execution

Breakdown by Severity

High 100%
  • Low
  • Medium
  • High
  • Critical

Description

This security bulletin contains information about 1 security vulnerability.


1) OS Command Injection (CVE-ID: CVE-2019-10776)

The vulnerability allows a remote attacker to execute arbitrary shell commands on the target system.

The vulnerability exists in the "index.js" file due to the "run" command executes the git command with a user controlled variable called remoteUrl.. A remote unauthenticated attacker can execute arbitrary OS commands on the target system.

Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.


Remediation

Install update from vendor's website.