{"dataType": "CVE_RECORD", "containers": {"adp": [{"metrics": [{"other": {"type": "Unknown", "content": {"data": "{\"description\":\"LOW\"}"}}}], "affected": [{"vendor": "npm", "product": "cli", "versions": [{"status": "affected", "version": "0", "lessThan": "1.0.0", "versionType": "semver"}], "defaultStatus": "unaffected"}], "references": [{"url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=809252"}, {"url": "https://github.com/advisories/GHSA-6cpc-mj5c-m9rq"}, {"url": "https://github.com/node-js-libs/cli/issues/81"}, {"url": "https://nvd.nist.gov/vuln/detail/CVE-2016-10538"}, {"url": "https://www.npmjs.com/advisories/95"}], "descriptions": [{"lang": "en", "value": "Affected versions of `cli` use predictable temporary file names. If an attacker can create a symbolic link at the location of one of these temporarly file names, the attacker can arbitrarily write to any file that the user which owns the `cli` process has permission to write to.\n\n\n## Proof of Concept\n\nBy creating Symbolic Links at the following locations, the target of the link can be written to.\n```\nlock_file = '/tmp/' + cli.app + '.pid',\nlog_file = '/tmp/' + cli.app + '.log';\n```\n\n\n## Recommendation\n\nUpdate to version 1.0.0 or later."}, {"lang": "en", "value": "Arbitrary File Write in cli"}], "providerMetadata": {"orgId": "386269d4-a6c6-4eaa-bf8e-bc0b0d010558", "shortName": "npm", "dateUpdated": "2019-02-18T23:40:03Z", "x_subShortName": "npm"}}, {"affected": [{"vendor": "unknown", "product": "unknown", "defaultStatus": "unknown"}], "references": [{"url": "https://www.cve.org/CVERecord?id=CVE-2016-10538"}], "descriptions": [{"lang": "en", "value": "not defined"}], "providerMetadata": {"orgId": "cc1ad9ee-3454-478d-9317-d3e869d708bc", "shortName": "canonical", "dateUpdated": "2000-01-01T00:00:00Z", "x_subShortName": "canonical"}}], "cna": {"metrics": [{"format": "CVSS", "cvssV2_0": {"version": "2.0", "baseScore": 4.9, "accessVector": "NETWORK", "vectorString": "AV:N/AC:M/Au:S/C:N/I:P/A:P", "authentication": "SINGLE", "integrityImpact": "PARTIAL", "accessComplexity": "MEDIUM", "availabilityImpact": "PARTIAL", "confidentialityImpact": "NONE"}}, {"format": "CVSS", "cvssV3_0": {"scope": "UNCHANGED", "version": "3.0", "baseScore": 3.5, "attackVector": "NETWORK", "baseSeverity": "LOW", "vectorString": "CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:N", "integrityImpact": "LOW", "userInteraction": "REQUIRED", "attackComplexity": "LOW", "availabilityImpact": "NONE", "privilegesRequired": "LOW", "confidentialityImpact": "NONE"}}], "affected": [{"cpes": ["cpe:2.3:a:cli_project:cli:*:*:*:*:*:node.js:*:*"], "vendor": "cli_project", "product": "cli", "versions": [{"status": "affected", "version": "0", "lessThan": "1.0.0", "versionType": "custom"}], "platforms": ["node.js"], "defaultStatus": "unaffected"}, {"cpes": ["cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*"], "vendor": "debian", "product": "debian_linux", "versions": [{"status": "affected", "version": "8.0"}], "defaultStatus": "unaffected"}], "references": [{"url": "https://github.com/node-js-libs/cli/issues/81", "tags": ["exploit", "third-party-advisory"]}, {"url": "https://nodesecurity.io/advisories/95", "tags": ["exploit", "third-party-advisory"]}, {"url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=809252", "tags": ["third-party-advisory"]}], "descriptions": [{"lang": "en", "value": "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."}, {"lang": "es", "value": "El paquete node-cli, en versiones anteriores a la 1.0.0, emplea de forma insegura lock_file y log_file. Ambos son temporales, pero permite que el usuario inicial sobrescriba cualquier archivo al que tenga acceso."}], "problemTypes": [{"descriptions": [{"lang": "en", "cweId": "CWE-22", "description": "CWE-22"}, {"lang": "en", "cweId": "CWE-362", "description": "CWE-362"}]}], "providerMetadata": {"orgId": "00000000-0000-4000-A000-000000000003", "shortName": "nvd", "dateUpdated": "2018-05-31T20:29:01Z", "x_subShortName": "nvd"}}}, "cveMetadata": {"cveId": "CVE-2016-10538", "state": "PUBLISHED", "dateUpdated": "2024-11-21T02:44:13Z", "assignerOrgId": "36234546-b8fa-4601-9d6f-f4e334aa8ea1", "datePublished": "2018-05-31T20:29:01Z", "assignerShortName": "hackerone"}, "dataVersion": "5.0"}