Alpine: multiple ack packages: security update to 3.10.0-r0

high Tenable Cloud Security Plugin ID 482814

Description

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

- App::Ack versions through 3.10.0 for Perl print unsanitised terminal escape sequences from filenames in
several output modes. When ack prints a filename whose basename contains terminal control bytes such as
ANSI escape sequences, those bytes reach the terminal unchanged. Version 3.10.0 added a _safe_filename
helper that sanitises the filenames printed by -f, -g, the colored match heading, and per-match lines, but
the --show-types, -l/-L, and -c paths still emit the raw filename. A file whose name embeds cursor-
movement or color escapes can overwrite or recolor earlier terminal output, or be passed unchanged to a
downstream consumer. (CVE-2026-49147)

- App::Ack versions before 3.10.0 for Perl allow memory exhaustion via an unbounded context value in a
project .ackrc. ack searches up the directory hierarchy from the current directory for a project .ackrc
and loads its options. The -B and -C context options accepted any positive integer, and ack sized the
before-context buffer to that value, so a project .ackrc setting --before-context=100000000 made ack
allocate a buffer of 100 million elements. A project .ackrc committed to an untrusted repository can abort
ack with an out-of-memory condition. (CVE-2026-49146)

- App::Ack versions through 3.10.0 for Perl read arbitrary files via --files-from in a project .ackrc. ack
searches up the directory hierarchy from the current directory for a project .ackrc and loads its options.
The project-source option blocklist in App::Ack::ConfigLoader does not include --files-from, so a project
.ackrc can set it to a path whose listed files ack then reads and searches. Version 3.10.0 added --follow
to the blocklist; --files-from remains accepted. A project .ackrc committed to an untrusted repository can
make ack read files outside the project and print their matching lines. (CVE-2026-49145)

Solution

Update the ack library and its related packages to version 3.10.0-r0 or later.

See Also

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

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

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

Plugin Details

Severity: High

ID: 482814

Version: Revision 1.1

Type: Local

Published: 11/26/2026

Updated: 11/26/2026

Supported Sensors: Agentless Assessment

Risk Information

VPR

Risk Factor: Low

Score: 3

Percentile: 23.76

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-2026-49147

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

Vulnerability Publication Date: 6/10/2026

Reference Information

CVE: CVE-2026-49145, CVE-2026-49146, CVE-2026-49147