{"answers":{"affected":"6 open source packages ship an affected version, including bouncycastle:bcprov-jdk14, bouncycastle:bcprov-jdk15 and bouncycastle:bcprov-jdk16. It affects 2 products.","exploited":"There is no known exploitation of CVE-2007-6721 in the wild and no public exploit code.","fix":"Upgrade bouncycastle:bcprov-jdk14 to 1.38 or later.","what":"CVE-2007-6721 is a critical vulnerability in Bouncycastle Bc-Java, published on 30 Mar 2009. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2007-6721 and fix it if it is affected.\n\nWhat it is: CVE-2007-6721 is a critical vulnerability in Bouncycastle Bc-Java, published on 30 Mar 2009. 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-2007-6721 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- bouncycastle:bcprov-jdk14 (Maven): affected all versions; fixed in 1.38\n- bouncycastle:bcprov-jdk14 (Maven): affected all versions; fixed in 1.38\n- bouncycastle:bcprov-jdk15 (Maven): affected all versions; fixed in 1.38\n- bouncycastle:bcprov-jdk15 (Maven): affected all versions; fixed in 1.38\n- bouncycastle:bcprov-jdk16 (Maven): affected all versions; fixed in 1.38\n- bouncycastle:bcprov-jdk16 (Maven): affected all versions; fixed in 1.38\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-6721/ (Markdown: https://insights.sbomify.com/CVE-2007-6721/index.md)","id":"CVE-2007-6721","markdown":"https://insights.sbomify.com/CVE-2007-6721/index.md","name":"CVE-2007-6721","record":{"aliases":["DEBIAN-CVE-2007-6721","GHSA-m26p-m559-g5j5"],"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":"A Bleichenbacher vulnerability in RSA CMS signatures allows attackers to bypass cryptographic verification in the Bouncy Castle Java library.","user_interaction":"not_required","vuln_class":"weak_cryptography"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"bc-java","vendor":"bouncycastle"},{"product":"bouncy-castle-crypto-package","vendor":"bouncycastle"}],"cvss":{"score":10,"severity":"critical","source":"nvd","vector":"AV:N/AC:L/Au:N/C:C/I:C/A:C","version":"2.0"},"cwes":[],"description":"The Legion of the Bouncy Castle Java Cryptography API before release 1.38, as used in Crypto Provider Package before 1.36, has unknown impact and remote attack vectors related to \"a Bleichenbacher vulnerability in simple RSA CMS signatures without signed attributes.\"","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":"Legion of the Bouncy Castle Java Cryptography API Bleichenbacher Oracle Vulnerability","id":"CVE-2007-6721","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Maven","product":"bouncycastle:bc-java","products":["bouncycastle:bc-java"],"type":"weak_cryptography","year":"2007"},"n_packages":6,"n_references":7,"next":{"headline":"Misconfiguration in n/a","id":"CVE-2007-6722"},"packages":[{"ecosystem":"Maven","fixed":["1.38"],"introduced":["0"],"last_affected":[],"package":"bouncycastle:bcprov-jdk14","purl":null,"source":"GHSA-m26p-m559-g5j5"},{"ecosystem":"Maven","fixed":["1.38"],"introduced":["0"],"last_affected":[],"package":"bouncycastle:bcprov-jdk14","purl":"pkg:maven/bouncycastle/bcprov-jdk14","source":"GHSA-m26p-m559-g5j5"},{"ecosystem":"Maven","fixed":["1.38"],"introduced":["0"],"last_affected":[],"package":"bouncycastle:bcprov-jdk15","purl":null,"source":"GHSA-m26p-m559-g5j5"},{"ecosystem":"Maven","fixed":["1.38"],"introduced":["0"],"last_affected":[],"package":"bouncycastle:bcprov-jdk15","purl":"pkg:maven/bouncycastle/bcprov-jdk15","source":"GHSA-m26p-m559-g5j5"},{"ecosystem":"Maven","fixed":["1.38"],"introduced":["0"],"last_affected":[],"package":"bouncycastle:bcprov-jdk16","purl":null,"source":"GHSA-m26p-m559-g5j5"},{"ecosystem":"Maven","fixed":["1.38"],"introduced":["0"],"last_affected":[],"package":"bouncycastle:bcprov-jdk16","purl":"pkg:maven/bouncycastle/bcprov-jdk16","source":"GHSA-m26p-m559-g5j5"}],"prev":{"headline":"Denial of service in n/a","id":"CVE-2007-6720"},"products":["n/a"],"published":"2009-03-30","related":[{"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":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-07","vendors":["n/a"]},"summary":"A Bleichenbacher vulnerability in RSA CMS signatures allows attackers to bypass cryptographic verification in the Bouncy Castle Java library.","url":"https://insights.sbomify.com/CVE-2007-6721/"}