SB2020013105 - Remote code execution in npm-git-publish package for NPM
Published: January 31, 2020
Breakdown by Severity
- Low
- Medium
- High
- Critical
Description
This security bulletin contains information about 1 vulnerability.
1) Command Injection (CVE-ID: N/A)
CWE-ID: CWE-78 - Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
CVSSv4: 9.3 [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]
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 not aware of any official remediation provided by the vendor.