PT-2020-21010 · Npm · Npm-Git-Publish

Published

2020-09-04

·

Updated

2020-09-04

None

No severity ratings or metrics are available. When they are, we'll update the corresponding info on the page.
Name of the Vulnerable Software and Affected Versions npm-git-publish versions (affected versions not specified)
Description The issue concerns a command injection problem where input is not properly sanitized and is directly passed to an execSync call, potentially allowing attackers to execute arbitrary code on the system. The publish function is vulnerable through the gitRemoteUrl variable.
Recommendations Consider using an alternative package until a fix is made available. As a temporary workaround, consider restricting the use of the publish function or sanitizing the input for the gitRemoteUrl variable to minimize the risk of exploitation.

Command Injection

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

GHSA-49MG-94FC-2FX6

Affected Products

Npm-Git-Publish