Red Hat 9062 Published by

A php-pear security update has been released for Red Hat Enterprise Linux 7.



RHSA-2022:7340-01: Moderate: php-pear security update



=====================================================================
Red Hat Security Advisory

Synopsis: Moderate: php-pear security update
Advisory ID: RHSA-2022:7340-01
Product: Red Hat Enterprise Linux
Advisory URL:   https://access.redhat.com/errata/RHSA-2022:7340
Issue date: 2022-11-02
CVE Names: CVE-2020-28948 CVE-2020-28949 CVE-2020-36193
=====================================================================

1. Summary:

An update for php-pear is now available for Red Hat Enterprise Linux 7.

Red Hat Product Security has rated this update as having a security impact
of Moderate. A Common Vulnerability Scoring System (CVSS) base score, which
gives a detailed severity rating, is available for each vulnerability from
the CVE link(s) in the References section.

2. Relevant releases/architectures:

Red Hat Enterprise Linux Server (v. 7) - noarch
Red Hat Enterprise Linux Workstation (v. 7) - noarch

3. Description:

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

Security Fix(es):

* Archive_Tar: allows an unserialization attack because phar: is blocked
but PHAR: is not blocked (CVE-2020-28948)

* Archive_Tar: improper filename sanitization leads to file overwrites
(CVE-2020-28949)

* Archive_Tar: directory traversal due to inadequate checking of symbolic
links (CVE-2020-36193)

For more details about the security issue(s), including the impact, a CVSS
score, acknowledgments, and other related information, refer to the CVE
page(s) listed in the References section.

4. Solution:

For details on how to apply this update, which includes the changes
described in this advisory, refer to:

  https://access.redhat.com/articles/11258

After installing the updated packages, the httpd daemon must be restarted
for the update to take effect.

5. Bugs fixed (  https://bugzilla.redhat.com/):

1904001 - CVE-2020-28948 Archive_Tar: allows an unserialization attack because phar: is blocked but PHAR: is not blocked
1910323 - CVE-2020-28949 Archive_Tar: improper filename sanitization leads to file overwrites
1942961 - CVE-2020-36193 Archive_Tar: directory traversal due to inadequate checking of symbolic links

6. Package List:

Red Hat Enterprise Linux Server (v. 7):

Source:
php-pear-1.9.4-23.el7_9.src.rpm

noarch:
php-pear-1.9.4-23.el7_9.noarch.rpm

Red Hat Enterprise Linux Workstation (v. 7):

Source:
php-pear-1.9.4-23.el7_9.src.rpm

noarch:
php-pear-1.9.4-23.el7_9.noarch.rpm

These packages are GPG signed by Red Hat for security. Our key and
details on how to verify the signature are available from
  https://access.redhat.com/security/team/key/

7. References:

  https://access.redhat.com/security/cve/CVE-2020-28948
  https://access.redhat.com/security/cve/CVE-2020-28949
  https://access.redhat.com/security/cve/CVE-2020-36193
  https://access.redhat.com/security/updates/classification/#moderate

8. Contact:

The Red Hat security contact is . More contact
details at   https://access.redhat.com/security/team/contact/

Copyright 2022 Red Hat, Inc.