QID 983884
QID 983884: Nodejs (npm) Security Update for cli (GHSA-6cpc-mj5c-m9rq)
Affected versions of `cli` use predictable temporary file names. If an attacker can create a symbolic link at the location of one of these temporarly file names, the attacker can arbitrarily write to any file that the user which owns the `cli` process has permission to write to. ## Proof of Concept By creating Symbolic Links at the following locations, the target of the link can be written to. ``` lock_file = '/tmp/' + cli.app + '.pid', log_file = '/tmp/' + cli.app + '.log'; ``` ## Recommendation Update to version 1.0.0 or later.
Successful exploitation of this vulnerability may affect the confidentiality, integrity, and availability of the targeted user.
Solution
Customers are advised to refer to GHSA-6cpc-mj5c-m9rq for updates pertaining to this vulnerability.
Vendor References
- GHSA-6cpc-mj5c-m9rq -
github.com/advisories/GHSA-6cpc-mj5c-m9rq
CVEs related to QID 983884
Software Advisories
| Advisory ID | Software | Component | Link |
|---|---|---|---|
| GHSA-6cpc-mj5c-m9rq | cli |
|