Advisory Database
  • Advisories
  • Dependency Scanning
  1. maven
  2. ›
  3. org.bouncycastle/bcprov-lts8on
  4. ›
  5. CVE-2024-34447

CVE-2024-34447: Bouncy Castle Java Cryptography API vulnerable to DNS poisoning

May 3, 2024 (updated June 24, 2025)

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.

References

  • github.com/advisories/GHSA-4h8f-2wvx-gg5w
  • github.com/bcgit/bc-java
  • github.com/bcgit/bc-java/issues/1656
  • github.com/bcgit/bc-java/wiki/CVE%E2%80%902024%E2%80%9034447
  • nvd.nist.gov/vuln/detail/CVE-2024-34447
  • security.netapp.com/advisory/ntap-20240614-0007
  • www.bouncycastle.org/latest_releases.html

Code Behaviors & Features

Detect and mitigate CVE-2024-34447 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 2.73.6

Fixed versions

  • 2.73.6

Solution

Upgrade to version 2.73.6 or above.

Impact 7.5 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Learn more about CVSS

Weakness

  • CWE-297: Improper Validation of Certificate with Host Mismatch

Source file

maven/org.bouncycastle/bcprov-lts8on/CVE-2024-34447.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Tue, 19 Aug 2025 12:19:45 +0000.