SCA: security update for github.com/gorilla/schema (GHSA-3669-72x9-r9p3)

high Tenable Cloud Security Plugin ID 409324

Description

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

- gorilla/schema converts structs to and from form values. Prior to version 1.4.1 Running
`schema.Decoder.Decode()` on a struct that has a field of type `[]struct{...}` opens it up to malicious
attacks regarding memory allocations, taking advantage of the sparse slice functionality. Any use of
`schema.Decoder.Decode()` on a struct with arrays of other structs could be vulnerable to this memory
exhaustion vulnerability. Version 1.4.1 contains a patch for the issue. (CVE-2024-37298)

See Also

https://github.com/advisories/GHSA-3669-72x9-r9p3

Plugin Details

Severity: High

ID: 409324

Version: Revision 1.4

Type: Local

Family: SCA Checks

Published: 1/23/2025

Updated: 7/2/2026

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

Risk Information

VPR

Risk Factor: Low

Score: 3

Percentile: 23.67

Vendor

Vendor Severity: High

CVSS v2

Risk Factor: High

Base Score: 7.8

Temporal Score: 5.8

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

CVSS Score Source: CVE-2024-37298

CVSS v3

Risk Factor: High

Base Score: 7.5

Temporal Score: 6.5

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

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

Vulnerability Information

Exploit Ease: No known exploits are available

Patch Publication Date: 7/1/2024

Vulnerability Publication Date: 7/1/2024

Reference Information

CVE: CVE-2024-37298

cwe: CWE-770