Golang: stdlib: security update to 1.21.8stdlib: security update to 1.22.1

medium Tenable Self-Hosted Container Security Plugin ID 428482

Description

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

- If errors returned from MarshalJSON methods contain user controlled data, they may be used to break the
contextual auto-escaping behavior of the html/template package, allowing for subsequent actions to inject
unexpected content into templates. (CVE-2024-24785)

See Also

https://pkg.go.dev/vuln/GO-2024-2610

Plugin Details

Severity: Medium

ID: 428482

Version: Revision 1.4

Type: Local

Family: Golang

Published: 7/21/2025

Updated: 6/1/2026

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

Risk Information

VPR

Risk Factor: Low

Score: 2.1

Percentile: 6.91

CVSS v2

Risk Factor: High

Base Score: 7.8

Temporal Score: 5.8

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

CVSS Score Source: CVE-2024-24785

CVSS v3

Risk Factor: Medium

Base Score: 5.4

Temporal Score: 4.7

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

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

Vulnerability Information

Exploit Ease: No known exploits are available

Patch Publication Date: 3/5/2024

Vulnerability Publication Date: 3/5/2024

Reference Information

CVE: CVE-2024-24785