Advisory Published
Advisory Published

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

First published: Wed Nov 02 2022(Updated: )

The php-pear package contains the PHP Extension and Application Repository (PEAR), a framework and distribution system for reusable PHP components.<br>Security Fix(es):<br><li> Archive_Tar: allows an unserialization attack because phar: is blocked but PHAR: is not blocked (CVE-2020-28948)</li> <li> Archive_Tar: improper filename sanitization leads to file overwrites (CVE-2020-28949)</li> <li> Archive_Tar: directory traversal due to inadequate checking of symbolic links (CVE-2020-36193)</li> 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.

Affected SoftwareAffected VersionHow to fix
redhat/php-pear<1.9.4-23.el7_9
1.9.4-23.el7_9
redhat/php-pear<1.9.4-23.el7_9
1.9.4-23.el7_9

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is the severity of RHSA-2022:7340?

    RHSA-2022:7340 has been classified as a high severity vulnerability due to the potential for unserialization attacks.

  • What software is affected by RHSA-2022:7340?

    The vulnerability affects the php-pear package in versions prior to 1.9.4-23.el7_9.

  • How do I fix RHSA-2022:7340?

    To fix RHSA-2022:7340, you should update the php-pear package to version 1.9.4-23.el7_9 or later.

  • What type of attack does RHSA-2022:7340 allow?

    RHSA-2022:7340 allows for an unserialization attack due to the improper handling of PHAR files.

  • Is there a workaround for RHSA-2022:7340?

    There are currently no known workarounds for RHSA-2022:7340, so updating the package is the recommended approach.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203