logo

GHSA-49mg-94fc-2fx6 npm-git-publish

Package

Manager: npm
Name: npm-git-publish
Vulnerable Version: >=0 <=0.2.4

Severity

Level: Critical

CVSS v3.1: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N/E:H/RL:U/RC:C

CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N

EPSS: N/A pctlN/A

Details

Command Injection in npm-git-publish All versions of `npm-git-publish` are vulnerable to Command Injection. The package fails to sanitize input and passes it directly to an `execSync` call, which may allow attackers to execute arbitrary code in the system. The `publish` function is vulnerable through the `gitRemoteUrl` variable. ## Recommendation No fix is currently available. Consider using an alternative package until a fix is made available.

Metadata

Created: 2020-09-04T17:32:49Z
Modified: 2020-08-31T19:00:00Z
Source: MANUAL
CWE IDs: ["CWE-77"]
Alternative ID: N/A
Finding: F422
Auto approve: 1