{"schemaVersion":3,"id":"CVE-2016-10538","aliases":["UBUNTU-CVE-2016-10538","GHSA-6cpc-mj5c-m9rq"],"status":"published","duplicateOf":null,"title":null,"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.","dates":{"published":"2018-05-31T20:00:00.000Z","modified":"2024-09-17T01:36:47.221Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":4.9,"severity":"medium","version":"2.0","versionLabel":"v2.0","source":"NVD","vector":"AV:N/AC:M/Au:S/C:N/I:P/A:P","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.0","versionLabel":"v3.0","source":"NVD","score":3.5,"severity":"low","vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:N","exploitability":null,"impact":null,"computed":false},{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":4.9,"severity":"medium","vector":"AV:N/AC:M/Au:S/C:N/I:P/A:P","exploitability":null,"impact":null,"computed":false},{"version":"3.0","versionLabel":"v3.0","source":"OSV · Ubuntu","score":3.5,"severity":"low","vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:N","exploitability":5.4,"impact":2.3,"computed":true}]},"epss":{"probability":0.00977,"percentile":0.61526,"severity":"low","asOf":"2026-10-19T00:00:00.000Z","change":{"pp":-0.015000000000000083,"baselineDate":"2026-09-19T00:00:00.000Z","baselineScore":0.00992},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00992,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00992,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00992,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00992,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00992,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00992,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00992,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.01035,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00992,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00992,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00992,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00992,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00992,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00992,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00992,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00992,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00992,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00992,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00992,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00992,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00992,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00992,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00992,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00977,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00977,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00977,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00977,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00977,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00977,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00977,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00977,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00977,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00977,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00977,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00977,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00977,"percentile":0.61526}],"last30":[{"date":"2026-09-19T00:00:00.000Z","score":0.00992,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00992,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.01035,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00992,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00992,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00992,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00992,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00992,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00992,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00992,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00992,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00992,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00992,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00992,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00992,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00992,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00992,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00992,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00977,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00977,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00977,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00977,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00977,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00977,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00977,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00977,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00977,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00977,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00977,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00977,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00977,"percentile":0.61526}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[{"id":"GITHUB_NODE-JS-LIBS_CLI","name":"Cli","source":"github","url":"https://github.com/node-js-libs/cli/issues/81","maturity":"poc","reliabilityScore":0.3,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null},{"id":"REF_1C6464038461D52A","name":"Exploit Reference (nodesecurity.io)","source":"reference","url":"https://nodesecurity.io/advisories/95","maturity":"unknown","reliabilityScore":0.2,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null}],"exploitCount":2,"weaknesses":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')","description":"The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory.","type":"weakness","status":"Stable","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/22.html"},{"id":"CWE-362","name":"Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')","description":"The product contains a concurrent code sequence that requires temporary, exclusive access to a shared resource, but a timing window exists in which the shared resource can be modified by another code sequence operating concurrently.","type":"weakness","status":"Draft","abstraction":"Class","likelihoodOfExploit":"Medium","url":"https://cwe.mitre.org/data/definitions/362.html"}],"affected":[{"vendor":"cli_project","product":"cli","name":"cli","label":"cli","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 1.0.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.0.0","eol":null,"hubHref":"/vendor/cli_project/cli"},{"vendor":"ubuntu","product":"node-cli","name":"node-cli","label":"node-cli","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/node-cli","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"debian","product":"debian_linux","name":"debian linux","label":"debian_linux","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"8.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"8.0","eol":{"isEol":true,"eolDate":"2020-06-30T00:00:00.000Z","matchMethod":"cpe","cycle":{"name":"8","label":"8 (Jessie)","eolFrom":"2020-06-30T00:00:00.000Z","isLts":false,"isMaintained":false,"latestVersion":"8.11"},"product":{"name":"debian","label":"Debian","category":"os"}},"hubHref":"/vendor/debian/debian_linux"},{"vendor":"hackerone","product":"cli node module","name":"cli node module","label":"cli node module","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 1.0.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.0.0","eol":null,"hubHref":"/vendor/hackerone/cli_node_module"},{"vendor":"npm","product":"cli","name":"cli","label":"cli","ecosystem":"Npm","cpePart":"a","purl":"pkg:npm/cli","purlType":"npm","versions":[{"text":"< 1.0.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.0.0","eol":null,"hubHref":null}],"affectedCount":5,"eol":{"hasEol":true,"count":1},"references":[{"url":"https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=809252","label":"bugs.debian.org/cgi-bin/bugreport.cgi?bug=809252","hostname":"bugs.debian.org","tags":["X Refsource MISC","Third Party Advisory","REPORT","WEB"]},{"url":"https://github.com/node-js-libs/cli/issues/81","label":"github.com/node-js-libs/cli/issues/81","hostname":"github.com","tags":["X Refsource MISC","Exploit","Third Party Advisory","REPORT","WEB"]},{"url":"https://nodesecurity.io/advisories/95","label":"nodesecurity.io/advisories/95","hostname":"nodesecurity.io","tags":["X Refsource MISC","Exploit","Third Party Advisory","REPORT"]},{"url":"https://ubuntu.com/security/CVE-2016-10538","label":"ubuntu.com/security/CVE-2016-10538","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2016-10538","label":"www.cve.org/CVERecord?id=CVE-2016-10538","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2016-10538","label":"nvd.nist.gov/vuln/detail/CVE-2016-10538","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/advisories/GHSA-6cpc-mj5c-m9rq","label":"github.com/advisories/GHSA-6cpc-mj5c-m9rq","hostname":"github.com","tags":["Advisory"]},{"url":"https://www.npmjs.com/advisories/95","label":"www.npmjs.com/advisories/95","hostname":"www.npmjs.com","tags":["WEB"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":["CVE-2016-1000021"],"related":[]},"timeline":[{"kind":"published","date":"2018-05-31T20:00:00.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-09-17T01:36:47.221Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":30,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-20T08:27:48.618Z","stale":false,"partial":false}}