3.5low

CVE-2016-10538

Arbitrary File Write in cli

Also known as GHSA-6cpc-mj5c-m9rq

Published 8 y ago · modified 4 mo ago · JSON

CVSS
3.5
v3.0 · NVD
CISA KEV
No
not known exploited
EPSS
1.0%
percentile 62%
Public exploits
0
none known

Summary

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.

Exploit prediction (EPSS)

0.98% probability of exploitation in the next 30 days, higher than 62% of all scored CVEs.

CVSS scores

Assigned byVersionScoreVector
NVD3.03.5CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:N
NVD2.04.9AV:N/AC:M/Au:S/C:N/I:P/A:P

Affected packages

EcosystemPackageAffectedFixed in
npmcli
<1.0.0
1.0.0

Affected products

  • HackerOne cli node module

Classification

Weakness
  • CWE-22 Improper Limitation of a Pathname to a Restricted Directory
  • CWE-362 Concurrent Execution using Shared Resource with Improper Synchronization

References

  • bugs.debian.org /cgi-bin/bugreport.cgi?bug=809252 · x_refsource_MISC, x_transferred
  • github.com /node-js-libs/cli/issues/81 · x_refsource_MISC, x_transferred
  • nodesecurity.io /advisories/95 · x_refsource_MISC, x_transferred
  • nvd.nist.gov /vuln/detail/CVE-2016-10538 · advisory
  • github.com /advisories/GHSA-6cpc-mj5c-m9rq · advisory
  • npmjs.com /advisories/95 · web

Sources

vulnwire keeps one entry per vulnerability: the CVE id wins, then GHSA; records that alias each other are merged. Machine-readable: JSON.