A php security update has been released for Red Hat Enterprise Linux 9.
RHSA-2023:0965-01: Moderate: php security update
=====================================================================
Red Hat Security Advisory
Synopsis: Moderate: php security update
Advisory ID: RHSA-2023:0965-01
Product: Red Hat Enterprise Linux
Advisory URL: https://access.redhat.com/errata/RHSA-2023:0965
Issue date: 2023-02-28
CVE Names: CVE-2022-31628 CVE-2022-31629 CVE-2022-31630
CVE-2022-31631 CVE-2022-37454
=====================================================================
1. Summary:
An update for php is now available for Red Hat Enterprise Linux 9.
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 AppStream (v. 9) - aarch64, ppc64le, s390x, x86_64
3. Description:
PHP is an HTML-embedded scripting language commonly used with the Apache
HTTP Server.
The following packages have been upgraded to a later upstream version: php
(8.0.27). (BZ#2161667)
Security Fix(es):
* XKCP: buffer overflow in the SHA-3 reference implementation
(CVE-2022-37454)
* php: standard insecure cookie could be treated as a `__Host-` or
`__Secure-` cookie by PHP applications (CVE-2022-31629)
* php: OOB read due to insufficient input validation in imageloadfont()
(CVE-2022-31630)
* php: Due to an integer overflow PDO::quote() may return unquoted string
(CVE-2022-31631)
* php: phar wrapper can occur dos when using quine gzip file
(CVE-2022-31628)
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/):
2133687 - CVE-2022-31629 php: standard insecure cookie could be treated as a '__Host-' or '__Secure-' cookie by PHP applications
2133688 - CVE-2022-31628 php: phar: infinite loop when decompressing quine gzip file
2139280 - CVE-2022-31630 php: OOB read due to insufficient input validation in imageloadfont()
2140200 - CVE-2022-37454 XKCP: buffer overflow in the SHA-3 reference implementation
2158791 - CVE-2022-31631 php: PDO::quote() may return unquoted string due to an integer overflow
6. Package List:
Red Hat Enterprise Linux AppStream (v. 9):
Source:
php-8.0.27-1.el9_1.src.rpm
aarch64:
php-8.0.27-1.el9_1.aarch64.rpm
php-bcmath-8.0.27-1.el9_1.aarch64.rpm
php-bcmath-debuginfo-8.0.27-1.el9_1.aarch64.rpm
php-cli-8.0.27-1.el9_1.aarch64.rpm
php-cli-debuginfo-8.0.27-1.el9_1.aarch64.rpm
php-common-8.0.27-1.el9_1.aarch64.rpm
php-common-debuginfo-8.0.27-1.el9_1.aarch64.rpm
php-dba-8.0.27-1.el9_1.aarch64.rpm
php-dba-debuginfo-8.0.27-1.el9_1.aarch64.rpm
php-dbg-8.0.27-1.el9_1.aarch64.rpm
php-dbg-debuginfo-8.0.27-1.el9_1.aarch64.rpm
php-debuginfo-8.0.27-1.el9_1.aarch64.rpm
php-debugsource-8.0.27-1.el9_1.aarch64.rpm
php-devel-8.0.27-1.el9_1.aarch64.rpm
php-embedded-8.0.27-1.el9_1.aarch64.rpm
php-embedded-debuginfo-8.0.27-1.el9_1.aarch64.rpm
php-enchant-8.0.27-1.el9_1.aarch64.rpm
php-enchant-debuginfo-8.0.27-1.el9_1.aarch64.rpm
php-ffi-8.0.27-1.el9_1.aarch64.rpm
php-ffi-debuginfo-8.0.27-1.el9_1.aarch64.rpm
php-fpm-8.0.27-1.el9_1.aarch64.rpm
php-fpm-debuginfo-8.0.27-1.el9_1.aarch64.rpm
php-gd-8.0.27-1.el9_1.aarch64.rpm
php-gd-debuginfo-8.0.27-1.el9_1.aarch64.rpm
php-gmp-8.0.27-1.el9_1.aarch64.rpm
php-gmp-debuginfo-8.0.27-1.el9_1.aarch64.rpm
php-intl-8.0.27-1.el9_1.aarch64.rpm
php-intl-debuginfo-8.0.27-1.el9_1.aarch64.rpm
php-ldap-8.0.27-1.el9_1.aarch64.rpm
php-ldap-debuginfo-8.0.27-1.el9_1.aarch64.rpm
php-mbstring-8.0.27-1.el9_1.aarch64.rpm
php-mbstring-debuginfo-8.0.27-1.el9_1.aarch64.rpm
php-mysqlnd-8.0.27-1.el9_1.aarch64.rpm
php-mysqlnd-debuginfo-8.0.27-1.el9_1.aarch64.rpm
php-odbc-8.0.27-1.el9_1.aarch64.rpm
php-odbc-debuginfo-8.0.27-1.el9_1.aarch64.rpm
php-opcache-8.0.27-1.el9_1.aarch64.rpm
php-opcache-debuginfo-8.0.27-1.el9_1.aarch64.rpm
php-pdo-8.0.27-1.el9_1.aarch64.rpm
php-pdo-debuginfo-8.0.27-1.el9_1.aarch64.rpm
php-pgsql-8.0.27-1.el9_1.aarch64.rpm
php-pgsql-debuginfo-8.0.27-1.el9_1.aarch64.rpm
php-process-8.0.27-1.el9_1.aarch64.rpm
php-process-debuginfo-8.0.27-1.el9_1.aarch64.rpm
php-snmp-8.0.27-1.el9_1.aarch64.rpm
php-snmp-debuginfo-8.0.27-1.el9_1.aarch64.rpm
php-soap-8.0.27-1.el9_1.aarch64.rpm
php-soap-debuginfo-8.0.27-1.el9_1.aarch64.rpm
php-xml-8.0.27-1.el9_1.aarch64.rpm
php-xml-debuginfo-8.0.27-1.el9_1.aarch64.rpm
ppc64le:
php-8.0.27-1.el9_1.ppc64le.rpm
php-bcmath-8.0.27-1.el9_1.ppc64le.rpm
php-bcmath-debuginfo-8.0.27-1.el9_1.ppc64le.rpm
php-cli-8.0.27-1.el9_1.ppc64le.rpm
php-cli-debuginfo-8.0.27-1.el9_1.ppc64le.rpm
php-common-8.0.27-1.el9_1.ppc64le.rpm
php-common-debuginfo-8.0.27-1.el9_1.ppc64le.rpm
php-dba-8.0.27-1.el9_1.ppc64le.rpm
php-dba-debuginfo-8.0.27-1.el9_1.ppc64le.rpm
php-dbg-8.0.27-1.el9_1.ppc64le.rpm
php-dbg-debuginfo-8.0.27-1.el9_1.ppc64le.rpm
php-debuginfo-8.0.27-1.el9_1.ppc64le.rpm
php-debugsource-8.0.27-1.el9_1.ppc64le.rpm
php-devel-8.0.27-1.el9_1.ppc64le.rpm
php-embedded-8.0.27-1.el9_1.ppc64le.rpm
php-embedded-debuginfo-8.0.27-1.el9_1.ppc64le.rpm
php-enchant-8.0.27-1.el9_1.ppc64le.rpm
php-enchant-debuginfo-8.0.27-1.el9_1.ppc64le.rpm
php-ffi-8.0.27-1.el9_1.ppc64le.rpm
php-ffi-debuginfo-8.0.27-1.el9_1.ppc64le.rpm
php-fpm-8.0.27-1.el9_1.ppc64le.rpm
php-fpm-debuginfo-8.0.27-1.el9_1.ppc64le.rpm
php-gd-8.0.27-1.el9_1.ppc64le.rpm
php-gd-debuginfo-8.0.27-1.el9_1.ppc64le.rpm
php-gmp-8.0.27-1.el9_1.ppc64le.rpm
php-gmp-debuginfo-8.0.27-1.el9_1.ppc64le.rpm
php-intl-8.0.27-1.el9_1.ppc64le.rpm
php-intl-debuginfo-8.0.27-1.el9_1.ppc64le.rpm
php-ldap-8.0.27-1.el9_1.ppc64le.rpm
php-ldap-debuginfo-8.0.27-1.el9_1.ppc64le.rpm
php-mbstring-8.0.27-1.el9_1.ppc64le.rpm
php-mbstring-debuginfo-8.0.27-1.el9_1.ppc64le.rpm
php-mysqlnd-8.0.27-1.el9_1.ppc64le.rpm
php-mysqlnd-debuginfo-8.0.27-1.el9_1.ppc64le.rpm
php-odbc-8.0.27-1.el9_1.ppc64le.rpm
php-odbc-debuginfo-8.0.27-1.el9_1.ppc64le.rpm
php-opcache-8.0.27-1.el9_1.ppc64le.rpm
php-opcache-debuginfo-8.0.27-1.el9_1.ppc64le.rpm
php-pdo-8.0.27-1.el9_1.ppc64le.rpm
php-pdo-debuginfo-8.0.27-1.el9_1.ppc64le.rpm
php-pgsql-8.0.27-1.el9_1.ppc64le.rpm
php-pgsql-debuginfo-8.0.27-1.el9_1.ppc64le.rpm
php-process-8.0.27-1.el9_1.ppc64le.rpm
php-process-debuginfo-8.0.27-1.el9_1.ppc64le.rpm
php-snmp-8.0.27-1.el9_1.ppc64le.rpm
php-snmp-debuginfo-8.0.27-1.el9_1.ppc64le.rpm
php-soap-8.0.27-1.el9_1.ppc64le.rpm
php-soap-debuginfo-8.0.27-1.el9_1.ppc64le.rpm
php-xml-8.0.27-1.el9_1.ppc64le.rpm
php-xml-debuginfo-8.0.27-1.el9_1.ppc64le.rpm
s390x:
php-8.0.27-1.el9_1.s390x.rpm
php-bcmath-8.0.27-1.el9_1.s390x.rpm
php-bcmath-debuginfo-8.0.27-1.el9_1.s390x.rpm
php-cli-8.0.27-1.el9_1.s390x.rpm
php-cli-debuginfo-8.0.27-1.el9_1.s390x.rpm
php-common-8.0.27-1.el9_1.s390x.rpm
php-common-debuginfo-8.0.27-1.el9_1.s390x.rpm
php-dba-8.0.27-1.el9_1.s390x.rpm
php-dba-debuginfo-8.0.27-1.el9_1.s390x.rpm
php-dbg-8.0.27-1.el9_1.s390x.rpm
php-dbg-debuginfo-8.0.27-1.el9_1.s390x.rpm
php-debuginfo-8.0.27-1.el9_1.s390x.rpm
php-debugsource-8.0.27-1.el9_1.s390x.rpm
php-devel-8.0.27-1.el9_1.s390x.rpm
php-embedded-8.0.27-1.el9_1.s390x.rpm
php-embedded-debuginfo-8.0.27-1.el9_1.s390x.rpm
php-enchant-8.0.27-1.el9_1.s390x.rpm
php-enchant-debuginfo-8.0.27-1.el9_1.s390x.rpm
php-ffi-8.0.27-1.el9_1.s390x.rpm
php-ffi-debuginfo-8.0.27-1.el9_1.s390x.rpm
php-fpm-8.0.27-1.el9_1.s390x.rpm
php-fpm-debuginfo-8.0.27-1.el9_1.s390x.rpm
php-gd-8.0.27-1.el9_1.s390x.rpm
php-gd-debuginfo-8.0.27-1.el9_1.s390x.rpm
php-gmp-8.0.27-1.el9_1.s390x.rpm
php-gmp-debuginfo-8.0.27-1.el9_1.s390x.rpm
php-intl-8.0.27-1.el9_1.s390x.rpm
php-intl-debuginfo-8.0.27-1.el9_1.s390x.rpm
php-ldap-8.0.27-1.el9_1.s390x.rpm
php-ldap-debuginfo-8.0.27-1.el9_1.s390x.rpm
php-mbstring-8.0.27-1.el9_1.s390x.rpm
php-mbstring-debuginfo-8.0.27-1.el9_1.s390x.rpm
php-mysqlnd-8.0.27-1.el9_1.s390x.rpm
php-mysqlnd-debuginfo-8.0.27-1.el9_1.s390x.rpm
php-odbc-8.0.27-1.el9_1.s390x.rpm
php-odbc-debuginfo-8.0.27-1.el9_1.s390x.rpm
php-opcache-8.0.27-1.el9_1.s390x.rpm
php-opcache-debuginfo-8.0.27-1.el9_1.s390x.rpm
php-pdo-8.0.27-1.el9_1.s390x.rpm
php-pdo-debuginfo-8.0.27-1.el9_1.s390x.rpm
php-pgsql-8.0.27-1.el9_1.s390x.rpm
php-pgsql-debuginfo-8.0.27-1.el9_1.s390x.rpm
php-process-8.0.27-1.el9_1.s390x.rpm
php-process-debuginfo-8.0.27-1.el9_1.s390x.rpm
php-snmp-8.0.27-1.el9_1.s390x.rpm
php-snmp-debuginfo-8.0.27-1.el9_1.s390x.rpm
php-soap-8.0.27-1.el9_1.s390x.rpm
php-soap-debuginfo-8.0.27-1.el9_1.s390x.rpm
php-xml-8.0.27-1.el9_1.s390x.rpm
php-xml-debuginfo-8.0.27-1.el9_1.s390x.rpm
x86_64:
php-8.0.27-1.el9_1.x86_64.rpm
php-bcmath-8.0.27-1.el9_1.x86_64.rpm
php-bcmath-debuginfo-8.0.27-1.el9_1.x86_64.rpm
php-cli-8.0.27-1.el9_1.x86_64.rpm
php-cli-debuginfo-8.0.27-1.el9_1.x86_64.rpm
php-common-8.0.27-1.el9_1.x86_64.rpm
php-common-debuginfo-8.0.27-1.el9_1.x86_64.rpm
php-dba-8.0.27-1.el9_1.x86_64.rpm
php-dba-debuginfo-8.0.27-1.el9_1.x86_64.rpm
php-dbg-8.0.27-1.el9_1.x86_64.rpm
php-dbg-debuginfo-8.0.27-1.el9_1.x86_64.rpm
php-debuginfo-8.0.27-1.el9_1.x86_64.rpm
php-debugsource-8.0.27-1.el9_1.x86_64.rpm
php-devel-8.0.27-1.el9_1.x86_64.rpm
php-embedded-8.0.27-1.el9_1.x86_64.rpm
php-embedded-debuginfo-8.0.27-1.el9_1.x86_64.rpm
php-enchant-8.0.27-1.el9_1.x86_64.rpm
php-enchant-debuginfo-8.0.27-1.el9_1.x86_64.rpm
php-ffi-8.0.27-1.el9_1.x86_64.rpm
php-ffi-debuginfo-8.0.27-1.el9_1.x86_64.rpm
php-fpm-8.0.27-1.el9_1.x86_64.rpm
php-fpm-debuginfo-8.0.27-1.el9_1.x86_64.rpm
php-gd-8.0.27-1.el9_1.x86_64.rpm
php-gd-debuginfo-8.0.27-1.el9_1.x86_64.rpm
php-gmp-8.0.27-1.el9_1.x86_64.rpm
php-gmp-debuginfo-8.0.27-1.el9_1.x86_64.rpm
php-intl-8.0.27-1.el9_1.x86_64.rpm
php-intl-debuginfo-8.0.27-1.el9_1.x86_64.rpm
php-ldap-8.0.27-1.el9_1.x86_64.rpm
php-ldap-debuginfo-8.0.27-1.el9_1.x86_64.rpm
php-mbstring-8.0.27-1.el9_1.x86_64.rpm
php-mbstring-debuginfo-8.0.27-1.el9_1.x86_64.rpm
php-mysqlnd-8.0.27-1.el9_1.x86_64.rpm
php-mysqlnd-debuginfo-8.0.27-1.el9_1.x86_64.rpm
php-odbc-8.0.27-1.el9_1.x86_64.rpm
php-odbc-debuginfo-8.0.27-1.el9_1.x86_64.rpm
php-opcache-8.0.27-1.el9_1.x86_64.rpm
php-opcache-debuginfo-8.0.27-1.el9_1.x86_64.rpm
php-pdo-8.0.27-1.el9_1.x86_64.rpm
php-pdo-debuginfo-8.0.27-1.el9_1.x86_64.rpm
php-pgsql-8.0.27-1.el9_1.x86_64.rpm
php-pgsql-debuginfo-8.0.27-1.el9_1.x86_64.rpm
php-process-8.0.27-1.el9_1.x86_64.rpm
php-process-debuginfo-8.0.27-1.el9_1.x86_64.rpm
php-snmp-8.0.27-1.el9_1.x86_64.rpm
php-snmp-debuginfo-8.0.27-1.el9_1.x86_64.rpm
php-soap-8.0.27-1.el9_1.x86_64.rpm
php-soap-debuginfo-8.0.27-1.el9_1.x86_64.rpm
php-xml-8.0.27-1.el9_1.x86_64.rpm
php-xml-debuginfo-8.0.27-1.el9_1.x86_64.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-2022-31628
https://access.redhat.com/security/cve/CVE-2022-31629
https://access.redhat.com/security/cve/CVE-2022-31630
https://access.redhat.com/security/cve/CVE-2022-31631
https://access.redhat.com/security/cve/CVE-2022-37454
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 2023 Red Hat, Inc.