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

CVE-2024-29857: Bouncy Castle certificate parsing issues cause high CPU usage during parameter evaluation.

May 14, 2024

An issue was discovered in ECCurve.java and ECCurve.cs in Bouncy Castle Java (BC Java) before 1.78, BC Java LTS before 2.73.6, BC-FJA before 1.0.2.5, and BC C# .Net before 2.3.1. Importing an EC certificate with crafted F2m parameters can lead to excessive CPU consumption during the evaluation of the curve parameters.

References

  • github.com/advisories/GHSA-8xfc-gm6g-vgpv
  • github.com/bcgit/bc-csharp/commit/56daa6eac526f165416d17f661422d60de0dfd63
  • github.com/bcgit/bc-csharp/wiki/CVE%E2%80%902024%E2%80%9029857
  • github.com/bcgit/bc-java/commit/fee80dd230e7fba132d03a34f1dd1d6aae0d0281
  • github.com/bcgit/bc-java/wiki/CVE%E2%80%902024%E2%80%9029857
  • nvd.nist.gov/vuln/detail/CVE-2024-29857
  • www.bouncycastle.org/latest_releases.html

Code Behaviors & Features

Detect and mitigate CVE-2024-29857 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 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:N/I:N/A:H

Learn more about CVSS

Weakness

  • CWE-400: Uncontrolled Resource Consumption

Source file

maven/org.bouncycastle/bcpkix-jdk14/CVE-2024-29857.yml

Spotted a mistake? Edit the file on GitLab.

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

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