{"answers":{"affected":"14 open source packages ship an affected version, including org.bouncycastle:bcprov-jdk12, org.bouncycastle:bcprov-jdk14 and org.bouncycastle:bcprov-jdk15on.","exploited":"There is no known exploitation of CVE-2024-34447 in the wild and no public exploit code.","fix":"Upgrade org.bouncycastle:bcprov-jdk12 to 1.78 or later.","what":"CVE-2024-34447 is a high-severity vulnerability in n/a, published on 3 May 2024. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2024-34447 and fix it if it is affected.\n\nWhat it is: CVE-2024-34447 is a high-severity vulnerability in n/a, published on 3 May 2024. 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-2024-34447 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- org.bouncycastle:bcprov-jdk12 (Maven): affected from 1.61; fixed in 1.78\n- org.bouncycastle:bcprov-jdk12 (Maven): affected from 1.61; fixed in 1.78\n- org.bouncycastle:bcprov-jdk14 (Maven): affected from 1.61; fixed in 1.78\n- org.bouncycastle:bcprov-jdk14 (Maven): affected from 1.61; fixed in 1.78\n- org.bouncycastle:bcprov-jdk15on (Maven): affected from 1.61; fixed in 1.78\n- org.bouncycastle:bcprov-jdk15on (Maven): affected from 1.61; fixed in 1.78\n- org.bouncycastle:bcprov-jdk15to18 (Maven): affected from 1.61; fixed in 1.78\n- org.bouncycastle:bcprov-jdk15to18 (Maven): affected from 1.61; fixed in 1.78\n- org.bouncycastle:bcprov-jdk18on (Maven): affected from 1.61; fixed in 1.78\n- org.bouncycastle:bcprov-jdk18on (Maven): affected from 1.61; fixed in 1.78\n- org.bouncycastle:bcprov-lts8on (Maven): affected all versions; fixed in 2.73.6\n- org.bouncycastle:bcprov-lts8on (Maven): affected all versions; fixed in 2.73.6\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-2024-34447/ (Markdown: https://insights.sbomify.com/CVE-2024-34447/index.md)","id":"CVE-2024-34447","markdown":"https://insights.sbomify.com/CVE-2024-34447/index.md","name":"CVE-2024-34447","record":{"aliases":["CLEANSTART-2026-WG07848","DEBIAN-CVE-2024-34447","GHSA-4h8f-2wvx-gg5w","MINI-7g5j-9696-vg78","ROOT-APP-MAVEN-CVE-2024-34447","UBUNTU-CVE-2024-34447"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["security_bypass"],"network_reachable":"yes","non_default_config":true,"product_category":"Java TLS library","requires_auth":"none","summary":"Attackers can bypass hostname verification in Bouncy Castle TLS when using HttpsURLConnection, enabling DNS poisoning attacks against Java applications.","user_interaction":"not_required","vuln_class":"security_feature_bypass"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[],"cvss":{"score":7.5,"severity":"high","source":"cisa-adp","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","version":"3.1"},"cwes":[{"id":"CWE-297","name":"Improper Validation of Certificate with Host Mismatch"}],"description":"An issue was discovered in the Bouncy Castle Crypto Package For Java before BC TLS Java 1.0.19 (ships with BC Java 1.78, BC Java (LTS) 2.73.6) and before BC FIPS TLS Java 1.0.19. When endpoint identification is enabled in the BCJSSE and an SSL socket is created without an explicit hostname (as happens with HttpsURLConnection), hostname verification could be performed against a DNS-resolved IP address in some situations, opening up a possibility of DNS poisoning.","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 Java Cryptography API vulnerable to DNS poisoning","id":"CVE-2024-34447","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Maven","product":null,"products":[],"type":"security_feature_bypass","year":"2024"},"n_packages":14,"n_references":3,"next":{"headline":"Ghost allows CSV Injection during member CSV export","id":"CVE-2024-34448"},"packages":[{"ecosystem":"Maven","fixed":["1.78"],"introduced":["1.61"],"last_affected":[],"package":"org.bouncycastle:bcprov-jdk12","purl":null,"source":"GHSA-4h8f-2wvx-gg5w"},{"ecosystem":"Maven","fixed":["1.78"],"introduced":["1.61"],"last_affected":[],"package":"org.bouncycastle:bcprov-jdk12","purl":"pkg:maven/org.bouncycastle/bcprov-jdk12","source":"GHSA-4h8f-2wvx-gg5w"},{"ecosystem":"Maven","fixed":["1.78"],"introduced":["1.61"],"last_affected":[],"package":"org.bouncycastle:bcprov-jdk14","purl":null,"source":"GHSA-4h8f-2wvx-gg5w"},{"ecosystem":"Maven","fixed":["1.78"],"introduced":["1.61"],"last_affected":[],"package":"org.bouncycastle:bcprov-jdk14","purl":"pkg:maven/org.bouncycastle/bcprov-jdk14","source":"GHSA-4h8f-2wvx-gg5w"},{"ecosystem":"Maven","fixed":["1.78"],"introduced":["1.61"],"last_affected":[],"package":"org.bouncycastle:bcprov-jdk15on","purl":null,"source":"GHSA-4h8f-2wvx-gg5w"},{"ecosystem":"Maven","fixed":["1.78"],"introduced":["1.61"],"last_affected":[],"package":"org.bouncycastle:bcprov-jdk15on","purl":"pkg:maven/org.bouncycastle/bcprov-jdk15on","source":"GHSA-4h8f-2wvx-gg5w"},{"ecosystem":"Maven","fixed":["1.78"],"introduced":["1.61"],"last_affected":[],"package":"org.bouncycastle:bcprov-jdk15to18","purl":null,"source":"GHSA-4h8f-2wvx-gg5w"},{"ecosystem":"Maven","fixed":["1.78"],"introduced":["1.61"],"last_affected":[],"package":"org.bouncycastle:bcprov-jdk15to18","purl":"pkg:maven/org.bouncycastle/bcprov-jdk15to18","source":"GHSA-4h8f-2wvx-gg5w"},{"ecosystem":"Maven","fixed":["1.78"],"introduced":["1.61"],"last_affected":[],"package":"org.bouncycastle:bcprov-jdk18on","purl":null,"source":"GHSA-4h8f-2wvx-gg5w"},{"ecosystem":"Maven","fixed":["1.78"],"introduced":["1.61"],"last_affected":[],"package":"org.bouncycastle:bcprov-jdk18on","purl":"pkg:maven/org.bouncycastle/bcprov-jdk18on","source":"GHSA-4h8f-2wvx-gg5w"},{"ecosystem":"Maven","fixed":["2.73.6"],"introduced":["0"],"last_affected":[],"package":"org.bouncycastle:bcprov-lts8on","purl":null,"source":"GHSA-4h8f-2wvx-gg5w"},{"ecosystem":"Maven","fixed":["2.73.6"],"introduced":["0"],"last_affected":[],"package":"org.bouncycastle:bcprov-lts8on","purl":"pkg:maven/org.bouncycastle/bcprov-lts8on","source":"GHSA-4h8f-2wvx-gg5w"},{"ecosystem":"Maven","fixed":["1.0.19"],"introduced":["0"],"last_affected":[],"package":"org.bouncycastle:bctls-fips","purl":null,"source":"GHSA-4h8f-2wvx-gg5w"},{"ecosystem":"Maven","fixed":["1.0.19"],"introduced":["0"],"last_affected":[],"package":"org.bouncycastle:bctls-fips","purl":"pkg:maven/org.bouncycastle/bctls-fips","source":"GHSA-4h8f-2wvx-gg5w"}],"prev":{"headline":"Information disclosure in n/a","id":"CVE-2024-34446"},"products":["n/a"],"published":"2024-05-03","related":[],"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":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2025-06-17","vendors":["n/a"]},"summary":"Attackers can bypass hostname verification in Bouncy Castle TLS when using HttpsURLConnection, enabling DNS poisoning attacks against Java applications.","url":"https://insights.sbomify.com/CVE-2024-34447/"}