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
Weakness typeCWE-125Out-of-bounds read
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
| Product | Affected versions | Fixed in |
|---|---|---|
| org.bouncycastle:bcprov-jdk18onMaven | v < 1.78 | 1.78 |
| org.bouncycastle:bcprov-jdk15onMaven | v < 1.78 | 1.78 |
| org.bouncycastle:bcprov-jdk15to18Maven | v < 1.78 | 1.78 |
| org.bouncycastle:bcprov-jdk14Maven | v < 1.78 | 1.78 |
| org.bouncycastle:bctls-jdk18onMaven | v < 1.78 | 1.78 |
| org.bouncycastle:bctls-jdk14Maven | v < 1.78 | 1.78 |
| org.bouncycastle:bctls-jdk15to18Maven | v < 1.78 | 1.78 |
| org.bouncycastle:bc-fipsMaven | v < 1.0.2.5 | 1.0.2.5 |
| BouncyCastleNuGet | No range specified | — |
| BouncyCastle.CryptographyNuGet | v < 2.3.1 | 2.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.