{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2024-9858 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2024-9858 yet. Limit exposure of the affected software until one is available.","what":"CVE-2024-9858 is a medium-severity vulnerability in Google Cloud Migrate to Containers, published on 16 Oct 2024. 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-2024-9858 and fix it if it is affected.\n\nWhat it is: CVE-2024-9858 is a medium-severity vulnerability in Google Cloud Migrate to Containers, published on 16 Oct 2024. 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-2024-9858 in the wild and no public exploit code.\n\nAffected product: Google Cloud Migrate to Containers. 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-2024-9858/ (Markdown: https://insights.sbomify.com/CVE-2024-9858/index.md)","id":"CVE-2024-9858","markdown":"https://insights.sbomify.com/CVE-2024-9858/index.md","name":"CVE-2024-9858","record":{"aliases":["GHSA-hq4j-33fh-gqx4"],"analysis":{"component_type":"cloud_service","fix_type":"upgrade","impacts":["privilege_escalation"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"Google Cloud migration tool","requires_auth":"high_privilege","summary":"Local attackers can gain administrator privileges due to insecure default permissions for a temporary user in the Windows migration tool.","user_interaction":"required","vuln_class":"privilege_escalation"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"Google","cpe":[{"product":"migrate_to_containers","vendor":"google"}],"cvss":{"score":5.9,"severity":"medium","source":"cna","vector":"CVSS:4.0/AV:L/AC:L/AT:P/PR:H/UI:P/VC:H/VI:L/VA:L/SC:H/SI:L/SA:L/S:P/AU:Y/R:A/V:D/RE:L/U:Green","version":"4.0"},"cwes":[{"id":"CWE-276","name":"Incorrect Default Permissions"}],"description":"There exists an insecure default user permission in Google Cloud Migrate to containers from version 1.1.0 to 1.2.2 Windows installs. A local \"m2cuser\" was greated with administrator privileges. This posed a security risk if the \"analyze\" or \"generate\" commands were interrupted or skipping the action to delete the local user “m2cuser”. We recommend upgrading to 1.2.3 or beyond","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":null,"headline":"Insecure user permissions in Google Cloud Migrate to Containers for Windows","id":"CVE-2024-9858","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"privilege_escalation","year":"2024"},"n_packages":0,"n_references":1,"next":{"headline":"Memory corruption in Chrome","id":"CVE-2024-9859"},"packages":[],"prev":{"headline":"07FLYCMS/07FLY-CMS/07FlyCRM System Settings Page cross site scripting","id":"CVE-2024-9856"},"products":["Migrate to Containers"],"published":"2024-10-16","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)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2024-10-16","vendors":["Google Cloud"]},"summary":"Local attackers can gain administrator privileges due to insecure default permissions for a temporary user in the Windows migration tool.","url":"https://insights.sbomify.com/CVE-2024-9858/"}