Red Hat Security Advisory 2022-7340-01

—–BEGIN PGP SIGNED MESSAGE—–
Hash: SHA256

====================================================================
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 <secalert@redhat.com>. More contact
details at https://access.redhat.com/security/team/contact/

Copyright 2022 Red Hat, Inc.
—–BEGIN PGP SIGNATURE—–
Version: GnuPG v1

iQIVAwUBY2K9M9zjgjWX9erEAQhf7g//SrEF1zLnoF6ccPz+hpKf5ujlqkfF8w1g
L6o3Wslzsg3RM32mwzlp5HNFslSrYT/KL452F4tcethaOdLmXMuRhDo3iRVSjIg+
R8bohcbIygb61o4kisztT6K8EdhVSwalRC5QBeYrhtaDZ+iMAvNEsQ63i94dCLUo
87yC+z15zPb7lOZyg6iYVvu7rG9Kkj2s742Ul0ktGQbuBLQBxzhjeOwiPUwv2aWE
/0pAzF0QqzZba1wxEpuc5DC4ZSXBqSgPRKagiS2bDeX7jcx+IIQcQLW/RZ3ArpmF
/D0AAz/FatynCL/aB3VrepMhZN34N1HgpLUjqc6mHUP0+VxfqjiWA4t7n/39plg6
JJiq+293JHkSG7a8P5PbsSuOIK8v2YalztxhQLGEvtzohWkOcAoF3PaYvzuE0cbb
B4Ik5gGK+u2I4ruTqYrePlvY81Y09pkhg7lRmH+LLpx2jDOhsPodDlyRnNRnGDbI
edWNrOGL95SFIfPG5TCf3VmDResHiDz4qKkonzsdRGehkPJly8/95JD/naSelgmJ
e3ScLqEgSx3QE7zKz3RvK96oilulJbZVZqndKDVhEZ54f9cskhojR5Ej1w4o6Iv0
SUMAIgObMDhvVwqlrZI5Fvo7dpDVTSKSvtEVzU59Dc7xpt4TbMpp2u/9aBOmy4Zg
5tiMcbUOMb8=Yyw2
—–END PGP SIGNATURE—–

RHSA-announce mailing list
RHSA-announce@redhat.com
https://listman.redhat.com/mailman/listinfo/rhsa-announce