Alpine: multiple go packages: security update to 1.21.1-r0

critical Tenable Cloud Security Plugin ID 426961

Description

There are packages installed that are affected by multiple vulnerabilities referenced in the following CVEs:

- The html/template package does not properly handle HTML-like "" comment tokens, nor hashbang "#!" comment
tokens, in <script> contexts. This may cause the template parser to improperly interpret the contents of
<script> contexts, causing actions to be improperly escaped. This may be leveraged to perform an XSS
attack. (CVE-2023-39318)

- The html/template package does not apply the proper rules for handling occurrences of "<script", "<!--",
and "</script" within JS literals in <script> contexts. This may cause the template parser to improperly
consider script contexts to be terminated early, causing actions to be improperly escaped. This could be
leveraged to perform an XSS attack. (CVE-2023-39319)

- The go.mod toolchain directive, introduced in Go 1.21, can be leveraged to execute scripts and binaries
relative to the root of the module when the "go" command was executed within the module. This applies to
modules downloaded using the "go" command from the module proxy, as well as modules downloaded directly
using VCS software. (CVE-2023-39320)

- Processing an incomplete post-handshake message for a QUIC connection can cause a panic. (CVE-2023-39321)

- QUIC connections do not set an upper bound on the amount of data buffered when reading post-handshake
messages, allowing a malicious QUIC connection to cause unbounded memory growth. With fix, connections now
consistently reject messages larger than 65KiB in size. (CVE-2023-39322)

See Also

https://security.alpinelinux.org/vuln/CVE-2023-39318

https://security.alpinelinux.org/vuln/CVE-2023-39319

https://security.alpinelinux.org/vuln/CVE-2023-39320

https://security.alpinelinux.org/vuln/CVE-2023-39321

https://security.alpinelinux.org/vuln/CVE-2023-39322

Plugin Details

Severity: Critical

ID: 426961

Version: Revision 1.4

Type: Local

Published: 5/16/2025

Updated: 10/30/2025

Supported Sensors: Agentless Assessment

Risk Information

VPR

Risk Factor: Medium

Score: 6.9

Percentile: 97.07

CVSS v2

Risk Factor: Critical

Base Score: 10

Temporal Score: 7.4

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

CVSS Score Source: CVE-2023-39320

CVSS v3

Risk Factor: Critical

Base Score: 9.8

Temporal Score: 8.5

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

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

Vulnerability Information

Exploit Ease: No known exploits are available

Vulnerability Publication Date: 9/7/2023

Reference Information

CVE: CVE-2023-39318, CVE-2023-39319, CVE-2023-39320, CVE-2023-39321, CVE-2023-39322

IAVB: 2023-B-0068-S, 2023-B-0080-S