Alpine: perl: security update to 5.22.3-r0

critical Tenable Self-Hosted Container Security Plugin ID 406265

Description

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

- (1) cpan/Archive-Tar/bin/ptar, (2) cpan/Archive-Tar/bin/ptardiff, (3) cpan/Archive-Tar/bin/ptargrep, (4)
cpan/CPAN/scripts/cpan, (5) cpan/Digest-SHA/shasum, (6) cpan/Encode/bin/enc2xs, (7)
cpan/Encode/bin/encguess, (8) cpan/Encode/bin/piconv, (9) cpan/Encode/bin/ucmlint, (10)
cpan/Encode/bin/unidump, (11) cpan/ExtUtils-MakeMaker/bin/instmodsh, (12) cpan/IO-Compress/bin/zipdetails,
(13) cpan/JSON-PP/bin/json_pp, (14) cpan/Test-Harness/bin/prove, (15) dist/ExtUtils-
ParseXS/lib/ExtUtils/xsubpp, (16) dist/Module-CoreList/corelist, (17) ext/Pod-Html/bin/pod2html, (18)
utils/c2ph.PL, (19) utils/h2ph.PL, (20) utils/h2xs.PL, (21) utils/libnetcfg.PL, (22) utils/perlbug.PL,
(23) utils/perldoc.PL, (24) utils/perlivp.PL, and (25) utils/splain.PL in Perl 5.x before 5.22.3-RC2 and
5.24 before 5.24.1-RC2 do not properly remove . (period) characters from the end of the includes directory
array, which might allow local users to gain privileges via a Trojan horse module under the current
working directory. (CVE-2016-1238)

- Heap-based buffer overflow in the S_regatom function in regcomp.c in Perl 5 before 5.24.3-RC1 and 5.26.x
before 5.26.1-RC1 allows remote attackers to cause a denial of service (out-of-bounds write) via a regular
expression with a '\N{}' escape and the case-insensitive modifier. (CVE-2017-12837)

- Buffer overflow in the S_grok_bslash_N function in regcomp.c in Perl 5 before 5.24.3-RC1 and 5.26.x before
5.26.1-RC1 allows remote attackers to disclose sensitive information or cause a denial of service
(application crash) via a crafted regular expression with an invalid '\N{U+...}' escape. (CVE-2017-12883)

See Also

https://security.alpinelinux.org/vuln/CVE-2016-1238

https://security.alpinelinux.org/vuln/CVE-2017-12837

https://security.alpinelinux.org/vuln/CVE-2017-12883

Plugin Details

Severity: Critical

ID: 406265

Version: Revision 1.27

Type: Local

Published: 10/31/2023

Updated: 6/23/2026

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

Risk Information

VPR

Risk Factor: Medium

Score: 6.9

Percentile: 97.35

CVSS v2

Risk Factor: High

Base Score: 7.2

Temporal Score: 5.3

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

CVSS Score Source: CVE-2016-1238

CVSS v3

Risk Factor: Critical

Base Score: 9.1

Temporal Score: 7.9

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

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

CVSS Score Source: CVE-2017-12883

Vulnerability Information

Exploit Ease: No known exploits are available

Vulnerability Publication Date: 7/26/2016

Reference Information

CVE: CVE-2016-1238, CVE-2017-12837, CVE-2017-12883

BID: 100852, 100860, 92136