PT-2020-21010
Published
2020-09-04
·
Updated
2020-09-04
Description by
Score
N/A
Not availableNo 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. Found an issue in the description? Have something to add? Feel free to write us 👾