Amazon Linux 2023 : perl, perl-Attribute-Handlers, perl-AutoLoader (ALAS2023-2023-448)

critical Nessus Plugin ID 186976

Synopsis

The remote Amazon Linux 2023 host is missing a security update.

Description

It is, therefore, affected by multiple vulnerabilities as referenced in the ALAS2023-2023-448 advisory.

2024-02-01: CVE-2023-47100 was added to this advisory.

A crafted regular expression when compiled by perl 5.30.0 through 5.38.0 can cause a one-byte attacker controlled buffer overflow in a heap allocated buffer. (CVE-2023-47038)

In Perl before 5.38.2, S_parse_uniprop_string in regcomp.c can write to unallocated space because a property name associated with a \p{...} regular expression construct is mishandled. The earliest affected version is 5.30.0. (CVE-2023-47100)

Tenable has extracted the preceding description block directly from the tested product security advisory.

Note that Nessus has not tested for these issues but has instead relied only on the application's self-reported version number.

Solution

Run 'dnf update perl --releasever 2023.3.20231211' to update your system.

See Also

https://alas.aws.amazon.com/AL2023/ALAS-2023-448.html

https://alas.aws.amazon.com/faqs.html

https://alas.aws.amazon.com/cve/html/CVE-2023-47038.html

https://alas.aws.amazon.com/cve/html/CVE-2023-47100.html

Plugin Details

Severity: Critical

ID: 186976

File Name: al2023_ALAS2023-2023-448.nasl

Version: 1.4

Type: local

Agent: unix

Published: 12/15/2023

Updated: 12/11/2024

Supported Sensors: Agentless Assessment, Continuous Assessment, Frictionless Assessment Agent, Frictionless Assessment AWS, Nessus Agent, Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 5.9

CVSS v2

Risk Factor: Critical

Base Score: 10

Temporal Score: 7.4

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

CVSS Score Source: CVE-2023-47100

CVSS v3

Risk Factor: Critical

Base Score: 9.8

Temporal Score: 8.5

Vector: CVSS:3.0/AV:N/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

