Amazon Linux 2 : php-pear (ALAS-2021-1708)

high Nessus Plugin ID 153424


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


The version of php-pear installed on the remote host is prior to 1.10.12-9. It is, therefore, affected by multiple vulnerabilities as referenced in the ALAS2-2021-1708 advisory.

- Tar.php in Archive_Tar through 1.4.11 allows write operations with Directory Traversal due to inadequate checking of symbolic links, a related issue to CVE-2020-28948. (CVE-2020-36193)

- In Archive_Tar before 1.4.14, symlinks can refer to targets outside of the extracted archive, a different vulnerability than CVE-2020-36193. (CVE-2021-32610)

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


Run 'yum update php-pear' to update your system.

See Also

Plugin Details

Severity: High

ID: 153424

File Name: al2_ALAS-2021-1708.nasl

Version: 1.2

Type: local

Agent: unix

Published: 9/16/2021

Updated: 9/16/2021

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

Risk Information

CVSS Score Source: CVE-2020-36193


Risk Factor: Medium

Score: 6


Risk Factor: Medium

Base Score: 5

Temporal Score: 3.7

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

Temporal Vector: E:U/RL:OF/RC:C


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:H/A:N

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

Vulnerability Information

CPE: p-cpe:/a:amazon:linux:php-pear, 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: 9/8/2021

Vulnerability Publication Date: 1/18/2021

Reference Information

CVE: CVE-2020-36193, CVE-2021-32610

ALAS: 2021-1708