CVE-2024-34447
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.
How to fix
- org.bouncycastle:bcprov-jdk18on1.78 or later
- org.bouncycastle:bcprov-jdk15to181.78 or later
- org.bouncycastle:bcprov-jdk141.78 or later
- org.bouncycastle:bcprov-jdk121.78 or later
- org.bouncycastle:bctls-fips1.0.19 or later
- org.bouncycastle:bcprov-lts8on2.73.6 or later
- org.bouncycastle:bcprov-jdk15on1.78 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| org.bouncycastle:bcprov-jdk18onMaven | 1.61 ≤ v < 1.78 | 1.78 |
| org.bouncycastle:bcprov-jdk15to18Maven | 1.61 ≤ v < 1.78 | 1.78 |
| org.bouncycastle:bcprov-jdk14Maven | 1.61 ≤ v < 1.78 | 1.78 |
| org.bouncycastle:bcprov-jdk12Maven | 1.61 ≤ v < 1.78 | 1.78 |
| org.bouncycastle:bctls-fipsMaven | v < 1.0.19 | 1.0.19 |
| org.bouncycastle:bcprov-lts8onMaven | v < 2.73.6 | 2.73.6 |
| org.bouncycastle:bcprov-jdk15onMaven | 1.61 ≤ v < 1.78 | 1.78 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.