Amazon Linux 2 : perl (ALAS-2021-1610)

high Nessus Plugin ID 146623

Synopsis

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

Description

The version of perl installed on the remote host is prior to 5.16.3-299. It is, therefore, affected by multiple vulnerabilities as referenced in the ALAS2-2021-1610 advisory.

- Perl before 5.30.3 on 32-bit platforms allows a heap-based buffer overflow because nested regular expression quantifiers have an integer overflow. (CVE-2020-10543)

- Perl before 5.30.3 has an integer overflow related to mishandling of a PL_regkind[OP(n)] == NOTHING situation. A crafted regular expression could lead to malformed bytecode with a possibility of instruction injection. (CVE-2020-10878)

- regcomp.c in Perl before 5.30.3 allows a buffer overflow via a crafted regular expression because of recursive S_study_chunk calls. (CVE-2020-12723)

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

Solution

Run 'yum update perl' to update your system.

See Also

https://alas.aws.amazon.com/AL2/ALAS-2021-1610.html

https://access.redhat.com/security/cve/CVE-2020-10543

https://access.redhat.com/security/cve/CVE-2020-10878

https://access.redhat.com/security/cve/CVE-2020-12723

Plugin Details

Severity: High

ID: 146623

File Name: al2_ALAS-2021-1610.nasl

Version: 1.3

Type: local

Agent: unix

Published: 2/19/2021

Updated: 12/5/2022

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

Risk Information

VPR

Risk Factor: Medium

Score: 4.7

CVSS v2

Risk Factor: High

Base Score: 7.5

Temporal Score: 5.5

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

CVSS Score Source: CVE-2020-10878

CVSS v3

Risk Factor: High

Base Score: 8.6

Temporal Score: 7.5

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

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

Vulnerability Information

CPE: p-cpe:/a:amazon:linux:perl, p-cpe:/a:amazon:linux:perl-cpan, p-cpe:/a:amazon:linux:perl-extutils-cbuilder, p-cpe:/a:amazon:linux:perl-extutils-embed, p-cpe:/a:amazon:linux:perl-extutils-install, p-cpe:/a:amazon:linux:perl-io-zlib, p-cpe:/a:amazon:linux:perl-locale-maketext-simple, p-cpe:/a:amazon:linux:perl-module-corelist, p-cpe:/a:amazon:linux:perl-module-loaded, p-cpe:/a:amazon:linux:perl-object-accessor, p-cpe:/a:amazon:linux:perl-package-constants, p-cpe:/a:amazon:linux:perl-pod-escapes, p-cpe:/a:amazon:linux:perl-time-piece, p-cpe:/a:amazon:linux:perl-core, p-cpe:/a:amazon:linux:perl-debuginfo, p-cpe:/a:amazon:linux:perl-devel, p-cpe:/a:amazon:linux:perl-libs, p-cpe:/a:amazon:linux:perl-macros, p-cpe:/a:amazon:linux:perl-tests, cpe:/o:amazon:linux:2

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

Exploit Ease: No known exploits are available

Patch Publication Date: 2/19/2021

Vulnerability Publication Date: 6/5/2020

Reference Information

CVE: CVE-2020-10543, CVE-2020-10878, CVE-2020-12723

ALAS: 2021-1610