Explore top 10 tips to secure your open-source projects now. Read More

×
Alerts This Week
Warning Icon 1 519
Alerts This Week
Warning Icon 1 519

Red Hat Enterprise Linux 9: RHSA-2023:0965-01 Moderate: PHP Security Issues

red hat
Calendar Grey February 28, 2023
Scroller Redhat
This notice outlines a significant security enhancement for PHP concerning Red Hat Enterprise Linux 9, tackling several vulnerabilities.
An update for php is now available for Red Hat Enterprise Linux 9

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.

Summary

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.

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

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

Read the Full Advisory


Advisory ID: RHSA-2023:0965-01
Product: Red Hat Enterprise Linux
Issue date: 2023-02-28

Topic

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 impactof Moderate. A Common Vulnerability Scoring System (CVSS) base score, whichgives a detailed severity rating, is available for each vulnerability fromthe CVE link(s) in the References section.

Relevant Releases Architectures

Red Hat Enterprise Linux AppStream (v. 9) - aarch64, ppc64le, s390x, x86_64

Bugs Fixed

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

Get the latest News and Insights

Get the latest Linux and open source security news straight to your inbox.