SCA: security update for github.com/consensys/gnark (GHSA-cph5-3pgr-c82g)

medium Tenable Cloud Security Plugin ID 414002

Description

There are packages installed that are affected by a vulnerability referenced in the following CVE:

- gnark is a fast zk-SNARK library that offers a high-level API to design circuits. In gnark 0.11.0 and
earlier, 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. (CVE-2024-50354)

See Also

https://github.com/advisories/GHSA-cph5-3pgr-c82g

Plugin Details

Severity: Medium

ID: 414002

Version: Revision 1.7

Type: Local

Family: SCA Checks

Published: 1/23/2025

Updated: 6/1/2026

Supported Sensors: Tenable Cloud Security, Tenable Self-Hosted Container Security

Risk Information

VPR

Risk Factor: Low

Score: 3

Percentile: 23.51

Vendor

Vendor Severity: Medium

CVSS v2

Risk Factor: Medium

Base Score: 4.6

Temporal Score: 3.6

Vector: CVSS2#AV:L/AC:L/Au:S/C:N/I:N/A:C

CVSS Score Source: CVE-2024-50354

CVSS v3

Risk Factor: Medium

Base Score: 5.5

Temporal Score: 5

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

Temporal Vector: CVSS:3.0/E:P/RL:O/RC:C

CVSS v4

Risk Factor: Medium

Base Score: 6.8

Threat Score: 5.4

Threat Vector: CVSS:4.0/E:P

Vector: CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N

Vulnerability Information

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 10/31/2024

Vulnerability Publication Date: 10/31/2024

Reference Information

CVE: CVE-2024-50354

cwe: CWE-400