Overly broad permissions can turn one compromised account into a much larger security problem. Learn how to reduce unnecessary access, review privileges, and apply least privilege across modern Linux systems. Review Linux Privileges×

Alerts This Week
Warning Icon 1 511
Alerts This Week
Warning Icon 1 511

RedHat 8: RHSA-2023-0848 Moderate: PHP 8.0 Buffer Overflow Issues

red hat
Calendar Grey February 21, 2023
Scroller Redhat
The recent advisory from Red Hat regarding the php:8.0 refresh points out multiple moderate security vulnerabilities, such as potential buffer overflows. Maintain your security!
An update for the php:8.0 module is now available for Red Hat Enterprise Linux 8

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). (BZ#2161666)
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. 8):
Source: libzip-1.7.3-1.module+el8.6.0+13671+84712317.src.rpm php-8.0.27-1.module+el8.7.0+17863+0ad92cd2.src.rpm php-pear-1.10.13-1.module+el8.6.0+13671+84712317.src.rpm php-pecl-apcu-5.1.20-1.module+el8.6.0+13671+84712317.src.rpm php-pecl-rrd-2.0.3-1.module+el8.6.0+13671+84712317.src.rpm php-pecl-xdebug3-3.1.2-1.module+el8.6.0+13671+84712317.src.rpm php-pecl-zip-1.19.2-1.module+el8.6.0+13671+84712317.src.rpm
aarch64: libzip-1.7.3-1.module+el8.6.0+13671+84712317.aarch64.rpm libzip-debuginfo-1.7.3-1.module+el8.6.0+13671+84712317.aarch64.rpm libzip-debugsource-1.7.3-1.module+el8.6.0+13671+84712317.aarch64.rpm libzip-devel-1.7.3-1.module+el8.6.0+13671+84712317.aarch64.rpm libzip-tools-1.7.3-1.module+el8.6.0+13671+84712317.aarch64.rpm libzip-tools-debuginfo-1.7.3-1.module+el8.6.0+13671+84712317.aarch64.rpm php-8.0.27-1.module+el8.7.0+17863+0ad92cd2.aarch64.rpm php-bcmath-8.0.27-1.module+el8.7.0+17863+0ad92cd2.aarch64.rpm php-bcmath-debuginfo-8.0.27-1.module+el8.7.0+17863+0ad92cd2.aarch64.rpm php-cli-8.0.27-1.module+el8.7.0+17863+0ad92cd2.aarch64.rpm php-cli-debuginfo-8.0.27-1.module+el8.7.0+17863+0ad92cd2.aarch64.rpm php-common-8.0.27-1.module+el8.7.0+17863+0ad92cd2.aarch64.rpm

Read the Full Advisory


Advisory ID: RHSA-2023:0848-01
Product: Red Hat Enterprise Linux
Issue date: 2023-02-21

Topic

An update for the php:8.0 module is now available for Red Hat EnterpriseLinux 8.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. 8) - aarch64, noarch, 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.