Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/consensys/gnark
  4. ›
  5. CVE-2024-50354

CVE-2024-50354: Gnark out-of-memory during deserialization with crafted inputs

October 31, 2024 (updated November 4, 2024)

Thanks @pventuzelo for reporting.

From the correspondence:

References

  • github.com/Consensys/gnark
  • github.com/Consensys/gnark/commit/47ae846339add2bdf9983e499342bfdfe195191d
  • github.com/Consensys/gnark/pull/1307
  • github.com/Consensys/gnark/security/advisories/GHSA-cph5-3pgr-c82g
  • github.com/advisories/GHSA-cph5-3pgr-c82g
  • nvd.nist.gov/vuln/detail/CVE-2024-50354

Code Behaviors & Features

Detect and mitigate CVE-2024-50354 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 0.11.1

Fixed versions

  • 0.11.1

Solution

Upgrade to version 0.11.1 or above.

Impact 5.5 MEDIUM

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Learn more about CVSS

Weakness

  • CWE-400: Uncontrolled Resource Consumption

Source file

go/github.com/consensys/gnark/CVE-2024-50354.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:15:38 +0000.