GHSA-8xfc-gm6g-vgpv

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

At a glance

Published
Updated
CVE
CVE-2024-29857
CVSS_V3
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

Description

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.

Affected packages

PackageVersions
Maven · org.bouncycastle:bcprov-jdk18onintroduced 0, fixed 1.78
Maven · org.bouncycastle:bcprov-jdk15onintroduced 0, fixed 1.78
Maven · org.bouncycastle:bcprov-jdk15to18introduced 0, fixed 1.78
Maven · org.bouncycastle:bcprov-jdk14introduced 0, fixed 1.78
Maven · org.bouncycastle:bctls-jdk18onintroduced 0, fixed 1.78
Maven · org.bouncycastle:bctls-jdk14introduced 0, fixed 1.78
Maven · org.bouncycastle:bctls-jdk15to18introduced 0, fixed 1.78
Maven · org.bouncycastle:bc-fipsintroduced 0, fixed 1.0.2.5
NuGet · BouncyCastleintroduced 0
NuGet · BouncyCastle.Cryptographyintroduced 0, fixed 2.3.1

References

Sources

SourceLicence
OSV.devCC-BY 4.0 — GitHub Advisory Database