Description
The package `node-cli` before 1.0.0 insecurely uses the lock_file and log_file. Both of these are temporary, but it allows the starting user to overwrite any file they have access to.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| HackerOne | cli node module | <1.0.0 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 18.04 LTS | node-cli | No fix yet | — |
| Ubuntu 16.04 LTS | node-cli | No fix yet | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| npm | cli | < 1.0.0 | 1.0.0 | GHSA-6cpc-mj5c-m9rq |