RHEL 6 : php-pear (RHSA-2011:1741)

low Nessus Plugin ID 57021

Synopsis

The remote Red Hat host is missing a security update.

Description

An updated php-pear package that fixes one security issue and multiple bugs is now available for Red Hat Enterprise Linux 6.

The Red Hat Security Response Team has rated this update as having low security impact. A Common Vulnerability Scoring System (CVSS) base score, which gives a detailed severity rating, is available from the CVE link in the References section.

The php-pear package contains the PHP Extension and Application Repository (PEAR), a framework and distribution system for reusable PHP components.

It was found that the 'pear' command created temporary files in an insecure way when installing packages. A malicious, local user could use this flaw to conduct a symbolic link attack, allowing them to overwrite the contents of arbitrary files accessible to the victim running the 'pear install' command. (CVE-2011-1072)

This update also fixes the following bugs :

* The php-pear package has been upgraded to version 1.9.4, which provides a number of bug fixes over the previous version. (BZ#651897)

* Prior to this update, php-pear created a cache in the '/var/cache/php-pear/' directory when attempting to list all packages.
As a consequence, php-pear failed to create or update the cache file as a regular user without sufficient file permissions and could not list all packages. With this update, php-pear no longer fails if writing to the cache directory is not permitted. Now, all packages are listed as expected. (BZ#747361)

All users of php-pear are advised to upgrade to this updated package, which corrects these issues.

Solution

Update the affected php-pear package.

See Also

https://access.redhat.com/security/cve/cve-2011-1072

https://access.redhat.com/errata/RHSA-2011:1741

Plugin Details

Severity: Low

ID: 57021

File Name: redhat-RHSA-2011-1741.nasl

Version: 1.17

Type: local

Agent: unix

Published: 12/6/2011

Updated: 1/14/2021

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

Risk Information

VPR

Risk Factor: Medium

Score: 4.4

CVSS v2

Risk Factor: Low

Base Score: 3.3

Temporal Score: 2.4

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

Vulnerability Information

CPE: p-cpe:/a:redhat:enterprise_linux:php-pear, cpe:/o:redhat:enterprise_linux:6

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

Exploit Ease: No known exploits are available

Patch Publication Date: 12/6/2011

Vulnerability Publication Date: 3/2/2011

Reference Information

CVE: CVE-2011-1072

BID: 46605

RHSA: 2011:1741