{"answers":{"affected":"6 open source packages ship an affected version, including org.bouncycastle:bcprov-jdk14, org.bouncycastle:bcprov-jdk15 and org.bouncycastle:bcprov-jdk15on. It affects 20 products.","exploited":"There is no known exploitation of CVE-2018-1000180 in the wild and no public exploit code.","fix":"Upgrade org.bouncycastle:bcprov-jdk14 to 1.60 or later.","what":"CVE-2018-1000180 is a high-severity vulnerability in Bouncycastle Bc-Java, published on 5 Jun 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-1000180 and fix it if it is affected.\n\nWhat it is: CVE-2018-1000180 is a high-severity vulnerability in Bouncycastle Bc-Java, published on 5 Jun 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-1000180 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- org.bouncycastle:bcprov-jdk14 (Maven): affected all versions; fixed in 1.60\n- org.bouncycastle:bcprov-jdk14 (Maven): affected all versions; fixed in 1.60\n- org.bouncycastle:bcprov-jdk15 (Maven): affected all versions; fixed in 1.60\n- org.bouncycastle:bcprov-jdk15 (Maven): affected all versions; fixed in 1.60\n- org.bouncycastle:bcprov-jdk15on (Maven): affected all versions; fixed in 1.60\n- org.bouncycastle:bcprov-jdk15on (Maven): affected all versions; 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-1000180/ (Markdown: https://insights.sbomify.com/CVE-2018-1000180/index.md)","id":"CVE-2018-1000180","markdown":"https://insights.sbomify.com/CVE-2018-1000180/index.md","name":"CVE-2018-1000180","record":{"aliases":["DEBIAN-CVE-2018-1000180","DSA-4233-1","GHSA-xqj7-j8j5-f2xr","ROOT-APP-MAVEN-CVE-2018-1000180","UBUNTU-CVE-2018-1000180"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["security_bypass"],"network_reachable":"yes","non_default_config":false,"product_category":"Java cryptography library","requires_auth":"none","summary":"The Bouncy Castle library generates RSA keys with insufficient primality tests, potentially allowing attackers to bypass cryptographic security guarantees.","user_interaction":"not_required","vuln_class":"weak_cryptography"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"bc-java","vendor":"bouncycastle"},{"product":"fips_java_api","vendor":"bouncycastle"},{"product":"debian_linux","vendor":"debian"},{"product":"oncommand_workflow_automation","vendor":"netapp"},{"product":"api_gateway","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_webrtc_session_controller","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":"webcenter_portal","vendor":"oracle"},{"product":"weblogic_server","vendor":"oracle"},{"product":"jboss_enterprise_application_platform","vendor":"redhat"},{"product":"virtualization","vendor":"redhat"}],"cvss":{"score":7.5,"severity":"high","source":"nvd","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","version":"3.0"},"cwes":[{"id":"CWE-327","name":"Use of a Broken or Risky Cryptographic Algorithm"}],"description":"Bouncy Castle BC 1.54 - 1.59, BC-FJA 1.0.0, BC-FJA 1.0.1 and earlier have a flaw in the Low-level interface to RSA key pair generator, specifically RSA Key Pairs generated in low-level API with added certainty may have less M-R tests than expected. This appears to be fixed in versions BC 1.60 beta 4 and later, BC-FJA 1.0.2 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":"Bouncy Castle has a flaw in the Low-level interface to RSA key pair generator","id":"CVE-2018-1000180","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Maven","product":"bouncycastle:bc-java","products":["bouncycastle:bc-java","debian:debian_linux","netapp:oncommand_workflow_automation","oracle:peoplesoft_enterprise_peopletools","oracle:retail_xstore_point_of_service","oracle:webcenter_portal","oracle:weblogic_server","redhat:jboss_enterprise_application_platform","redhat:virtualization"],"type":"weak_cryptography","year":"2018"},"n_packages":6,"n_references":21,"next":{"headline":"Path traversal in n/a","id":"CVE-2018-1000181"},"packages":[{"ecosystem":"Maven","fixed":["1.60"],"introduced":["0"],"last_affected":[],"package":"org.bouncycastle:bcprov-jdk14","purl":null,"source":"GHSA-xqj7-j8j5-f2xr"},{"ecosystem":"Maven","fixed":["1.60"],"introduced":["0"],"last_affected":[],"package":"org.bouncycastle:bcprov-jdk14","purl":"pkg:maven/org.bouncycastle/bcprov-jdk14","source":"GHSA-xqj7-j8j5-f2xr"},{"ecosystem":"Maven","fixed":["1.60"],"introduced":["0"],"last_affected":[],"package":"org.bouncycastle:bcprov-jdk15","purl":null,"source":"GHSA-xqj7-j8j5-f2xr"},{"ecosystem":"Maven","fixed":["1.60"],"introduced":["0"],"last_affected":[],"package":"org.bouncycastle:bcprov-jdk15","purl":"pkg:maven/org.bouncycastle/bcprov-jdk15","source":"GHSA-xqj7-j8j5-f2xr"},{"ecosystem":"Maven","fixed":["1.60"],"introduced":["0"],"last_affected":[],"package":"org.bouncycastle:bcprov-jdk15on","purl":null,"source":"GHSA-xqj7-j8j5-f2xr"},{"ecosystem":"Maven","fixed":["1.60"],"introduced":["0"],"last_affected":[],"package":"org.bouncycastle:bcprov-jdk15on","purl":"pkg:maven/org.bouncycastle/bcprov-jdk15on","source":"GHSA-xqj7-j8j5-f2xr"}],"prev":{"headline":"Null dereference in n/a","id":"CVE-2018-1000179"},"products":["n/a"],"published":"2018-06-05","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.8,"headline":"Deserialization of Untrusted Data in Bouncy castle","id":"CVE-2018-1000613","kev_date_added":null,"published":"2018-07-09"},{"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":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-05","vendors":["n/a"]},"summary":"The Bouncy Castle library generates RSA keys with insufficient primality tests, potentially allowing attackers to bypass cryptographic security guarantees.","url":"https://insights.sbomify.com/CVE-2018-1000180/"}