Debian DLA-2621-1 : php-pear security update

high Nessus Plugin ID 148416

Synopsis

The remote Debian host is missing a security update.

Description

A vulnerability was discovered in php-pear, which provides core packages from the PHP Extension and Application Repository. Tar.php in Archive_Tar allows write operations with Directory Traversal due to inadequate checking of symbolic links, a related issue to CVE-2020-28948. An attacker could escalate privileges by overwriting files outside the extraction directory through a crafted .tar archive.

For Debian 9 stretch, this problem has been fixed in version 1:1.10.1+submodules+notgz-9+deb9u3.

We recommend that you upgrade your php-pear packages.

For the detailed security status of php-pear please refer to its security tracker page at:
https://security-tracker.debian.org/tracker/php-pear

NOTE: Tenable Network Security has extracted the preceding description block directly from the DLA security advisory. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues.

Solution

Upgrade the affected php-pear package.

See Also

https://lists.debian.org/debian-lts-announce/2021/04/msg00007.html

https://packages.debian.org/source/stretch/php-pear

https://security-tracker.debian.org/tracker/source-package/php-pear

Plugin Details

Severity: High

ID: 148416

File Name: debian_DLA-2621.nasl

Version: 1.4

Type: local

Agent: unix

Published: 4/9/2021

Updated: 8/30/2022

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

Risk Information

VPR

Risk Factor: Medium

Score: 5.1

CVSS v2

Risk Factor: Medium

Base Score: 5

Temporal Score: 4.4

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

CVSS Score Source: CVE-2020-36193

CVSS v3

Risk Factor: High

Base Score: 7.5

Temporal Score: 7.2

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

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

Vulnerability Information

CPE: p-cpe:/a:debian:debian_linux:php-pear, cpe:/o:debian:debian_linux:9.0

Required KB Items: Host/local_checks_enabled, Host/Debian/release, Host/Debian/dpkg-l

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 4/8/2021

Vulnerability Publication Date: 1/18/2021

CISA Known Exploited Vulnerability Due Dates: 9/15/2022

Reference Information

CVE: CVE-2020-36193