{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2015-8239 in the wild and no public exploit code.","fix":"Apply the vendor's patch.","what":"CVE-2015-8239 is a high-severity vulnerability in n/a, published on 10 Oct 2017. It can only be exploited from the same machine or local network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2015-8239 and fix it if it is affected.\n\nWhat it is: CVE-2015-8239 is a high-severity vulnerability in n/a, published on 10 Oct 2017. It can only be exploited from the same machine or local network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2015-8239 in the wild and no public exploit code.\n\nAffected product: n/a. No package-level version data is available, so check the vendor advisory linked from the reference page.\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-2015-8239/ (Markdown: https://insights.sbomify.com/CVE-2015-8239/index.md)","id":"CVE-2015-8239","markdown":"https://insights.sbomify.com/CVE-2015-8239/index.md","name":"CVE-2015-8239","record":{"aliases":["DEBIAN-CVE-2015-8239","GHSA-w2j3-vrwq-vgh5","MGASA-2016-0261","UBUNTU-CVE-2015-8239"],"analysis":{"component_type":"operating_system","fix_type":"patch","impacts":["privilege_escalation"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"sudo utility","requires_auth":"low_privilege","summary":"Local attackers can exploit a race condition in sudo's SHA-2 digest support to replace command files before execution, leading to privilege escalation.","user_interaction":"not_required","vuln_class":"race_condition"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"sudo","vendor":"sudo_project"}],"cvss":{"score":7,"severity":"high","source":"nvd","vector":"CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","version":"3.0"},"cwes":[{"id":"CWE-362","name":"Concurrent Execution using Shared Resource with Improper Synchronization"}],"description":"The SHA-2 digest support in the sudoers plugin in sudo after 1.8.7 allows local users with write permissions to parts of the called command to replace them before it is executed.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":"2021-01-15","github_poc":1,"max_poc_stars":0,"metasploit":0,"nuclei":0,"refs":[{"date":"2021-01-15T03:14:02Z","kind":"github_poc","ref":"https://github.com/justinsteven/sudo_digest_toctou_poc_CVE-2015-8239","stars":0,"title":null}],"tier":"poc_unverified"},"has_fix":true,"headline":"Race condition in n/a","id":"CVE-2015-8239","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"race_condition","year":"2015"},"n_packages":0,"n_references":5,"next":{"headline":"Denial of service in n/a","id":"CVE-2015-8240"},"packages":[],"prev":{"headline":"Privilege escalation in n/a","id":"CVE-2015-8236"},"products":["n/a"],"published":"2017-10-10","related":[{"cvss_score":8.2,"headline":"Command injection in n/a","id":"CVE-2017-1000368","kev_date_added":null,"published":"2017-06-05"},{"cvss_score":7.2,"headline":"Privilege escalation in n/a","id":"CVE-2015-5602","kev_date_added":null,"published":"2015-11-17"},{"cvss_score":7.1,"headline":"Memory corruption in n/a","id":"CVE-2022-43995","kev_date_added":null,"published":"2022-11-02"},{"cvss_score":7,"headline":"Privilege escalation in n/a","id":"CVE-2023-42465","kev_date_added":null,"published":"2023-12-22"},{"cvss_score":7,"headline":"Race condition in n/a","id":"CVE-2019-18684","kev_date_added":null,"published":"2019-11-04"},{"cvss_score":6.6,"headline":"Sudo: improper handling of ipa_hostname leads to privilege mismanagement","id":"CVE-2023-7090","kev_date_added":null,"published":"2023-12-23"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"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)"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-06","vendors":["n/a"]},"summary":"Local attackers can exploit a race condition in sudo's SHA-2 digest support to replace command files before execution, leading to privilege escalation.","url":"https://insights.sbomify.com/CVE-2015-8239/"}