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

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

May 3, 2024 (updated March 21, 2025)

An issue was discovered in Bouncy Castle Java Cryptography APIs before BC 1.78. 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 starting from 1.61 before 1.78

Fixed versions

  • 1.78

Solution

Upgrade to version 1.78 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-jdk14/CVE-2024-34447.yml

Spotted a mistake? Edit the file on GitLab.

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

Page generated Wed, 14 May 2025 12:15:33 +0000.