Alpine: multiple dasel packages: security update to 3.11.2-r0

medium Tenable Self-Hosted Container Security Plugin ID 499201

Description

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

- Dasel is a command-line tool and library for querying, modifying, and transforming data structures.
Starting in version 3.0.0 and prior to version 3.3.1, Dasel's YAML reader allows an attacker who can
supply YAML for processing to trigger extreme CPU and memory consumption. The issue is in the library's
own `UnmarshalYAML` implementation, which manually resolves alias nodes by recursively following
`yaml.Node.Alias` pointers without any expansion budget, bypassing go-yaml v4's built-in alias expansion
limit. Version 3.3.2 contains a patch for the issue. (CVE-2026-33320)

- Dasel is a command-line tool and library for querying, modifying, and transforming data structures. From
3.0.0 until 3.11.1, parsing/json/json_reader.go decodeValue, decodeObject, and decodeArray, and
parsing/xml/reader.go parseElement, recurse once per input nesting level without a depth guard. Deeply
nested attacker-controlled JSON or XML supplied through parsing.Format(...).NewReader(...).Read(data), the
command-line interface, or the parse selector function can exhaust the Go goroutine stack and raise an
unrecoverable fatal error that terminates the entire process. The XML input-size limit does not prevent
depth exhaustion, and defer or recover cannot intercept the failure. This issue is fixed in version
3.11.1. (CVE-2026-59168)

- Dasel is a command-line tool and library for querying, modifying, and transforming data structures. From
3.0.0 until 3.10.1, the selector lexer matchRegexPattern closure in (*Tokenizer).parseCurRune in
selector/lexer/tokenize.go loops while tokenizing an unterminated regex literal such as r/ because
peekRuneEqual returns false after the end of input, allowing attacker-controlled selector strings to
consume CPU indefinitely. This issue is fixed in version 3.10.1. (CVE-2026-46378)

- Dasel is a command-line tool and library for querying, modifying, and transforming data structures. From
3.0.0 until 3.11.2, selector/lexer/tokenize.go parseCurRune advances the input index across trailing
whitespace and then reads the source at the exhausted index without an end-of-input check. A selector
ending in whitespace, including input passed through lexer.NewTokenizer(...).Tokenize() or dasel.Query,
can therefore cause an index-out-of-range panic and terminate the process. This issue is fixed in version
3.11.2. (CVE-2026-62866)

- Dasel is a command-line tool and library for querying, modifying, and transforming data structures. From
3.0.0 until 3.10.1, the escape sequence handler in (*Tokenizer).parseCurRune in selector/lexer/tokenize.go
increments past a trailing backslash in a quoted string such as "\ or '\ and then reads p.src[pos] without
a bounds check, allowing attacker-controlled selector strings to trigger a Go index-out-of-range panic.
This issue is fixed in version 3.10.1. (CVE-2026-46377)

Solution

Update the dasel library and its related packages to version 3.11.2-r0 or later.

See Also

https://security.alpinelinux.org/vuln/CVE-2026-33320

https://security.alpinelinux.org/vuln/CVE-2026-46377

https://security.alpinelinux.org/vuln/CVE-2026-46378

https://security.alpinelinux.org/vuln/CVE-2026-59168

https://security.alpinelinux.org/vuln/CVE-2026-62866

Plugin Details

Severity: Medium

ID: 499201

Version: Revision 1.1

Type: Local

Published: 12/4/2026

Updated: 12/4/2026

Supported Sensors: Agentless Assessment

Risk Information

VPR

Risk Factor: Low

Score: 3

Percentile: 23.52

CVSS v2

Risk Factor: High

Base Score: 7.8

Temporal Score: 6.1

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

CVSS Score Source: CVE-2026-46377

CVSS v3

Risk Factor: Medium

Base Score: 6.2

Temporal Score: 5.6

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

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

CVSS Score Source: CVE-2026-62866

Vulnerability Information

Exploit Available: true

Exploit Ease: Exploits are available

Vulnerability Publication Date: 3/19/2026

Reference Information

CVE: CVE-2026-33320, CVE-2026-46377, CVE-2026-46378, CVE-2026-59168, CVE-2026-62866