{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2010-0402 in the wild and no public exploit code.","fix":"Upgrade to a fixed version.","what":"CVE-2010-0402 is a medium-severity code injection vulnerability in n/a, published on 4 May 2010. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2010-0402 and fix it if it is affected.\n\nWhat it is: CVE-2010-0402 is a medium-severity code injection vulnerability in n/a, published on 4 May 2010. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2010-0402 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-2010-0402/ (Markdown: https://insights.sbomify.com/CVE-2010-0402/index.md)","id":"CVE-2010-0402","markdown":"https://insights.sbomify.com/CVE-2010-0402/index.md","name":"CVE-2010-0402","record":{"aliases":["DEBIAN-CVE-2010-0402","GHSA-m5pw-gjvh-jgrh"],"analysis":{"component_type":"desktop_application","fix_type":"upgrade","impacts":["code_execution","denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"OpenTTD game","requires_auth":"low_privilege","summary":"Remote authenticated users can execute arbitrary code or cause denial of service in OpenTTD via crafted in-game commands due to improper index validation.","user_interaction":"not_required","vuln_class":"code_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"openttd","vendor":"openttd"}],"cvss":{"score":6.5,"severity":"medium","source":"nvd","vector":"AV:N/AC:L/Au:S/C:P/I:P/A:P","version":"2.0"},"cwes":[{"id":"CWE-94","name":"Improper Control of Generation of Code"}],"description":"OpenTTD before 1.0.1 does not properly validate index values of certain items, which allows remote authenticated users to cause a denial of service (daemon crash) or possibly execute arbitrary code via a crafted in-game command.","ecosystems":[],"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":"Code injection in n/a","id":"CVE-2010-0402","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"code_injection","year":"2010"},"n_packages":0,"n_references":2,"next":{"headline":"Path traversal in n/a","id":"CVE-2010-0403"},"packages":[],"prev":{"headline":"Auth bypass in n/a","id":"CVE-2010-0401"},"products":["n/a"],"published":"2010-05-04","related":[{"cvss_score":10,"headline":"Memory corruption in n/a","id":"CVE-2008-3576","kev_date_added":null,"published":"2008-08-10"},{"cvss_score":9,"headline":"Memory corruption in n/a","id":"CVE-2008-3547","kev_date_added":null,"published":"2009-03-10"},{"cvss_score":7.5,"headline":"Integer overflow in n/a","id":"CVE-2011-3341","kev_date_added":null,"published":"2011-09-08"},{"cvss_score":7.5,"headline":"Memory corruption in n/a","id":"CVE-2011-3342","kev_date_added":null,"published":"2011-09-08"},{"cvss_score":7.5,"headline":"Memory corruption in n/a","id":"CVE-2005-2764","kev_date_added":null,"published":"2005-09-21"},{"cvss_score":7.5,"headline":"Memory corruption in n/a","id":"CVE-2005-2763","kev_date_added":null,"published":"2005-09-06"},{"cvss_score":6.5,"headline":"Auth bypass in n/a","id":"CVE-2010-0401","kev_date_added":null,"published":"2010-05-04"}],"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":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-09-16","vendors":["n/a"]},"summary":"Remote authenticated users can execute arbitrary code or cause denial of service in OpenTTD via crafted in-game commands due to improper index validation.","url":"https://insights.sbomify.com/CVE-2010-0402/"}