logo

CVE-2020-7614 npm-programmatic

Package

Manager: npm
Name: npm-programmatic
Vulnerable Version: >=0 <=0.0.12

Severity

Level: Critical

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

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

EPSS: 0.01346 pctl0.79307

Details

Command Injection in npm-programmatic All versions of `npm-programmatic ` are vulnerable to Command Injection. The package fails to sanitize input rules and passes it directly to an `exec` call on the `install`, `uninstall` and `list` functions . This may allow attackers to execute arbitrary code in the system if the package name passed to the function is user-controlled. ## Recommendation No fix is currently available. Consider using an alternative package until a fix is made available.

Metadata

Created: 2020-04-23T20:09:09Z
Modified: 2021-07-29T15:52:29Z
Source: https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2020/04/GHSA-426h-24vj-qwxf/GHSA-426h-24vj-qwxf.json
CWE IDs: ["CWE-20", "CWE-78"]
Alternative ID: GHSA-426h-24vj-qwxf
Finding: F404
Auto approve: 1