{"answers":{"affected":"2 open source packages ship an affected version, including org.bouncycastle:bcprov-jdk15on. It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2017-13098 exists.","fix":"Upgrade org.bouncycastle:bcprov-jdk15on to 1.0.3 or later.","what":"CVE-2017-13098 is a high-severity vulnerability in Bouncycastle Bc-Java, published on 13 Dec 2017. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2017-13098 and fix it if it is affected.\n\nWhat it is: CVE-2017-13098 is a high-severity vulnerability in Bouncycastle Bc-Java, published on 13 Dec 2017. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2017-13098 exists.\n\nAffected packages and fixed versions:\n- org.bouncycastle:bcprov-jdk15on (Maven): affected all versions; fixed in 1.0.3\n- org.bouncycastle:bcprov-jdk15on (Maven): affected all versions; fixed in 1.0.3\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-2017-13098/ (Markdown: https://insights.sbomify.com/CVE-2017-13098/index.md)","id":"CVE-2017-13098","markdown":"https://insights.sbomify.com/CVE-2017-13098/index.md","name":"CVE-2017-13098","record":{"aliases":["DEBIAN-CVE-2017-13098","DSA-4072-1","GHSA-wrwf-pmmj-w989"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["data_read","privilege_escalation"],"network_reachable":"yes","non_default_config":true,"product_category":"Java TLS library","requires_auth":"none","summary":"Attackers can recover private keys from applications using BouncyCastle TLS with JCE and RSA key exchange via a Bleichenbacher oracle.","user_interaction":"not_required","vuln_class":"weak_cryptography"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"certcc","cpe":[{"product":"bc-java","vendor":"bouncycastle"}],"cvss":{"score":7.5,"severity":"high","source":"cna","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-203","name":"Observable Discrepancy"}],"description":"BouncyCastle TLS prior to version 1.0.3, when configured to use the JCE (Java Cryptography Extension) for cryptographic functions, provides a weak Bleichenbacher oracle when any TLS cipher suite using RSA key exchange is negotiated. An attacker can recover the private key from a vulnerable application. This vulnerability is referred to as \"ROBOT.\"","ecosystems":["Maven"],"exploits":{"exploitdb":0,"first_seen":"2009-06-17","github_poc":0,"max_poc_stars":null,"metasploit":1,"nuclei":0,"refs":[{"date":"2009-06-17","kind":"metasploit","ref":"auxiliary/scanner/ssl/bleichenbacher_oracle","stars":null,"title":"Scanner for Bleichenbacher Oracle in RSA PKCS #1 v1.5"}],"tier":"weaponised"},"has_fix":true,"headline":"BouncyCastle JCE TLS Bleichenbacher/ROBOT","id":"CVE-2017-13098","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Maven","product":"bouncycastle:bc-java","products":["bouncycastle:bc-java"],"type":"weak_cryptography","year":"2017"},"n_packages":2,"n_references":8,"next":{"headline":"wolfSSL Bleichenbacher/ROBOT","id":"CVE-2017-13099"},"packages":[{"ecosystem":"Maven","fixed":["1.0.3"],"introduced":["0"],"last_affected":[],"package":"org.bouncycastle:bcprov-jdk15on","purl":null,"source":"GHSA-wrwf-pmmj-w989"},{"ecosystem":"Maven","fixed":["1.0.3"],"introduced":["0"],"last_affected":[],"package":"org.bouncycastle:bcprov-jdk15on","purl":"pkg:maven/org.bouncycastle/bcprov-jdk15on","source":"GHSA-wrwf-pmmj-w989"}],"prev":{"headline":"Weak cryptography in Standard","id":"CVE-2017-13097"},"products":["BouncyCastle TLS"],"published":"2017-12-13","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)"},{"class":"attribution","licence":"BSD-3-Clause","name":"Metasploit"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-09-16","vendors":["Legion of the Bouncy Castle"]},"summary":"Attackers can recover private keys from applications using BouncyCastle TLS with JCE and RSA key exchange via a Bleichenbacher oracle.","url":"https://insights.sbomify.com/CVE-2017-13098/"}