{"answers":{"affected":"It affects 3 products.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2007-2788 exists.","fix":"Upgrade to a fixed version.","what":"CVE-2007-2788 is a medium-severity vulnerability in Sun Jdk, published on 22 May 2007. 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-2007-2788 and fix it if it is affected.\n\nWhat it is: CVE-2007-2788 is a medium-severity vulnerability in Sun Jdk, published on 22 May 2007. 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-2007-2788 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-2007-2788/ (Markdown: https://insights.sbomify.com/CVE-2007-2788/index.md)","id":"CVE-2007-2788","markdown":"https://insights.sbomify.com/CVE-2007-2788/index.md","name":"CVE-2007-2788","record":{"aliases":["CVE-2007-3004","GHSA-cjwj-wvcj-rr5c"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["code_execution","denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"Java Runtime Environment","requires_auth":"none","summary":"Remote attackers can execute arbitrary code or crash the JVM via crafted JPEG or BMP files exploiting an integer overflow in the ICC profile parser.","user_interaction":"required","vuln_class":"integer_overflow"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"jdk","vendor":"sun"},{"product":"jre","vendor":"sun"},{"product":"sdk","vendor":"sun"}],"cvss":{"score":6.8,"severity":"medium","source":"nvd","vector":"AV:N/AC:M/Au:N/C:P/I:P/A:P","version":"2.0"},"cwes":[{"id":"CWE-189","name":null}],"description":"Integer overflow in the embedded ICC profile image parser in Sun Java Development Kit (JDK) before 1.5.0_11-b03 and 1.6.x before 1.6.0_01-b06, and Sun Java Runtime Environment in JDK and JRE 6, JDK and JRE 5.0 Update 10 and earlier, SDK and JRE 1.4.2_14 and earlier, and SDK and JRE 1.3.1_20 and earlier, allows remote attackers to execute arbitrary code or cause a denial of service (JVM crash) via a crafted JPEG or BMP file that triggers a buffer overflow.","ecosystems":[],"exploits":{"exploitdb":1,"first_seen":"2007-05-16","github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[{"date":"2007-05-16","kind":"exploitdb","ref":"30043","stars":null,"title":"Sun Java JDK 1.x - Multiple Vulnerabilities"}],"tier":"weaponised"},"has_fix":true,"headline":"Integer overflow in n/a","id":"CVE-2007-2788","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"sun:jdk","products":["sun:jdk","sun:jre","sun:sdk"],"type":"integer_overflow","year":"2007"},"n_packages":0,"n_references":58,"next":{"headline":"Denial of service in n/a","id":"CVE-2007-2789"},"packages":[],"prev":{"headline":"Memory corruption in n/a","id":"CVE-2007-2787"},"products":["n/a"],"published":"2007-05-22","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":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"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 or crash the JVM via crafted JPEG or BMP files exploiting an integer overflow in the ICC profile parser.","url":"https://insights.sbomify.com/CVE-2007-2788/"}