{"answers":{"affected":"It affects 3 products.","exploited":"There is no known exploitation of CVE-2008-5360 in the wild and no public exploit code.","fix":"Upgrade to a fixed version.","what":"CVE-2008-5360 is a medium-severity path traversal vulnerability in Sun Jdk, published on 5 Dec 2008. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2008-5360 and fix it if it is affected.\n\nWhat it is: CVE-2008-5360 is a medium-severity path traversal vulnerability in Sun Jdk, published on 5 Dec 2008. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2008-5360 in the wild and no public exploit code.\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-2008-5360/ (Markdown: https://insights.sbomify.com/CVE-2008-5360/index.md)","id":"CVE-2008-5360","markdown":"https://insights.sbomify.com/CVE-2008-5360/index.md","name":"CVE-2008-5360","record":{"aliases":["GHSA-grv8-692r-c98h"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"Java Runtime Environment","requires_auth":"none","summary":"Attackers can exploit predictable temporary file names in the Java Runtime Environment to inject malicious JAR files, leading to arbitrary code execution.","user_interaction":"not_required","vuln_class":"path_traversal"},"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.4,"severity":"medium","source":"nvd","vector":"AV:N/AC:L/Au:N/C:P/I:P/A:N","version":"2.0"},"cwes":[],"description":"Java Runtime Environment (JRE) for Sun JDK and JRE 6 Update 10 and earlier; JDK and JRE 5.0 Update 16 and earlier; SDK and JRE 1.4.2_18 and earlier; and SDK and JRE 1.3.1_23 and earlier creates temporary files with predictable file names, which allows attackers to write malicious JAR files via unknown vectors.","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":"Path traversal in n/a","id":"CVE-2008-5360","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"sun:jdk","products":["sun:jdk","sun:jre","sun:sdk"],"type":"path_traversal","year":"2008"},"n_packages":0,"n_references":41,"next":{"headline":"Information disclosure in n/a","id":"CVE-2008-5361"},"packages":[],"prev":{"headline":"Memory corruption in n/a","id":"CVE-2008-5359"},"products":["n/a"],"published":"2008-12-05","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)"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-07","vendors":["n/a"]},"summary":"Attackers can exploit predictable temporary file names in the Java Runtime Environment to inject malicious JAR files, leading to arbitrary code execution.","url":"https://insights.sbomify.com/CVE-2008-5360/"}