cve.bz

CVE-2024-34447

7.5 highEPSS 0.8%Fix available

High (7.5). EPSS 0.8% estimated probability of exploitation activity in the next 30 days. Fixed in org.bouncycastle:bcprov-jdk18on 1.78.

On this page
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.

Severity

CVSS 3.1

7.5 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
EPSS
0.8% (unchanged from 0.8% a week ago; 0.8% 30 days ago) estimated probability of exploitation activity in the next 30 days; 56th percentile. Scored 2026-11-24. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2024-05-16. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-297 Improper Validation of Certificate with Host Mismatch
OWASP Top 10
A07:2025 Authentication Failures
Published
Modified
NVD analysis
Deferred: the NVD does not plan to analyze it
Record from
the NVD, synced

Fix and patched versions

  • org.bouncycastle:bcprov-jdk18on (Maven): fixed in 1.78
  • org.bouncycastle:bcprov-jdk15to18 (Maven): fixed in 1.78
  • org.bouncycastle:bcprov-jdk14 (Maven): fixed in 1.78
  • org.bouncycastle:bcprov-jdk12 (Maven): 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): fixed in 1.78
  • Debian, Ubuntu: fixed package versions per release

Ask an AI about this CVE

Show the promptExplain CVE-2024-34447 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2024-34447?via=ask-ai-copy and https://cve.bz/cve/CVE-2024-34447?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2024-34447 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-4h8f-2wvx-gg5wMavenorg.bouncycastle:bcprov-jdk18on>=1.61 <1.781.78
GHSA-4h8f-2wvx-gg5wMavenorg.bouncycastle:bcprov-jdk15to18>=1.61 <1.781.78
GHSA-4h8f-2wvx-gg5wMavenorg.bouncycastle:bcprov-jdk14>=1.61 <1.781.78
GHSA-4h8f-2wvx-gg5wMavenorg.bouncycastle:bcprov-jdk12>=1.61 <1.781.78
GHSA-4h8f-2wvx-gg5wMavenorg.bouncycastle:bctls-fips<1.0.191.0.19
GHSA-4h8f-2wvx-gg5wMavenorg.bouncycastle:bcprov-lts8on<2.73.62.73.6
GHSA-4h8f-2wvx-gg5wMavenorg.bouncycastle:bcprov-jdk15on>=1.61 <1.781.78

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12bouncycastleno fix listedDEBIAN-CVE-2024-34447
Debian13, 14bouncycastle1.80-1DEBIAN-CVE-2024-34447
UbuntuPro:16.04:LTSbouncycastle1.51-4ubuntu1+esm1USN-8108-1
UbuntuPro:18.04:LTSbouncycastle1.59-1ubuntu0.1~esm1USN-8108-1
UbuntuPro:20.04:LTSbouncycastle1.61-1ubuntu0.1~esm1UBUNTU-CVE-2024-34447 USN-8108-1
UbuntuPro:22.04:LTSbouncycastle1.68-5ubuntu0.1~esm1UBUNTU-CVE-2024-34447 USN-8108-1
UbuntuPro:24.04:LTSbouncycastle1.77-1ubuntu0.1~esm1UBUNTU-CVE-2024-34447 USN-8108-1

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

The vulnerability in Bouncy Castle Java Cryptography APIs, allowing for incorrect resolution of domain names during SSL/TLS connections without explicitly specifying a hostname, is assessed as moderate severity due to its potential impact on security. By exploiting this flaw, an attacker could manipulate DNS resolution to present a different server's certificate, leading to a mismatch between expected and verified hostnames. While this could facilitate a man-in-the-middle attack under specific conditions, its severity is moderated by the prerequisite of the attacker controlling DNS responses or intercepting network traffic.

Red Hat's mitigation

Mitigation for this issue is either not available or the currently available options don't meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.

ProductPackageStateAdvisory
Red Hat AMQ Broker 7org.bouncycastle:bcprov-jdk18onFixed 2024-07-02RHSA-2024:4271
Red Hat build of Apache Camel 4.4.1 for Spring Boot 3.2Fixed 2024-07-25RHSA-2024:4884
Red Hat build of Quarkus 3.8.5.redhatorg.bouncycastle/bcprov-jdk18on:1.78.1.redhat-00002Fixed 2024-07-08RHSA-2024:4326
A-MQ Clients 2org.bouncycastle-bctlsWill not fix
Logging Subsystem for Red Hat OpenShiftopenshift-logging/elasticsearch6-rhel8Not affected
Migration Toolkit for Applications 6org.bouncycastle-bctlsWill not fix
Migration Toolkit for Runtimesorg.bouncycastle-bctlsWill not fix
Red Hat build of Apache Camel for Spring Boot 3org.bouncycastle-bctlsOut of support scope
Red Hat Build of Keycloakorg.bouncycastle-bctlsAffected
Red Hat Data Grid 8org.bouncycastle-bctlsNot affected
Red Hat Fuse 7org.bouncycastle-bctlsNot affected
Red Hat Integration Camel K 1org.bouncycastle-bctlsWill not fix
Red Hat JBoss Enterprise Application Platform 7org.bouncycastle-bctlsNot affected
Red Hat JBoss Enterprise Application Platform 8org.bouncycastle-bctlsNot affected
Red Hat JBoss Enterprise Application Platform Expansion Packorg.bouncycastle-bctlsNot affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2024-34447.

References

Check your stackJSON