{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2018-8115 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2018-8115 yet. Limit exposure of the affected software until one is available.","what":"CVE-2018-8115 is a high-severity code injection vulnerability in Microsoft Windows Host Compute, published on 2 May 2018. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2018-8115 and fix it if it is affected.\n\nWhat it is: CVE-2018-8115 is a high-severity code injection vulnerability in Microsoft Windows Host Compute, published on 2 May 2018. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2018-8115 in the wild and no public exploit code.\n\nAffected product: Microsoft Windows Host Compute. 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-2018-8115/ (Markdown: https://insights.sbomify.com/CVE-2018-8115/index.md)","id":"CVE-2018-8115","markdown":"https://insights.sbomify.com/CVE-2018-8115/index.md","name":"CVE-2018-8115","record":{"aliases":["GHSA-mwh6-xqh8-vf99"],"analysis":{"component_type":"container_or_infrastructure","fix_type":"patch","impacts":["code_execution"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"Windows Host Compute","requires_auth":"none","summary":"Attackers can execute arbitrary code by exploiting improper input validation in the Windows Host Compute Service Shim during container image import.","user_interaction":"required","vuln_class":"code_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"microsoft","cpe":[{"product":"windows_host_compute_service_shim","vendor":"microsoft"}],"cvss":{"score":8.6,"severity":"high","source":"nvd","vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H","version":"3.0"},"cwes":[{"id":"CWE-20","name":"Improper Input Validation"}],"description":"A remote code execution vulnerability exists when the Windows Host Compute Service Shim (hcsshim) library fails to properly validate input while importing a container image, aka \"Windows Host Compute Service Shim Remote Code Execution Vulnerability.\" This affects Windows Host Compute.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":"2018-05-08","github_poc":1,"max_poc_stars":7,"metasploit":0,"nuclei":0,"refs":[{"date":"2018-05-08T20:24:23Z","kind":"github_poc","ref":"https://github.com/aquasecurity/scan-cve-2018-8115","stars":7,"title":null}],"tier":"poc_unverified"},"has_fix":false,"headline":"Code injection in Windows Host Compute","id":"CVE-2018-8115","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"code_injection","year":"2018"},"n_packages":0,"n_references":3,"next":{"headline":"Denial of service in Windows 10","id":"CVE-2018-8116"},"packages":[],"prev":{"headline":"Memory corruption in Internet Explorer 11","id":"CVE-2018-8114"},"products":["Windows Host Compute"],"published":"2018-05-02","related":[],"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-05","vendors":["Microsoft"]},"summary":"Attackers can execute arbitrary code by exploiting improper input validation in the Windows Host Compute Service Shim during container image import.","url":"https://insights.sbomify.com/CVE-2018-8115/"}