CVE-2024-34447 json
Bouncy Castle Java Cryptography API vulnerable to DNS poisoning
published 2024-05-03 2 y ago modified 2026-09-10 1 mo ago also GHSA-4h8f-2wvx-gg5w , EUVD-2024-1414
- cvss
- 7.5
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.8%
- EPSS 0.8% chance of exploitation in 30 days, percentile 55%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- maven org.bouncycastle:bcprov-jdk18on 1.78
- maven org.bouncycastle:bcprov-jdk15to18 1.78
- maven org.bouncycastle:bcprov-jdk14 1.78
- maven org.bouncycastle:bcprov-jdk12 1.78
- maven org.bouncycastle:bctls-fips 1.0.19
- maven org.bouncycastle:bcprov-lts8on 2.73.6
- maven org.bouncycastle:bcprov-jdk15on 1.78
- bouncycastle Debian 14, Debian 13 1.80-1
debian advisories DEBIAN-CVE-2024-34447
- bouncycastle Ubuntu Pro 20.04 LTS 1.61-1ubuntu0.1~esm1
- bouncycastle Ubuntu Pro 22.04 LTS 1.68-5ubuntu0.1~esm1
- bouncycastle Ubuntu Pro 24.04 LTS 1.77-1ubuntu0.1~esm1
ubuntu advisories UBUNTU-CVE-2024-34447
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2024-34447 updated cvss 5.3
org.bouncycastle: Use of Incorrectly-Resolved Name or Reference
-
Red Hat A-MQ Clients 2 org.bouncycastle-bctls org.bouncycastle-bctls Red Hat Migration Toolkit for Applications 6 org.bouncycastle-bctls Red Hat Migration Toolkit for Runtimes org.bouncycastle-bctlsaffected: workaround, no fix planned “Will not fix”
-
Red Hat build of Apache Camel for Spring Boot 3 org.bouncycastle-bctls org.bouncycastle-bctlsaffected: workaround, no fix planned “Out of support scope”
-
Red Hat Build of Keycloak org.bouncycastle-bctls org.bouncycastle-bctlsaffected: workaround, no fix available
-
Red Hat Integration Camel K 1 org.bouncycastle-bctls org.bouncycastle-bctlsaffected: workaround, no fix planned “Will not fix”
-
Red Hat AMQ Broker 7fixed: vendor fix RHSA-2024:4271
-
Red Hat build of Apache Camel 4.4.1 for Spring Boot 3.2fixed: vendor fix RHSA-2024:4884
-
Red Hat build of Quarkus 3.8.5.redhat bcprov-jdk18on 1.78.1.redhat-00002fixed: vendor fix RHSA-2024:4326
-
Red Hat Logging Subsystem for Red Hat OpenShift openshift-logging/elasticsearch6-rhel8 Red Hat build of Quarkus 3.8.5.redhat jna 5.8.0, lit 3.1.2, db2 1.19.6, h2 2.2.224, y18n 5.0.8, bson 4.11.1, +961 more Red Hat Data Grid 8 org.bouncycastle-bctls org.bouncycastle-bctls Red Hat Fuse 7 org.bouncycastle-bctls org.bouncycastle-bctls Red Hat JBoss Enterprise Application Platform 7 org.bouncycastle-bctls org.bouncycastle-bctls Red Hat JBoss Enterprise Application Platform 8 org.bouncycastle-bctls org.bouncycastle-bctlsnot affected: vulnerable code not present
+1 more productsfewer
Red Hat JBoss Enterprise Application Platform Expansion Pack org.bouncycastle-bctls org.bouncycastle-bctls
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 2 y ago
Exploit prediction
0.77% chance of exploitation in the next 30 days, higher than 55% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CISA ADP | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| CNA | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| GitHub | 3.1 | 5.9 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| maven | org.bouncycastle:bcprov-jdk18on | >=1.61, <1.78 |
1.78 |
| maven | org.bouncycastle:bcprov-jdk15to18 | >=1.61, <1.78 |
1.78 |
| maven | org.bouncycastle:bcprov-jdk14 | >=1.61, <1.78 |
1.78 |
| maven | org.bouncycastle:bcprov-jdk12 | >=1.61, <1.78 |
1.78 |
| maven | org.bouncycastle:bctls-fips | <1.0.19 |
1.0.19 |
| maven | org.bouncycastle:bcprov-lts8on | <2.73.6 |
2.73.6 |
| maven | org.bouncycastle:bcprov-jdk15on | >=1.61, <1.78 |
1.78 |
Classification
- Weakness
-
- CWE-297 Improper Validation of Certificate with Host Mismatch
References
-
bouncycastle.org
/latest_releases.html
web
-
github.com
/bcgit/bc-java/wiki/CVE%E2%80%902024%E2%80%9034447
web
- security.netapp.com /advisory/ntap-20240614-0007/
-
nvd.nist.gov
/vuln/detail/CVE-2024-34447
advisory
-
github.com
/bcgit/bc-java/issues/1656
web
-
github.com
/bcgit/bc-java
package
-
security.netapp.com
/advisory/ntap-20240614-0007
web
Sources
- CVE List CVE-2024-34447
- GitHub Advisory GHSA-4h8f-2wvx-gg5w
- NVD CVE-2024-34447
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.