CPE: p-cpe:/a:amazon:linux:perl-file-compare, p-cpe:/a:amazon:linux:perl-extutils-embed, p-cpe:/a:amazon:linux:perl-meta-notation, p-cpe:/a:amazon:linux:perl-b-debuginfo, p-cpe:/a:amazon:linux:perl-less, p-cpe:/a:amazon:linux:perl-subs, p-cpe:/a:amazon:linux:perl-memoize, p-cpe:/a:amazon:linux:perl-encoding-warnings, p-cpe:/a:amazon:linux:perl-autouse, p-cpe:/a:amazon:linux:perl-macros, p-cpe:/a:amazon:linux:perl-devel-peek, p-cpe:/a:amazon:linux:perl-devel-peek-debuginfo, p-cpe:/a:amazon:linux:perl-interpreter-debuginfo, p-cpe:/a:amazon:linux:perl-fcntl, p-cpe:/a:amazon:linux:perl-filecache, p-cpe:/a:amazon:linux:perl-doc, p-cpe:/a:amazon:linux:perl-i18n-collate, p-cpe:/a:amazon:linux:perl-dirhandle, p-cpe:/a:amazon:linux:perl-file-find, p-cpe:/a:amazon:linux:perl-odbm_file, p-cpe:/a:amazon:linux:perl-dumpvalue, p-cpe:/a:amazon:linux:perl-i18n-langinfo-debuginfo, p-cpe:/a:amazon:linux:perl-ndbm_file-debuginfo, p-cpe:/a:amazon:linux:perl-getopt-std, p-cpe:/a:amazon:linux:perl-pod-functions, p-cpe:/a:amazon:linux:perl-file-dosglob-debuginfo, p-cpe:/a:amazon:linux:perl-i18n-langinfo, p-cpe:/a:amazon:linux:perl-gdbm_file-debuginfo, p-cpe:/a:amazon:linux:perl-sys-hostname-debuginfo, p-cpe:/a:amazon:linux:perl-blib, p-cpe:/a:amazon:linux:perl-errno, p-cpe:/a:amazon:linux:perl-gdbm_file, p-cpe:/a:amazon:linux:perl-thread-semaphore, p-cpe:/a:amazon:linux:perl-config-extensions, p-cpe:/a:amazon:linux:perl-english, p-cpe:/a:amazon:linux:perl-dbm_filter, p-cpe:/a:amazon:linux:perl-locale-maketext-simple, p-cpe:/a:amazon:linux:perl-opcode, p-cpe:/a:amazon:linux:perl-file-basename, p-cpe:/a:amazon:linux:perl-term-complete, p-cpe:/a:amazon:linux:perl-io-debuginfo, p-cpe:/a:amazon:linux:perl-symbol, p-cpe:/a:amazon:linux:perl-file-dosglob, p-cpe:/a:amazon:linux:perl-debugger, p-cpe:/a:amazon:linux:perl-file-stat, p-cpe:/a:amazon:linux:perl-class-struct, p-cpe:/a:amazon:linux:perl-hash-util-fieldhash-debuginfo, p-cpe:/a:amazon:linux:perl-io, p-cpe:/a:amazon:linux:perl-pod-html, p-cpe:/a:amazon:linux:perl-search-dict, p-cpe:/a:amazon:linux:perl-tie, p-cpe:/a:amazon:linux:perl-lib, p-cpe:/a:amazon:linux:perl-locale, p-cpe:/a:amazon:linux:perl-time-piece-debuginfo, p-cpe:/a:amazon:linux:perl-autosplit, p-cpe:/a:amazon:linux:perl-opcode-debuginfo, p-cpe:/a:amazon:linux:perl-term-readline, p-cpe:/a:amazon:linux:perl-tie-memoize, p-cpe:/a:amazon:linux:perl-sort, p-cpe:/a:amazon:linux:perl-sigtrap, p-cpe:/a:amazon:linux:perl-selectsaver, p-cpe:/a:amazon:linux:perl-ndbm_file, p-cpe:/a:amazon:linux:perl-thread, p-cpe:/a:amazon:linux:perl-text-abbrev, p-cpe:/a:amazon:linux:perl-safe, p-cpe:/a:amazon:linux:perl-autoloader, p-cpe:/a:amazon:linux:perl-b, p-cpe:/a:amazon:linux:perl-time-piece, p-cpe:/a:amazon:linux:perl-mro, p-cpe:/a:amazon:linux:perl-mro-debuginfo, p-cpe:/a:amazon:linux:perl-extutils-miniperl, p-cpe:/a:amazon:linux:perl-libnetcfg, p-cpe:/a:amazon:linux:perl-test, p-cpe:/a:amazon:linux:perl-hash-util-fieldhash, p-cpe:/a:amazon:linux:perl-net, p-cpe:/a:amazon:linux:perl-debuginfo, p-cpe:/a:amazon:linux:perl, p-cpe:/a:amazon:linux:perl-if, p-cpe:/a:amazon:linux:perl-open, p-cpe:/a:amazon:linux:perl-sys-hostname, cpe:/o:amazon:linux:2023, p-cpe:/a:amazon:linux:perl-tie-file, p-cpe:/a:amazon:linux:perl-interpreter, p-cpe:/a:amazon:linux:perl-overload, p-cpe:/a:amazon:linux:perl-ipc-open3, p-cpe:/a:amazon:linux:perl-utils, p-cpe:/a:amazon:linux:perl-findbin, p-cpe:/a:amazon:linux:perl-user-pwent, p-cpe:/a:amazon:linux:perl-odbm_file-debuginfo, p-cpe:/a:amazon:linux:perl-module-loaded, p-cpe:/a:amazon:linux:perl-next, p-cpe:/a:amazon:linux:perl-vmsish, p-cpe:/a:amazon:linux:perl-filetest, p-cpe:/a:amazon:linux:perl-debugsource, p-cpe:/a:amazon:linux:perl-devel-selfstubber, p-cpe:/a:amazon:linux:perl-devel, p-cpe:/a:amazon:linux:perl-posix, p-cpe:/a:amazon:linux:perl-unicode-ucd, p-cpe:/a:amazon:linux:perl-base, p-cpe:/a:amazon:linux:perl-benchmark, p-cpe:/a:amazon:linux:perl-ph, p-cpe:/a:amazon:linux:perl-math-complex, p-cpe:/a:amazon:linux:perl-posix-debuginfo, p-cpe:/a:amazon:linux:perl-i18n-langtags, p-cpe:/a:amazon:linux:perl-file-copy, p-cpe:/a:amazon:linux:perl-dynaloader, p-cpe:/a:amazon:linux:perl-libs, p-cpe:/a:amazon:linux:perl-extutils-constant, p-cpe:/a:amazon:linux:perl-deprecate, p-cpe:/a:amazon:linux:perl-vars, p-cpe:/a:amazon:linux:perl-filehandle, p-cpe:/a:amazon:linux:perl-fields, p-cpe:/a:amazon:linux:perl-fcntl-debuginfo, p-cpe:/a:amazon:linux:perl-selfloader, p-cpe:/a:amazon:linux:perl-hash-util-debuginfo, p-cpe:/a:amazon:linux:perl-diagnostics, p-cpe:/a:amazon:linux:perl-libs-debuginfo, p-cpe:/a:amazon:linux:perl-time, p-cpe:/a:amazon:linux:perl-tests, p-cpe:/a:amazon:linux:perl-overloading, p-cpe:/a:amazon:linux:perl-attribute-handlers, p-cpe:/a:amazon:linux:perl-hash-util

Required KB Items: Host/local_checks_enabled, Host/AmazonLinux/release, Host/AmazonLinux/rpm-list

Exploit Ease: No known exploits are available

Patch Publication Date: 12/6/2023

Vulnerability Publication Date: 11/30/2023

Reference Information

CVE: CVE-2023-47038, CVE-2023-47100