{
  "affected": [
    {
      "database_specific": {
        "unresolved_ranges": [
          {
            "events": [
              {
                "introduced": "0"
              },
              {
                "fixed": "1.0.0"
              }
            ]
          }
        ]
      },
      "ranges": [
        {
          "database_specific": {
            "versions": [
              {
                "introduced": "0"
              },
              {
                "last_affected": "8.0"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "last_affected": "c3b2738de5ba34442f56d8fa4aad1e3063ae35a2"
            }
          ],
          "repo": "https://github.com/npm/cli",
          "type": "GIT"
        }
      ]
    }
  ],
  "details": "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.",
  "id": "CVE-2016-10538",
  "modified": "2026-04-01T23:08:13.962144451Z",
  "published": "2018-05-31T20:29:01.363Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=809252"
    },
    {
      "type": "EVIDENCE",
      "url": "https://nodesecurity.io/advisories/95"
    },
    {
      "type": "EVIDENCE",
      "url": "https://github.com/node-js-libs/cli/issues/81"
    }
  ],
  "severity": [
    {
      "score": "CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:N",
      "type": "CVSS_V3"
    }
  ]
}