CVE-2024-34447
High 7.5 No auth needed
Follow: this CVE We alert you by email or Slack (account required).
- Priority
- 60
- CVSS 3.1
- 7.5
- EPSS
- 1.0% probability of exploitation in 30 days · percentile 60
- Auth required
- No
- Published
- May 3, 2024
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-297
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
What happens
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 whether you run any of the affected products and follow the vendor advisory.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Maven | org.bouncycastle:bcprov-jdk12 |
≥ 1.61 < 1.78 |
1.78 |
— |
| Maven | org.bouncycastle:bcprov-jdk14 |
≥ 1.61 < 1.78 |
1.78 |
— |
| Maven | org.bouncycastle:bcprov-jdk15on |
≥ 1.61 < 1.78 |
1.78 |
— |
| Maven | org.bouncycastle:bcprov-jdk15to18 |
≥ 1.61 < 1.78 |
1.78 |
— |
| Maven | org.bouncycastle:bcprov-jdk18on |
≥ 1.61 < 1.78 |
1.78 |
— |
| Maven | org.bouncycastle:bcprov-lts8on |
< 2.73.6 |
2.73.6 |
— |
| Maven | org.bouncycastle:bctls-fips |
< 1.0.19 |
1.0.19 |
— |
Per OSV / GitHub Advisories (GHSA-4h8f-2wvx-gg5w). Check the version in your lockfile before upgrading.
Official sources
References
Links published by the sources. Open them with care.