Alpine: miniperl, multiple perl packages: security update to 5.40.1-r1

high Tenable Cloud Security Plugin ID 424839

Description

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

- A heap buffer overflow vulnerability was discovered in Perl. Release branches 5.34, 5.36, 5.38 and 5.40
are affected, including development versions from 5.33.1 through 5.41.10. When there are non-ASCII bytes
in the left-hand-side of the `tr` operator, `S_do_trans_invmap` can overflow the destination pointer `d`.
$ perl -e '$_ = "\x{FF}" x 1000000; tr/\xFF/\x{100}/;' Segmentation fault (core dumped) It is believed
that this vulnerability can enable Denial of Service and possibly Code Execution attacks on platforms that
lack sufficient defenses. (CVE-2024-56406)

See Also

https://security.alpinelinux.org/vuln/CVE-2024-56406

Plugin Details

Severity: High

ID: 424839

Version: Revision 1.11

Type: Local

Published: 4/14/2025

Updated: 7/2/2026

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

Risk Information

VPR

Risk Factor: Medium

Score: 4.9

Percentile: 57.79

CVSS v2

Risk Factor: High

Base Score: 9

Temporal Score: 6.7

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

CVSS Score Source: CVE-2024-56406

CVSS v3

Risk Factor: High

Base Score: 8.4

Temporal Score: 7.3

Vector: CVSS:3.0/AV:L/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: 4/8/2025

Reference Information

CVE: CVE-2024-56406