{"id":"ALSA-2023:2903","summary":"Moderate: php:7.4 security update","details":"PHP is an HTML-embedded scripting language commonly used with the Apache HTTP Server.\n\nThe following packages have been upgraded to a later upstream version: php (7.4.33).\n\nSecurity Fix(es):\n\n* XKCP: buffer overflow in the SHA-3 reference implementation (CVE-2022-37454)\n* php: standard insecure cookie could be treated as a '__Host-' or '__Secure-' cookie by PHP applications (CVE-2022-31629)\n* php: OOB read due to insufficient input validation in imageloadfont() (CVE-2022-31630)\n* php: PDO::quote() may return unquoted string due to an integer overflow (CVE-2022-31631)\n* php: phar: infinite loop when decompressing quine gzip file (CVE-2022-31628)\n\nFor 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.\n\nAdditional Changes:\n\nFor detailed information on changes in this release, see the AlmaLinux Release Notes linked from the References section.","modified":"2026-01-30T02:00:23.438249Z","published":"2023-05-16T00:00:00Z","related":["CVE-2022-31628","CVE-2022-31629","CVE-2022-31630","CVE-2022-31631","CVE-2022-37454"],"references":[{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2023:2903"},{"type":"REPORT","url":"https://access.redhat.com/security/cve/CVE-2022-31628"},{"type":"REPORT","url":"https://access.redhat.com/security/cve/CVE-2022-31629"},{"type":"REPORT","url":"https://access.redhat.com/security/cve/CVE-2022-31630"},{"type":"REPORT","url":"https://access.redhat.com/security/cve/CVE-2022-31631"},{"type":"REPORT","url":"https://access.redhat.com/security/cve/CVE-2022-37454"},{"type":"REPORT","url":"https://bugzilla.redhat.com/2133687"},{"type":"REPORT","url":"https://bugzilla.redhat.com/2133688"},{"type":"REPORT","url":"https://bugzilla.redhat.com/2139280"},{"type":"REPORT","url":"https://bugzilla.redhat.com/2140200"},{"type":"REPORT","url":"https://bugzilla.redhat.com/2158791"},{"type":"ADVISORY","url":"https://errata.almalinux.org/8/ALSA-2023-2903.html"}],"affected":[{"package":{"name":"apcu-panel","ecosystem":"AlmaLinux:8","purl":"pkg:rpm/almalinux/apcu-panel"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.1.18-1.module_el8.6.0+2750+78feabcb"}]}],"database_specific":{"source":"https://github.com/AlmaLinux/osv-database/blob/master/advisories/almalinux8/ALSA-2023:2903.json"}},{"package":{"name":"libzip","ecosystem":"AlmaLinux:8","purl":"pkg:rpm/almalinux/libzip"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.6.1-1.module_el8.6.0+2750+78feabcb"}]}],"database_specific":{"source":"https://github.com/AlmaLinux/osv-database/blob/master/advisories/almalinux8/ALSA-2023:2903.json"}},{"package":{"name":"libzip","ecosystem":"AlmaLinux:8","purl":"pkg:rpm/almalinux/libzip"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.6.1-1.module_el8.6.0+3239+bedf0508"}]}],"database_specific":{"source":"https://github.com/AlmaLinux/osv-database/blob/master/advisories/almalinux8/ALSA-2023:2903.json"}},{"package":{"name":"libzip-devel","ecosystem":"AlmaLinux:8","purl":"pkg:rpm/almalinux/libzip-devel"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.6.1-1.module_el8.6.0+2750+78feabcb"}]}],"database_specific":{"source":"https://github.com/AlmaLinux/osv-database/blob/master/advisories/almalinux8/ALSA-2023:2903.json"}},{"package":{"name":"libzip-devel","ecosystem":"AlmaLinux:8","purl":"pkg:rpm/almalinux/libzip-devel"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.6.1-1.module_el8.6.0+3239+bedf0508"}]}],"database_specific":{"source":"https://github.com/AlmaLinux/osv-database/blob/master/advisories/almalinux8/ALSA-2023:2903.json"}},{"package":{"name":"libzip-tools","ecosystem":"AlmaLinux:8","purl":"pkg:rpm/almalinux/libzip-tools"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.6.1-1.module_el8.6.0+3239+bedf0508"}]}],"database_specific":{"source":"https://github.com/AlmaLinux/osv-database/blob/master/advisories/almalinux8/ALSA-2023:2903.json"}},{"package":{"name":"libzip-tools","ecosystem":"AlmaLinux:8","purl":"pkg:rpm/almalinux/libzip-tools"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.6.1-1.module_el8.6.0+2750+78feabcb"}]}],"database_specific":{"source":"https://github.com/AlmaLinux/osv-database/blob/master/advisories/almalinux8/ALSA-2023:2903.json"}},{"package":{"name":"php","ecosystem":"AlmaLinux:8","purl":"pkg:rpm/almalinux/php"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"7.4.33-1.module_el8.8.0+3477+f828cbb0"}]}],"database_specific":{"source":"https://github.com/AlmaLinux/osv-database/blob/master/advisories/almalinux8/ALSA-2023:2903.json"}},{"package":{"name":"php-bcmath","ecosystem":"AlmaLinux:8","purl":"pkg:rpm/almalinux/php-bcmath"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"7.4.33-1.module_el8.8.0+3477+f828cbb0"}]}],"database_specific":{"source":"https://github.com/AlmaLinux/osv-database/blob/master/advisories/almalinux8/ALSA-2023:2903.json"}},{"package":{"name":"php-cli","ecosystem":"AlmaLinux:8","purl":"pkg:rpm/almalinux/php-cli"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"7.4.33-1.module_el8.8.0+3477+f828cbb0"}]}],"database_specific":{"source":"https://github.com/AlmaLinux/osv-database/blob/master/advisories/almalinux8/ALSA-2023:2903.json"}},{"package":{"name":"php-common","ecosystem":"AlmaLinux:8","purl":"pkg:rpm/almalinux/php-common"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"7.4.33-1.module_el8.8.0+3477+f828cbb0"}]}],"database_specific":{"source":"https://github.com/AlmaLinux/osv-database/blob/master/advisories/almalinux8/ALSA-2023:2903.json"}},{"package":{"name":"php-dba","ecosystem":"AlmaLinux:8","purl":"pkg:rpm/almalinux/php-dba"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"7.4.33-1.module_el8.8.0+3477+f828cbb0"}]}],"database_specific":{"source":"https://github.com/AlmaLinux/osv-database/blob/master/advisories/almalinux8/ALSA-2023:2903.json"}},{"package":{"name":"php-dbg","ecosystem":"AlmaLinux:8","purl":"pkg:rpm/almalinux/php-dbg"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"7.4.33-1.module_el8.8.0+3477+f828cbb0"}]}],"database_specific":{"source":"https://github.com/AlmaLinux/osv-database/blob/master/advisories/almalinux8/ALSA-2023:2903.json"}},{"package":{"name":"php-devel","ecosystem":"AlmaLinux:8","purl":"pkg:rpm/almalinux/php-devel"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"7.4.33-1.module_el8.8.0+3477+f828cbb0"}]}],"database_specific":{"source":"https://github.com/AlmaLinux/osv-database/blob/master/advisories/almalinux8/ALSA-2023:2903.json"}},{"package":{"name":"php-embedded","ecosystem":"AlmaLinux:8","purl":"pkg:rpm/almalinux/php-embedded"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"7.4.33-1.module_el8.8.0+3477+f828cbb0"}]}],"database_specific":{"source":"https://github.com/AlmaLinux/osv-database/blob/master/advisories/almalinux8/ALSA-2023:2903.json"}},{"package":{"name":"php-enchant","ecosystem":"AlmaLinux:8","purl":"pkg:rpm/almalinux/php-enchant"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"7.4.33-1.module_el8.8.0+3477+f828cbb0"}]}],"database_specific":{"source":"https://github.com/AlmaLinux/osv-database/blob/master/advisories/almalinux8/ALSA-2023:2903.json"}},{"package":{"name":"php-ffi","ecosystem":"AlmaLinux:8","purl":"pkg:rpm/almalinux/php-ffi"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"7.4.33-1.module_el8.8.0+3477+f828cbb0"}]}],"database_specific":{"source":"https://github.com/AlmaLinux/osv-database/blob/master/advisories/almalinux8/ALSA-2023:2903.json"}},{"package":{"name":"php-fpm","ecosystem":"AlmaLinux:8","purl":"pkg:rpm/almalinux/php-fpm"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"7.4.33-1.module_el8.8.0+3477+f828cbb0"}]}],"database_specific":{"source":"https://github.com/AlmaLinux/osv-database/blob/master/advisories/almalinux8/ALSA-2023:2903.json"}},{"package":{"name":"php-gd","ecosystem":"AlmaLinux:8","purl":"pkg:rpm/almalinux/php-gd"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"7.4.33-1.module_el8.8.0+3477+f828cbb0"}]}],"database_specific":{"source":"https://github.com/AlmaLinux/osv-database/blob/master/advisories/almalinux8/ALSA-2023:2903.json"}},{"package":{"name":"php-gmp","ecosystem":"AlmaLinux:8","purl":"pkg:rpm/almalinux/php-gmp"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"7.4.33-1.module_el8.8.0+3477+f828cbb0"}]}],"database_specific":{"source":"https://github.com/AlmaLinux/osv-database/blob/master/advisories/almalinux8/ALSA-2023:2903.json"}},{"package":{"name":"php-intl","ecosystem":"AlmaLinux:8","purl":"pkg:rpm/almalinux/php-intl"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"7.4.33-1.module_el8.8.0+3477+f828cbb0"}]}],"database_specific":{"source":"https://github.com/AlmaLinux/osv-database/blob/master/advisories/almalinux8/ALSA-2023:2903.json"}},{"package":{"name":"php-json","ecosystem":"AlmaLinux:8","purl":"pkg:rpm/almalinux/php-json"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"7.4.33-1.module_el8.8.0+3477+f828cbb0"}]}],"database_specific":{"source":"https://github.com/AlmaLinux/osv-database/blob/master/advisories/almalinux8/ALSA-2023:2903.json"}},{"package":{"name":"php-ldap","ecosystem":"AlmaLinux:8","purl":"pkg:rpm/almalinux/php-ldap"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"7.4.33-1.module_el8.8.0+3477+f828cbb0"}]}],"database_specific":{"source":"https://github.com/AlmaLinux/osv-database/blob/master/advisories/almalinux8/ALSA-2023:2903.json"}},{"package":{"name":"php-mbstring","ecosystem":"AlmaLinux:8","purl":"pkg:rpm/almalinux/php-mbstring"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"7.4.33-1.module_el8.8.0+3477+f828cbb0"}]}],"database_specific":{"source":"https://github.com/AlmaLinux/osv-database/blob/master/advisories/almalinux8/ALSA-2023:2903.json"}},{"package":{"name":"php-mysqlnd","ecosystem":"AlmaLinux:8","purl":"pkg:rpm/almalinux/php-mysqlnd"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"7.4.33-1.module_el8.8.0+3477+f828cbb0"}]}],"database_specific":{"source":"https://github.com/AlmaLinux/osv-database/blob/master/advisories/almalinux8/ALSA-2023:2903.json"}},{"package":{"name":"php-odbc","ecosystem":"AlmaLinux:8","purl":"pkg:rpm/almalinux/php-odbc"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"7.4.33-1.module_el8.8.0+3477+f828cbb0"}]}],"database_specific":{"source":"https://github.com/AlmaLinux/osv-database/blob/master/advisories/almalinux8/ALSA-2023:2903.json"}},{"package":{"name":"php-opcache","ecosystem":"AlmaLinux:8","purl":"pkg:rpm/almalinux/php-opcache"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"7.4.33-1.module_el8.8.0+3477+f828cbb0"}]}],"database_specific":{"source":"https://github.com/AlmaLinux/osv-database/blob/master/advisories/almalinux8/ALSA-2023:2903.json"}},{"package":{"name":"php-pdo","ecosystem":"AlmaLinux:8","purl":"pkg:rpm/almalinux/php-pdo"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"7.4.33-1.module_el8.8.0+3477+f828cbb0"}]}],"database_specific":{"source":"https://github.com/AlmaLinux/osv-database/blob/master/advisories/almalinux8/ALSA-2023:2903.json"}},{"package":{"name":"php-pear","ecosystem":"AlmaLinux:8","purl":"pkg:rpm/almalinux/php-pear"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:1.10.13-1.module_el8.6.0+3268+b150a051"}]}],"database_specific":{"source":"https://github.com/AlmaLinux/osv-database/blob/master/advisories/almalinux8/ALSA-2023:2903.json"}},{"package":{"name":"php-pecl-apcu","ecosystem":"AlmaLinux:8","purl":"pkg:rpm/almalinux/php-pecl-apcu"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.1.18-1.module_el8.6.0+2750+78feabcb"}]}],"database_specific":{"source":"https://github.com/AlmaLinux/osv-database/blob/master/advisories/almalinux8/ALSA-2023:2903.json"}},{"package":{"name":"php-pecl-apcu","ecosystem":"AlmaLinux:8","purl":"pkg:rpm/almalinux/php-pecl-apcu"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.1.18-1.module_el8.6.0+3239+bedf0508"}]}],"database_specific":{"source":"https://github.com/AlmaLinux/osv-database/blob/master/advisories/almalinux8/ALSA-2023:2903.json"}},{"package":{"name":"php-pecl-apcu-devel","ecosystem":"AlmaLinux:8","purl":"pkg:rpm/almalinux/php-pecl-apcu-devel"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.1.18-1.module_el8.6.0+3239+bedf0508"}]}],"database_specific":{"source":"https://github.com/AlmaLinux/osv-database/blob/master/advisories/almalinux8/ALSA-2023:2903.json"}},{"package":{"name":"php-pecl-apcu-devel","ecosystem":"AlmaLinux:8","purl":"pkg:rpm/almalinux/php-pecl-apcu-devel"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.1.18-1.module_el8.6.0+2750+78feabcb"}]}],"database_specific":{"source":"https://github.com/AlmaLinux/osv-database/blob/master/advisories/almalinux8/ALSA-2023:2903.json"}},{"package":{"name":"php-pecl-rrd","ecosystem":"AlmaLinux:8","purl":"pkg:rpm/almalinux/php-pecl-rrd"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.0.1-1.module_el8.6.0+2750+78feabcb"}]}],"database_specific":{"source":"https://github.com/AlmaLinux/osv-database/blob/master/advisories/almalinux8/ALSA-2023:2903.json"}},{"package":{"name":"php-pecl-rrd","ecosystem":"AlmaLinux:8","purl":"pkg:rpm/almalinux/php-pecl-rrd"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.0.1-1.module_el8.6.0+3239+bedf0508"}]}],"database_specific":{"source":"https://github.com/AlmaLinux/osv-database/blob/master/advisories/almalinux8/ALSA-2023:2903.json"}},{"package":{"name":"php-pecl-xdebug","ecosystem":"AlmaLinux:8","purl":"pkg:rpm/almalinux/php-pecl-xdebug"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.9.5-1.module_el8.6.0+3239+bedf0508"}]}],"database_specific":{"source":"https://github.com/AlmaLinux/osv-database/blob/master/advisories/almalinux8/ALSA-2023:2903.json"}},{"package":{"name":"php-pecl-xdebug","ecosystem":"AlmaLinux:8","purl":"pkg:rpm/almalinux/php-pecl-xdebug"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.9.5-1.module_el8.6.0+2750+78feabcb"}]}],"database_specific":{"source":"https://github.com/AlmaLinux/osv-database/blob/master/advisories/almalinux8/ALSA-2023:2903.json"}},{"package":{"name":"php-pecl-zip","ecosystem":"AlmaLinux:8","purl":"pkg:rpm/almalinux/php-pecl-zip"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.18.2-1.module_el8.6.0+2750+78feabcb"}]}],"database_specific":{"source":"https://github.com/AlmaLinux/osv-database/blob/master/advisories/almalinux8/ALSA-2023:2903.json"}},{"package":{"name":"php-pecl-zip","ecosystem":"AlmaLinux:8","purl":"pkg:rpm/almalinux/php-pecl-zip"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.18.2-1.module_el8.6.0+3239+bedf0508"}]}],"database_specific":{"source":"https://github.com/AlmaLinux/osv-database/blob/master/advisories/almalinux8/ALSA-2023:2903.json"}},{"package":{"name":"php-pgsql","ecosystem":"AlmaLinux:8","purl":"pkg:rpm/almalinux/php-pgsql"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"7.4.33-1.module_el8.8.0+3477+f828cbb0"}]}],"database_specific":{"source":"https://github.com/AlmaLinux/osv-database/blob/master/advisories/almalinux8/ALSA-2023:2903.json"}},{"package":{"name":"php-process","ecosystem":"AlmaLinux:8","purl":"pkg:rpm/almalinux/php-process"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"7.4.33-1.module_el8.8.0+3477+f828cbb0"}]}],"database_specific":{"source":"https://github.com/AlmaLinux/osv-database/blob/master/advisories/almalinux8/ALSA-2023:2903.json"}},{"package":{"name":"php-snmp","ecosystem":"AlmaLinux:8","purl":"pkg:rpm/almalinux/php-snmp"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"7.4.33-1.module_el8.8.0+3477+f828cbb0"}]}],"database_specific":{"source":"https://github.com/AlmaLinux/osv-database/blob/master/advisories/almalinux8/ALSA-2023:2903.json"}},{"package":{"name":"php-soap","ecosystem":"AlmaLinux:8","purl":"pkg:rpm/almalinux/php-soap"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"7.4.33-1.module_el8.8.0+3477+f828cbb0"}]}],"database_specific":{"source":"https://github.com/AlmaLinux/osv-database/blob/master/advisories/almalinux8/ALSA-2023:2903.json"}},{"package":{"name":"php-xml","ecosystem":"AlmaLinux:8","purl":"pkg:rpm/almalinux/php-xml"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"7.4.33-1.module_el8.8.0+3477+f828cbb0"}]}],"database_specific":{"source":"https://github.com/AlmaLinux/osv-database/blob/master/advisories/almalinux8/ALSA-2023:2903.json"}},{"package":{"name":"php-xmlrpc","ecosystem":"AlmaLinux:8","purl":"pkg:rpm/almalinux/php-xmlrpc"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"7.4.33-1.module_el8.8.0+3477+f828cbb0"}]}],"database_specific":{"source":"https://github.com/AlmaLinux/osv-database/blob/master/advisories/almalinux8/ALSA-2023:2903.json"}}],"schema_version":"1.7.3"}