CVE-2024-29857

High

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.

SeverityHigh
CVSS7.5
Exploit probability—
ProductOrg.bouncycastle:bcprov-jdk18on
PublishedMay 14, 2024
First seenMay 14, 2024

How to fix

Update
  • org.bouncycastle:bcprov-jdk18on1.78 or later
  • org.bouncycastle:bcprov-jdk15on1.78 or later
  • org.bouncycastle:bcprov-jdk15to181.78 or later
  • org.bouncycastle:bcprov-jdk141.78 or later
  • org.bouncycastle:bctls-jdk18on1.78 or later
  • org.bouncycastle:bctls-jdk141.78 or later
  • org.bouncycastle:bctls-jdk15to181.78 or later
  • org.bouncycastle:bc-fips1.0.2.5 or later
  • BouncyCastle.Cryptography2.3.1 or later

Affected products

ProductAffected versionsFixed in
org.bouncycastle:bcprov-jdk18onMavenv < 1.781.78
org.bouncycastle:bcprov-jdk15onMavenv < 1.781.78
org.bouncycastle:bcprov-jdk15to18Mavenv < 1.781.78
org.bouncycastle:bcprov-jdk14Mavenv < 1.781.78
org.bouncycastle:bctls-jdk18onMavenv < 1.781.78
org.bouncycastle:bctls-jdk14Mavenv < 1.781.78
org.bouncycastle:bctls-jdk15to18Mavenv < 1.781.78
org.bouncycastle:bc-fipsMavenv < 1.0.2.51.0.2.5
BouncyCastleNuGetNo range specified—
BouncyCastle.CryptographyNuGetv < 2.3.12.3.1

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.