Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2024-34447

HIGH 7.5EPSS 60%

Bouncy Castle Java Cryptography API vulnerable to DNS poisoning

Also known as GHSA-4h8f-2wvx-gg5w

Mitigation

  • Upgrade org.bouncycastle:bcprov-jdk18on to 1.78 or later.
  • Upgrade org.bouncycastle:bcprov-jdk15to18 to 1.78 or later.
  • Upgrade org.bouncycastle:bcprov-jdk14 to 1.78 or later.
  • Upgrade org.bouncycastle:bcprov-jdk12 to 1.78 or later.
  • Upgrade org.bouncycastle:bctls-fips to 1.0.19 or later.
  • Upgrade org.bouncycastle:bcprov-lts8on to 2.73.6 or later.
  • Upgrade org.bouncycastle:bcprov-jdk15on to 1.78 or later.

Who should check

  • Projects that depend on Maven package org.bouncycastle:bcprov-jdk18on (>= 1.61, < 1.78)
  • Projects that depend on Maven package org.bouncycastle:bcprov-jdk15to18 (>= 1.61, < 1.78)
  • Projects that depend on Maven package org.bouncycastle:bcprov-jdk14 (>= 1.61, < 1.78)
  • Projects that depend on Maven package org.bouncycastle:bcprov-jdk12 (>= 1.61, < 1.78)
  • Projects that depend on Maven package org.bouncycastle:bctls-fips (< 1.0.19)
  • Projects that depend on Maven package org.bouncycastle:bcprov-lts8on (< 2.73.6)
  • Projects that depend on Maven package org.bouncycastle:bcprov-jdk15on (>= 1.61, < 1.78)
  • Anyone running n/a (versions: see the vendor advisory)

Vulnerability facts

Affected
org.bouncycastle:bcprov-jdk18on >= 1.61, < 1.78; org.bouncycastle:bcprov-jdk15to18 >= 1.61, < 1.78; org.bouncycastle:bcprov-jdk14 >= 1.61, < 1.78; org.bouncycastle:bcprov-jdk12 >= 1.61, < 1.78; org.bouncycastle:bctls-fips < 1.0.19; org.bouncycastle:bcprov-lts8on < 2.73.6; org.bouncycastle:bcprov-jdk15on >= 1.61, < 1.78
Fixed in
1.78, 1.0.19, 2.73.6
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Remote, no login needed
CVSS
7.5 (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:NOpen in CVSS calculator
Show all 8 CVSS metrics
  • Attack vector: Network
  • Attack complexity: Low
  • Privileges required: None
  • User interaction: None
  • Scope: Unchanged
  • Confidentiality impact: High
  • Integrity impact: None
  • Availability impact: None
EPSS
0.96% chance of exploitation in 30 days (percentile 60, 2026-11-26)
CWE
CWE-297
Published
Modified

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.

Affected and fixed versions

Package / productAffectedFixedSource
Maven org.bouncycastle:bcprov-jdk18on>= 1.61, < 1.781.78osv
Maven org.bouncycastle:bcprov-jdk15to18>= 1.61, < 1.781.78osv
Maven org.bouncycastle:bcprov-jdk14>= 1.61, < 1.781.78osv
Maven org.bouncycastle:bcprov-jdk12>= 1.61, < 1.781.78osv
Maven org.bouncycastle:bctls-fips< 1.0.191.0.19osv
Maven org.bouncycastle:bcprov-lts8on< 2.73.62.73.6osv
Maven org.bouncycastle:bcprov-jdk15on>= 1.61, < 1.781.78osv
n/a——nvd

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2024-34447. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2024-34447.md
Affected: org.bouncycastle:bcprov-jdk18on >= 1.61, < 1.78; org.bouncycastle:bcprov-jdk15to18 >= 1.61, < 1.78; org.bouncycastle:bcprov-jdk14 >= 1.61, < 1.78; org.bouncycastle:bcprov-jdk12 >= 1.61, < 1.78; org.bouncycastle:bctls-fips < 1.0.19; org.bouncycastle:bcprov-lts8on < 2.73.6; org.bouncycastle:bcprov-jd…
Fixed in: 1.78, 1.0.19, 2.73.6

Steps:
1. Search this machine and project for org.bouncycastle:bcprov-jdk18on (Maven), org.bouncycastle:bcprov-jdk15to18 (Maven), org.bouncycastle:bcprov-jdk14 (Maven), org.bouncycastle:bcprov-jdk12 (Maven), org.bouncycastle:bctls-fips (Maven), org.bouncycastle:bcprov-lts8on (Maven): dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

References

FAQ

Is CVE-2024-34447 being exploited?

There is no confirmed exploitation: CVE-2024-34447 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.96% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2024-34447?

High: CVSS 7.5 (v3.1, scored by CNA). Remote, no login needed.

Which versions are affected by CVE-2024-34447?

org.bouncycastle:bcprov-jdk18on >= 1.61, < 1.78; org.bouncycastle:bcprov-jdk15to18 >= 1.61, < 1.78; org.bouncycastle:bcprov-jdk14 >= 1.61, < 1.78; org.bouncycastle:bcprov-jdk12 >= 1.61, < 1.78; org.bouncycastle:bctls-fips < 1.0.19; org.bouncycastle:bcprov-lts8on < 2.73.6; org.bouncycastle:bcprov-jdk15on >= 1.61, < 1.78.

Is there a fix for CVE-2024-34447?

Yes. Fixed in 1.78, 1.0.19, 2.73.6. Upgrade org.bouncycastle:bcprov-jdk18on to 1.78 or later. Upgrade org.bouncycastle:bcprov-jdk15to18 to 1.78 or later. Upgrade org.bouncycastle:bcprov-jdk14 to 1.78 or later. Upgrade org.bouncycastle:bcprov-jdk12 to 1.78 or later. Upgrade org.bouncycastle:bctls-fips to 1.0.19 or later. Upgrade org.bouncycastle:bcprov-lts8on to 2.73.6 or later. Upgrade org.bouncycastle:bcprov-jdk15on to 1.78 or later.

How do I check if I'm affected by CVE-2024-34447?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors