Chainguard: multiple k3s-1.31 packages: security update to 1.31.6.1-r31

high Tenable Self-Hosted Container Security Plugin ID 480896

Description

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

- Building a malicious package that uses cgo could cause arbitrary code execution at build time through
several compiler and linker flags permitted in "#cgo" directives. Specifically, "--sysroot" in GCC and
Clang relocates compiler subprograms, spec files, and CRT startup objects to an attacker-controlled
directory; "-target" in Clang falls back to executing target helper tools from the current working
directory when not found in PATH; "-isysroot" and "-Wl,-syslibroot" can pass a regular file on disk to GNU
ld.bfd, which interprets it as a positional linker script; and "-x" permitted specifying arbitrary
compiler input languages beyond those supported by cgo. "--sysroot" and "-target" are now disallowed in
"#cgo" flags, "-isysroot" and "-Wl,-syslibroot" are verified not to point to regular files, and "-x" is
restricted to the C, C++, Objective-C, and assembler languages supported by cgo. (CVE-2026-97033)

Solution

Update the k3s-1.31 library and its related packages to version 1.31.6.1-r31 or later.

Plugin Details

Severity: High

ID: 480896

Version: Revision 1.1

Type: Local

Published: 11/20/2026

Updated: 11/20/2026

Risk Information

VPR

Risk Factor: Medium

Score: 4.9

Percentile: 58.54

CVSS v2

Risk Factor: Medium

Base Score: 4.4

Temporal Score: 3.3

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

CVSS Score Source: CVE-2026-97033

CVSS v3

Risk Factor: High

Base Score: 8.8

Temporal Score: 7.7

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:R/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: 11/11/2026

Reference Information

CVE: CVE-2026-97033