Skip to content

Command injection security issue

High
mikaelbr published GHSA-qjg4-w4c6-f6c6 Jun 17, 2020

Package

npm lib/git.js (npm)

Affected versions

<2.0.0

Patched versions

2.0.0

Description

Impact

This issue may lead to remote code execution if a client of the library calls the vulnerable method with untrusted input.

Patches

Patched by version 2.0.0. Previous releases are deprecated in npm.

Workarounds

Make sure to escape git commit messages when using the commitMessage option for the update function.

Severity

High

CVE ID

CVE-2020-4059

Weaknesses

No CWEs