{"answers":{"affected":"It affects 3 products.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2010-0842 exists.","fix":"Apply the vendor's patch.","what":"CVE-2010-0842 is a high-severity memory corruption vulnerability in Sun Jdk, published on 1 Apr 2010. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2010-0842 and fix it if it is affected.\n\nWhat it is: CVE-2010-0842 is a high-severity memory corruption vulnerability in Sun Jdk, published on 1 Apr 2010. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2010-0842 exists.\n\nAffected product: Sun Jdk. 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-0842/ (Markdown: https://insights.sbomify.com/CVE-2010-0842/index.md)","id":"CVE-2010-0842","markdown":"https://insights.sbomify.com/CVE-2010-0842/index.md","name":"CVE-2010-0842","record":{"aliases":["GHSA-5mqp-g99f-6r5f"],"analysis":{"component_type":"library","fix_type":"patch","impacts":["code_execution","privilege_escalation"],"network_reachable":"yes","non_default_config":false,"product_category":"Java SE","requires_auth":"none","summary":"Remote attackers can execute arbitrary code via a crafted MIDI file due to an uncontrolled array index in the Java Sound component.","user_interaction":"required","vuln_class":"memory_corruption"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"oracle","cpe":[{"product":"jdk","vendor":"sun"},{"product":"jre","vendor":"sun"},{"product":"sdk","vendor":"sun"}],"cvss":{"score":7.5,"severity":"high","source":"nvd","vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","version":"2.0"},"cwes":[],"description":"Unspecified vulnerability in the Sound component in Oracle Java SE and Java for Business 6 Update 18, 5.0 Update 23, 1.4.2_25, and 1.3.1_27 allows remote attackers to affect confidentiality, integrity, and availability via unknown vectors.  NOTE: the previous information was obtained from the March 2010 CPU.  Oracle has not commented on claims from a reliable researcher that this is an uncontrolled array index that allows remote attackers to execute arbitrary code via a MIDI file with a crafted MixerSequencer object, related to the GM_Song structure.","ecosystems":[],"exploits":{"exploitdb":1,"first_seen":"2010-03-30","github_poc":0,"max_poc_stars":null,"metasploit":1,"nuclei":0,"refs":[{"date":"2010-03-30","kind":"metasploit","ref":"exploit/windows/browser/java_mixer_sequencer","stars":null,"title":"Java MixerSequencer Object GM_Song Structure Handling Vulnerability"},{"date":"2012-02-16","kind":"exploitdb","ref":"18485","stars":null,"title":"Java MixerSequencer Object - GM_Song Structure Handling (Metasploit)"}],"tier":"weaponised"},"has_fix":true,"headline":"Memory corruption in n/a","id":"CVE-2010-0842","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"sun:jdk","products":["sun:jdk","sun:jre","sun:sdk"],"type":"memory_corruption","year":"2010"},"n_packages":0,"n_references":35,"next":{"headline":"Integer overflow in n/a","id":"CVE-2010-0843"},"packages":[],"prev":{"headline":"Integer overflow in n/a","id":"CVE-2010-0841"},"products":["n/a"],"published":"2010-04-01","related":[{"cvss_score":10,"headline":"Deserialization in n/a","id":"CVE-2011-3521","kev_date_added":null,"published":"2011-10-19"},{"cvss_score":10,"headline":"Other in n/a","id":"CVE-2011-3548","kev_date_added":null,"published":"2011-10-19"},{"cvss_score":10,"headline":"Other in n/a","id":"CVE-2011-3549","kev_date_added":null,"published":"2011-10-19"},{"cvss_score":10,"headline":"Other in n/a","id":"CVE-2011-3554","kev_date_added":null,"published":"2011-10-19"},{"cvss_score":10,"headline":"Other in n/a","id":"CVE-2011-0802","kev_date_added":null,"published":"2011-06-14"},{"cvss_score":10,"headline":"Other in n/a","id":"CVE-2011-0814","kev_date_added":null,"published":"2011-06-14"},{"cvss_score":10,"headline":"Other in n/a","id":"CVE-2011-0815","kev_date_added":null,"published":"2011-06-14"}],"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":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"class":"attribution","licence":"BSD-3-Clause","name":"Metasploit"},{"class":"attribution","licence":"GPL-2.0-or-later","name":"Exploit-DB"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-07","vendors":["n/a"]},"summary":"Remote attackers can execute arbitrary code via a crafted MIDI file due to an uncontrolled array index in the Java Sound component.","url":"https://insights.sbomify.com/CVE-2010-0842/"}