CVE-2024-50354:The CVE-2024-50354 vulnerability is associated with Consensys's gnark product. It is an issue of uncontrolled resource consumption (CWE-400) that can cause an out-of-memory error during deserialization with crafted inputs.

splash
Back

Description Preview

The gnark product, a fast zk-SNARK library that offers a high-level API to design circuits, has a vulnerability in versions 0.11.0 and earlier. The deserialization of Groth16 verification keys can allocate excessive memory, consuming a lot of resources and triggering a crash with the error "fatal error: runtime: out of memory." The attack complexity is low, and the availability impact is high. The attack requires low privileges and can be executed locally.

Overview

The vulnerability was published on October 31, 2024, by GitHub_M. The issue lies in the deserialization of Groth16 verification keys, which can allocate excessive memory. This uncontrolled resource consumption can lead to an out-of-memory error, causing the application to crash. The attack can be performed locally with low privileges.

Remediation

The exact remediation steps are not provided in the CVE details. However, users of gnark are advised to update to the latest version of the software. It is also recommended to monitor the resources consumed by the application and limit the amount of memory that can be allocated during deserialization.

References

  1. GitHub Security Advisory
  2. GitHub Pull Request
  3. GitHub Commit

Industry ExposureMost to least
This section illustrates the prevalence of a specific Common Vulnerabilities and Exposures (CVE) across various industries based on customer reports. The ranking displays industries from the most to least affected by this particular vulnerability, offering valuable insight into where this CVE has been most frequently observed. This information can help organizations within these sectors prioritize their security efforts, understand their relative risk exposure compared to their peers, and focus remediation strategies where they are most needed. By understanding the industry-specific impact, organizations can make more informed decisions regarding patching, resource allocation, and overall risk management related to this CVE.

  1. Accommodation & Food Services
    Accommodation & Food Services
  2. Administrative, Support, Waste Management & Remediation Services
    Administrative, Support, Waste Management & Remediation Services
  3. Agriculture, Forestry Fishing & Hunting
    Agriculture, Forestry Fishing & Hunting
  4. Arts, Entertainment & Recreation
    Arts, Entertainment & Recreation
  5. Construction
    Construction
  6. Educational Services
    Educational Services
  7. Finance and Insurance
    Finance and Insurance
  8. Health Care & Social Assistance
    Health Care & Social Assistance
  9. Information
    Information
  10. Management of Companies & Enterprises
    Management of Companies & Enterprises
  11. Manufacturing
    Manufacturing
  12. Mining
    Mining
  13. Other Services (except Public Administration)
    Other Services (except Public Administration)
  14. Professional, Scientific, & Technical Services
    Professional, Scientific, & Technical Services
  15. Public Administration
    Public Administration
  16. Real Estate Rental & Leasing
    Real Estate Rental & Leasing
  17. Retail Trade
    Retail Trade
  18. Transportation & Warehousing
    Transportation & Warehousing
  19. Utilities
    Utilities
  20. Wholesale Trade
    Wholesale Trade

Focus on What Matters

  1. See Everything.
  2. Identify True Risk.
  3. Proactively Mitigate Threats.

Let's talk!

background
Armis Vulnerability Intelligence Database