Skip to main content

Uncontrolled Resource Consumption

CVE-2024-50354

Severity Medium
Score 6.8/10

Summary

The gnark is a fast zk-SNARK library that offers a high-level API to design circuits. In github.com/Consensys/gnark package, deserialization of "Groth16" verification keys allocate excessive memory, consuming a lot of resources and triggering a crash with the error fatal error, runtime: Out-of-Memory. This issue affects the package github.com/consensys/gnark versions through 0.11.0.

  • LOW
  • LOCAL
  • NONE
  • UNCHANGED
  • NONE
  • LOW
  • NONE
  • HIGH

CWE-400 - Uncontrolled resource consumption

An uncontrolled resource allocation attack (also known as resource exhaustion attack) triggers unauthorized overconsumption of the limited resources in an application, such as memory, file system storage, database connection pool entries, and CPU. This may lead to denial of service for valid users and degradation of the application's functionality as well as that of the host operating system.

Advisory Timeline

  • Published