Advisory

GHSA-8xfc-gm6g-vgpv

Also known as: CVE-2024-29857

Summary

Bouncy Castle certificate parsing issues cause high CPU usage during parameter evaluation.

Details

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.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2024-05-14 15:32 UTC
Modified
2026-09-10 03:49 UTC

Affected packages and fixes

BouncyCastle

NuGet · All systems

Affected

  • introduced 0 (ecosystem)

Fixed versions

None listed

Fix

No fixed version is listed.

BouncyCastle.Cryptography

NuGet · All systems

Affected

  • introduced 0, fixed 2.3.1 (ecosystem)

Fixed versions

2.3.1

Fix

The export has no generic command for this ecosystem.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences