{"answers":{"affected":"2 open source packages ship an affected version, including cli. It affects 2 products.","exploited":"There is no known exploitation of CVE-2016-10538 in the wild and no public exploit code.","fix":"Upgrade cli to 1.0.0 or later.","what":"CVE-2016-10538 is a low-severity vulnerability in Debian Debian Linux, published on 31 May 2018."},"fix_prompt":"Check this codebase for CVE-2016-10538 and fix it if it is affected.\n\nWhat it is: CVE-2016-10538 is a low-severity vulnerability in Debian Debian Linux, published on 31 May 2018. \nExploitation: There is no known exploitation of CVE-2016-10538 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- cli (npm): affected all versions; fixed in 1.0.0\n- cli (npm): affected all versions; fixed in 1.0.0\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2016-10538/ (Markdown: https://insights.sbomify.com/CVE-2016-10538/index.md)","id":"CVE-2016-10538","markdown":"https://insights.sbomify.com/CVE-2016-10538/index.md","name":"CVE-2016-10538","record":{"aliases":["CLSA-2026-1774225194","CLSA-2026-1774225195","CLSA-2026-1789900487","CVE-2016-1000021","GHSA-6cpc-mj5c-m9rq","UBUNTU-CVE-2016-10538"],"analysis":null,"analysis_generated_by":null,"assigner":"hackerone","cpe":[{"product":"cli","vendor":"cli_project"},{"product":"debian_linux","vendor":"debian"}],"cvss":{"score":3.5,"severity":"low","source":"nvd","vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:N","version":"3.0"},"cwes":[{"id":"CWE-362","name":"Concurrent Execution using Shared Resource with Improper Synchronization"},{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"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.","ecosystems":["npm"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Arbitrary File Write in cli","id":"CVE-2016-10538","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"npm","product":"debian:debian_linux","products":["debian:debian_linux"],"type":null,"year":"2016"},"n_packages":2,"n_references":3,"next":{"headline":"Regular Expression Denial of Service in negotiator","id":"CVE-2016-10539"},"packages":[{"ecosystem":"npm","fixed":["1.0.0"],"introduced":["0"],"last_affected":[],"package":"cli","purl":null,"source":"GHSA-6cpc-mj5c-m9rq"},{"ecosystem":"npm","fixed":["1.0.0"],"introduced":["0"],"last_affected":[],"package":"cli","purl":"pkg:npm/cli","source":"GHSA-6cpc-mj5c-m9rq"}],"prev":{"headline":"Cross-Site Scripting in backbone","id":"CVE-2016-10537"},"products":["cli node module"],"published":"2018-05-31","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-09-17","vendors":["HackerOne"]},"summary":null,"url":"https://insights.sbomify.com/CVE-2016-10538/"}