{"id":"CVE-2016-10538","published":"2018-05-31T20:00:00Z","modified":"2024-09-17T01:36:47Z","title":"The package `node-cli` before 1.0.0 insecurely uses the lock_file and log_file","vendor":"HackerOne","product":"cli node module","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.00958,"percentile":0.62321,"provenance":"source"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"references":[{"url":"https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=809252","tags":["x_refsource_MISC"]},{"url":"https://github.com/node-js-libs/cli/issues/81","tags":["x_refsource_MISC"]},{"url":"https://nodesecurity.io/advisories/95","tags":["x_refsource_MISC"]}],"priority":{"score":12.5,"factors":[{"name":"EPSS percentile","points":12.46}]},"vendorSlug":"hackerone","affectedVersions":[{"vendor":"HackerOne","product":"cli node module","versions":["<1.0.0"]}],"affected":[{"ecosystem":"npm","package":"cli","vulnerableRanges":["<1.0.0"],"patched":["1.0.0"],"from":["GHSA-6cpc-mj5c-m9rq"],"provenance":"source"}],"summary":{"text":"The node-cli package (the cli node module from HackerOne), in versions before 1.0.0, insecurely handles its lock_file and log_file, which are temporary files. An attacker who can run the package as a user can overwrite any file that user has access to, because the paths are not restricted to a safe directory.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:00:04Z"},"euvd":{"id":"EUVD-2019-0240","exploited":false,"provenance":"source"}}