Command Injection in npm-git-publish - #VU24789

 

Command Injection in npm-git-publish - #VU24789

Published: January 31, 2020


Vulnerability identifier: #VU24789
CSH Severity: High
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Amber
CVE-ID: N/A
CWE-ID: CWE-78
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: theoy
Affected software:
npm-git-publish

Detailed vulnerability description

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

The vulnerability exists due to improper input validation when processing data passed via the gitRemoteUrl variable to publish function. A remote non-authenticated attacker can inject and execute arbitrary OS commands on the system.


Remediation

Cybersecurity Help is currently unaware of any official solution to address this vulnerability.

Sources