{"answers":{"affected":"2 open source packages ship an affected version, including org.bouncycastle:bcprov-jdk15on. It affects 24 products.","exploited":"There is no known exploitation of CVE-2018-1000613 in the wild and no public exploit code.","fix":"Upgrade org.bouncycastle:bcprov-jdk15on to 1.60 or later.","what":"CVE-2018-1000613 is a critical unsafe deserialization vulnerability in Bouncycastle Bc-Java, published on 9 Jul 2018. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2018-1000613 and fix it if it is affected.\n\nWhat it is: CVE-2018-1000613 is a critical unsafe deserialization vulnerability in Bouncycastle Bc-Java, published on 9 Jul 2018. 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-2018-1000613 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- org.bouncycastle:bcprov-jdk15on (Maven): affected from 1.57; fixed in 1.60\n- org.bouncycastle:bcprov-jdk15on (Maven): affected from 1.57; fixed in 1.60\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-2018-1000613/ (Markdown: https://insights.sbomify.com/CVE-2018-1000613/index.md)","id":"CVE-2018-1000613","markdown":"https://insights.sbomify.com/CVE-2018-1000613/index.md","name":"CVE-2018-1000613","record":{"aliases":["DEBIAN-CVE-2018-1000613","GHSA-4446-656p-f54g","ROOT-APP-MAVEN-CVE-2018-1000613","UBUNTU-CVE-2018-1000613"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"Java cryptography library","requires_auth":"none","summary":"Deserializing a crafted XMSS private key in Bouncy Castle allows arbitrary code execution via unsafe reflection.","user_interaction":"not_required","vuln_class":"deserialization"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"bc-java","vendor":"bouncycastle"},{"product":"oncommand_workflow_automation","vendor":"netapp"},{"product":"leap","vendor":"opensuse"},{"product":"api_gateway","vendor":"oracle"},{"product":"banking_platform","vendor":"oracle"},{"product":"business_process_management_suite","vendor":"oracle"},{"product":"business_transaction_management","vendor":"oracle"},{"product":"communications_application_session_controller","vendor":"oracle"},{"product":"communications_converged_application_server","vendor":"oracle"},{"product":"communications_convergence","vendor":"oracle"},{"product":"communications_diameter_signaling_router","vendor":"oracle"},{"product":"communications_webrtc_session_controller","vendor":"oracle"},{"product":"data_integrator","vendor":"oracle"},{"product":"enterprise_manager_base_platform","vendor":"oracle"},{"product":"enterprise_manager_for_fusion_middleware","vendor":"oracle"},{"product":"enterprise_repository","vendor":"oracle"},{"product":"managed_file_transfer","vendor":"oracle"},{"product":"peoplesoft_enterprise_peopletools","vendor":"oracle"},{"product":"retail_convenience_and_fuel_pos_software","vendor":"oracle"},{"product":"retail_xstore_point_of_service","vendor":"oracle"},{"product":"soa_suite","vendor":"oracle"},{"product":"utilities_network_management_system","vendor":"oracle"},{"product":"webcenter_portal","vendor":"oracle"},{"product":"weblogic_server","vendor":"oracle"}],"cvss":{"score":9.8,"severity":"critical","source":"nvd","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-470","name":"Use of Externally-Controlled Input to Select Classes or Code"}],"description":"Legion of the Bouncy Castle Legion of the Bouncy Castle Java Cryptography APIs 1.58 up to but not including 1.60 contains a CWE-470: Use of Externally-Controlled Input to Select Classes or Code ('Unsafe Reflection') vulnerability in XMSS/XMSS^MT private key deserialization that can result in Deserializing an XMSS/XMSS^MT private key can result in the execution of unexpected code. This attack appear to be exploitable via A handcrafted private key can include references to unexpected classes which will be picked up from the class path for the executing application. This vulnerability appears to have been fixed in 1.60 and later.","ecosystems":["Maven"],"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":"Deserialization of Untrusted Data in Bouncy castle","id":"CVE-2018-1000613","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Maven","product":"bouncycastle:bc-java","products":["bouncycastle:bc-java","netapp:oncommand_workflow_automation","opensuse:leap","oracle:banking_platform","oracle:communications_diameter_signaling_router","oracle:enterprise_manager_base_platform","oracle:peoplesoft_enterprise_peopletools","oracle:retail_xstore_point_of_service","oracle:webcenter_portal","oracle:weblogic_server"],"type":"deserialization","year":"2018"},"n_packages":2,"n_references":11,"next":{"headline":"XML external entity in n/a","id":"CVE-2018-1000614"},"packages":[{"ecosystem":"Maven","fixed":["1.60"],"introduced":["1.57"],"last_affected":[],"package":"org.bouncycastle:bcprov-jdk15on","purl":null,"source":"GHSA-4446-656p-f54g"},{"ecosystem":"Maven","fixed":["1.60"],"introduced":["1.57"],"last_affected":[],"package":"org.bouncycastle:bcprov-jdk15on","purl":"pkg:maven/org.bouncycastle/bcprov-jdk15on","source":"GHSA-4446-656p-f54g"}],"prev":{"headline":"Cross-site scripting in n/a","id":"CVE-2018-1000611"},"products":["n/a"],"published":"2018-07-09","related":[{"cvss_score":10,"headline":"Legion of the Bouncy Castle Java Cryptography API Bleichenbacher Oracle Vulnerability","id":"CVE-2007-6721","kev_date_added":null,"published":"2009-03-30"},{"cvss_score":9.3,"headline":"Stapled OCSP response accepted without binding to the checked certificate","id":"CVE-2026-58062","kev_date_added":null,"published":"2026-08-03"},{"cvss_score":9.3,"headline":"JSSE hostname verifier CN-fallback enabled by default despite documented opt-in","id":"CVE-2026-59638","kev_date_added":null,"published":"2026-08-03"},{"cvss_score":9.3,"headline":"MTI/A0 DH agreement exponentiates unvalidated peer value","id":"CVE-2026-59650","kev_date_added":null,"published":"2026-08-03"},{"cvss_score":9.3,"headline":"Name Constraints bypass via trailing dot in rfc822Name and URI","id":"CVE-2026-8763","kev_date_added":null,"published":"2026-08-03"},{"cvss_score":8.7,"headline":"MLS membership checks compare a uint32 leaf_index as signed, admitting an out-of-range sender","id":"CVE-2026-17507","kev_date_added":null,"published":"2026-10-02"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"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":"yes","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2024-11-14","vendors":["n/a"]},"summary":"Deserializing a crafted XMSS private key in Bouncy Castle allows arbitrary code execution via unsafe reflection.","url":"https://insights.sbomify.com/CVE-2018-1000613/"}