Allocation of Resources Without Limits or Throttling Affecting bouncycastle.cryptography package, versions [2.0.0,2.3.1)


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Allocation of Resources Without Limits or Throttling vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-DOTNET-BOUNCYCASTLECRYPTOGRAPHY-7577211
  • published1 Aug 2024
  • disclosed11 Apr 2024
  • creditUnknown

Introduced: 11 Apr 2024

CVE-2024-29857  (opens in a new tab)
CWE-770  (opens in a new tab)

How to fix?

Upgrade BouncyCastle.Cryptography to version 2.3.1 or higher.

Overview

Affected versions of this package are vulnerable to Allocation of Resources Without Limits or Throttling in the solveQuadraticEquation() function used for certificate verification in ECCurve.java. Passing a large f2m parameter can cause excessive CPU consumption.

CVSS Scores

version 3.1