{"id":"ALSA-2022:8197","summary":"Moderate: php security, bug fix, and enhancement 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 (8.0.20). (BZ#2095752)\n\nSecurity Fix(es):\n\n* php: Use after free due to php_filter_float() failing for ints (CVE-2021-21708)\n* php: Uninitialized array in pg_query_params() leading to RCE (CVE-2022-31625)\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-30T01:24:23.475431Z","published":"2022-11-15T00:00:00Z","related":["CVE-2021-21708","CVE-2022-31625"],"references":[{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2022:8197"},{"type":"REPORT","url":"https://access.redhat.com/security/cve/CVE-2021-21708"},{"type":"REPORT","url":"https://access.redhat.com/security/cve/CVE-2022-31625"},{"type":"REPORT","url":"https://bugzilla.redhat.com/2055879"},{"type":"REPORT","url":"https://bugzilla.redhat.com/2098521"},{"type":"ADVISORY","url":"https://errata.almalinux.org/9/ALSA-2022-8197.html"}],"affected":[{"package":{"name":"php","ecosystem":"AlmaLinux:9","purl":"pkg:rpm/almalinux/php"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"8.0.20-3.el9"}]}],"database_specific":{"source":"https://github.com/AlmaLinux/osv-database/blob/master/advisories/almalinux9/ALSA-2022:8197.json"}},{"package":{"name":"php-bcmath","ecosystem":"AlmaLinux:9","purl":"pkg:rpm/almalinux/php-bcmath"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"8.0.20-3.el9"}]}],"database_specific":{"source":"https://github.com/AlmaLinux/osv-database/blob/master/advisories/almalinux9/ALSA-2022:8197.json"}},{"package":{"name":"php-cli","ecosystem":"AlmaLinux:9","purl":"pkg:rpm/almalinux/php-cli"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"8.0.20-3.el9"}]}],"database_specific":{"source":"https://github.com/AlmaLinux/osv-database/blob/master/advisories/almalinux9/ALSA-2022:8197.json"}},{"package":{"name":"php-common","ecosystem":"AlmaLinux:9","purl":"pkg:rpm/almalinux/php-common"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"8.0.20-3.el9"}]}],"database_specific":{"source":"https://github.com/AlmaLinux/osv-database/blob/master/advisories/almalinux9/ALSA-2022:8197.json"}},{"package":{"name":"php-dba","ecosystem":"AlmaLinux:9","purl":"pkg:rpm/almalinux/php-dba"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"8.0.20-3.el9"}]}],"database_specific":{"source":"https://github.com/AlmaLinux/osv-database/blob/master/advisories/almalinux9/ALSA-2022:8197.json"}},{"package":{"name":"php-dbg","ecosystem":"AlmaLinux:9","purl":"pkg:rpm/almalinux/php-dbg"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"8.0.20-3.el9"}]}],"database_specific":{"source":"https://github.com/AlmaLinux/osv-database/blob/master/advisories/almalinux9/ALSA-2022:8197.json"}},{"package":{"name":"php-devel","ecosystem":"AlmaLinux:9","purl":"pkg:rpm/almalinux/php-devel"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"8.0.20-3.el9"}]}],"database_specific":{"source":"https://github.com/AlmaLinux/osv-database/blob/master/advisories/almalinux9/ALSA-2022:8197.json"}},{"package":{"name":"php-embedded","ecosystem":"AlmaLinux:9","purl":"pkg:rpm/almalinux/php-embedded"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"8.0.20-3.el9"}]}],"database_specific":{"source":"https://github.com/AlmaLinux/osv-database/blob/master/advisories/almalinux9/ALSA-2022:8197.json"}},{"package":{"name":"php-enchant","ecosystem":"AlmaLinux:9","purl":"pkg:rpm/almalinux/php-enchant"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"8.0.20-3.el9"}]}],"database_specific":{"source":"https://github.com/AlmaLinux/osv-database/blob/master/advisories/almalinux9/ALSA-2022:8197.json"}},{"package":{"name":"php-ffi","ecosystem":"AlmaLinux:9","purl":"pkg:rpm/almalinux/php-ffi"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"8.0.20-3.el9"}]}],"database_specific":{"source":"https://github.com/AlmaLinux/osv-database/blob/master/advisories/almalinux9/ALSA-2022:8197.json"}},{"package":{"name":"php-fpm","ecosystem":"AlmaLinux:9","purl":"pkg:rpm/almalinux/php-fpm"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"8.0.20-3.el9"}]}],"database_specific":{"source":"https://github.com/AlmaLinux/osv-database/blob/master/advisories/almalinux9/ALSA-2022:8197.json"}},{"package":{"name":"php-gd","ecosystem":"AlmaLinux:9","purl":"pkg:rpm/almalinux/php-gd"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"8.0.20-3.el9"}]}],"database_specific":{"source":"https://github.com/AlmaLinux/osv-database/blob/master/advisories/almalinux9/ALSA-2022:8197.json"}},{"package":{"name":"php-gmp","ecosystem":"AlmaLinux:9","purl":"pkg:rpm/almalinux/php-gmp"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"8.0.20-3.el9"}]}],"database_specific":{"source":"https://github.com/AlmaLinux/osv-database/blob/master/advisories/almalinux9/ALSA-2022:8197.json"}},{"package":{"name":"php-intl","ecosystem":"AlmaLinux:9","purl":"pkg:rpm/almalinux/php-intl"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"8.0.20-3.el9"}]}],"database_specific":{"source":"https://github.com/AlmaLinux/osv-database/blob/master/advisories/almalinux9/ALSA-2022:8197.json"}},{"package":{"name":"php-ldap","ecosystem":"AlmaLinux:9","purl":"pkg:rpm/almalinux/php-ldap"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"8.0.20-3.el9"}]}],"database_specific":{"source":"https://github.com/AlmaLinux/osv-database/blob/master/advisories/almalinux9/ALSA-2022:8197.json"}},{"package":{"name":"php-mbstring","ecosystem":"AlmaLinux:9","purl":"pkg:rpm/almalinux/php-mbstring"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"8.0.20-3.el9"}]}],"database_specific":{"source":"https://github.com/AlmaLinux/osv-database/blob/master/advisories/almalinux9/ALSA-2022:8197.json"}},{"package":{"name":"php-mysqlnd","ecosystem":"AlmaLinux:9","purl":"pkg:rpm/almalinux/php-mysqlnd"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"8.0.20-3.el9"}]}],"database_specific":{"source":"https://github.com/AlmaLinux/osv-database/blob/master/advisories/almalinux9/ALSA-2022:8197.json"}},{"package":{"name":"php-odbc","ecosystem":"AlmaLinux:9","purl":"pkg:rpm/almalinux/php-odbc"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"8.0.20-3.el9"}]}],"database_specific":{"source":"https://github.com/AlmaLinux/osv-database/blob/master/advisories/almalinux9/ALSA-2022:8197.json"}},{"package":{"name":"php-opcache","ecosystem":"AlmaLinux:9","purl":"pkg:rpm/almalinux/php-opcache"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"8.0.20-3.el9"}]}],"database_specific":{"source":"https://github.com/AlmaLinux/osv-database/blob/master/advisories/almalinux9/ALSA-2022:8197.json"}},{"package":{"name":"php-pdo","ecosystem":"AlmaLinux:9","purl":"pkg:rpm/almalinux/php-pdo"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"8.0.20-3.el9"}]}],"database_specific":{"source":"https://github.com/AlmaLinux/osv-database/blob/master/advisories/almalinux9/ALSA-2022:8197.json"}},{"package":{"name":"php-pgsql","ecosystem":"AlmaLinux:9","purl":"pkg:rpm/almalinux/php-pgsql"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"8.0.20-3.el9"}]}],"database_specific":{"source":"https://github.com/AlmaLinux/osv-database/blob/master/advisories/almalinux9/ALSA-2022:8197.json"}},{"package":{"name":"php-process","ecosystem":"AlmaLinux:9","purl":"pkg:rpm/almalinux/php-process"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"8.0.20-3.el9"}]}],"database_specific":{"source":"https://github.com/AlmaLinux/osv-database/blob/master/advisories/almalinux9/ALSA-2022:8197.json"}},{"package":{"name":"php-snmp","ecosystem":"AlmaLinux:9","purl":"pkg:rpm/almalinux/php-snmp"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"8.0.20-3.el9"}]}],"database_specific":{"source":"https://github.com/AlmaLinux/osv-database/blob/master/advisories/almalinux9/ALSA-2022:8197.json"}},{"package":{"name":"php-soap","ecosystem":"AlmaLinux:9","purl":"pkg:rpm/almalinux/php-soap"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"8.0.20-3.el9"}]}],"database_specific":{"source":"https://github.com/AlmaLinux/osv-database/blob/master/advisories/almalinux9/ALSA-2022:8197.json"}},{"package":{"name":"php-xml","ecosystem":"AlmaLinux:9","purl":"pkg:rpm/almalinux/php-xml"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"8.0.20-3.el9"}]}],"database_specific":{"source":"https://github.com/AlmaLinux/osv-database/blob/master/advisories/almalinux9/ALSA-2022:8197.json"}}],"schema_version":"1.7.3"}