{"id":"RLSA-2022:6158","summary":"Moderate: php:7.4 security update","details":"PHP is an HTML-embedded scripting language commonly used with the Apache HTTP Server.\n\nSecurity Fix(es):\n\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.","modified":"2026-02-05T00:15:12.615449Z","published":"2022-08-24T15:03:01Z","upstream":["CVE-2022-31625"],"references":[{"type":"ADVISORY","url":"https://errata.rockylinux.org/RLSA-2022:6158"},{"type":"REPORT","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2098521"}],"affected":[{"package":{"name":"libzip","ecosystem":"Rocky Linux:8","purl":"pkg:rpm/rocky-linux/libzip?distro=rocky-linux-8&epoch=0"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:1.6.1-1.module+el8.6.0+789+2130c178"}],"database_specific":{"yum_repository":"AppStream"}}],"database_specific":{"source":"https://storage.googleapis.com/resf-osv-data/RLSA-2022:6158.json"}},{"package":{"name":"libzip","ecosystem":"Rocky Linux:8","purl":"pkg:rpm/rocky-linux/libzip?distro=rocky-linux-8-4-legacy&epoch=0"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:1.6.1-1.module+el8.4.0+415+e936cba3"}],"database_specific":{"yum_repository":"AppStream"}}],"database_specific":{"source":"https://storage.googleapis.com/resf-osv-data/RLSA-2022:6158.json"}},{"package":{"name":"php","ecosystem":"Rocky Linux:8","purl":"pkg:rpm/rocky-linux/php?distro=rocky-linux-8-6-legacy&epoch=0"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:7.4.19-4.module+el8.6.0+1006+0d5a469f"}],"database_specific":{"yum_repository":"AppStream"}}],"database_specific":{"source":"https://storage.googleapis.com/resf-osv-data/RLSA-2022:6158.json"}},{"package":{"name":"php-pear","ecosystem":"Rocky Linux:8","purl":"pkg:rpm/rocky-linux/php-pear?distro=rocky-linux-8-4-legacy&epoch=1"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:1.10.12-1.module+el8.4.0+415+e936cba3"}],"database_specific":{"yum_repository":"AppStream"}}],"database_specific":{"source":"https://storage.googleapis.com/resf-osv-data/RLSA-2022:6158.json"}},{"package":{"name":"php-pear","ecosystem":"Rocky Linux:8","purl":"pkg:rpm/rocky-linux/php-pear?distro=rocky-linux-8-6-legacy&epoch=1"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:1.10.12-1.module+el8.6.0+789+2130c178"}],"database_specific":{"yum_repository":"AppStream"}}],"database_specific":{"source":"https://storage.googleapis.com/resf-osv-data/RLSA-2022:6158.json"}},{"package":{"name":"php-pecl-apcu","ecosystem":"Rocky Linux:8","purl":"pkg:rpm/rocky-linux/php-pecl-apcu?distro=rocky-linux-8&epoch=0"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:5.1.18-1.module+el8.6.0+789+2130c178"}],"database_specific":{"yum_repository":"AppStream"}}],"database_specific":{"source":"https://storage.googleapis.com/resf-osv-data/RLSA-2022:6158.json"}},{"package":{"name":"php-pecl-apcu","ecosystem":"Rocky Linux:8","purl":"pkg:rpm/rocky-linux/php-pecl-apcu?distro=rocky-linux-8-4-legacy&epoch=0"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:5.1.18-1.module+el8.4.0+415+e936cba3"}],"database_specific":{"yum_repository":"AppStream"}}],"database_specific":{"source":"https://storage.googleapis.com/resf-osv-data/RLSA-2022:6158.json"}},{"package":{"name":"php-pecl-rrd","ecosystem":"Rocky Linux:8","purl":"pkg:rpm/rocky-linux/php-pecl-rrd?distro=rocky-linux-8&epoch=0"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:2.0.1-1.module+el8.4.0+414+2e7afcdd"}],"database_specific":{"yum_repository":"AppStream"}}],"database_specific":{"source":"https://storage.googleapis.com/resf-osv-data/RLSA-2022:6158.json"}},{"package":{"name":"php-pecl-xdebug","ecosystem":"Rocky Linux:8","purl":"pkg:rpm/rocky-linux/php-pecl-xdebug?distro=rocky-linux-8&epoch=0"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:2.9.5-1.module+el8.4.0+415+e936cba3"}],"database_specific":{"yum_repository":"AppStream"}}],"database_specific":{"source":"https://storage.googleapis.com/resf-osv-data/RLSA-2022:6158.json"}},{"package":{"name":"php-pecl-zip","ecosystem":"Rocky Linux:8","purl":"pkg:rpm/rocky-linux/php-pecl-zip?distro=rocky-linux-8&epoch=0"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:1.18.2-1.module+el8.6.0+789+2130c178"}],"database_specific":{"yum_repository":"AppStream"}}],"database_specific":{"source":"https://storage.googleapis.com/resf-osv-data/RLSA-2022:6158.json"}},{"package":{"name":"php-pecl-zip","ecosystem":"Rocky Linux:8","purl":"pkg:rpm/rocky-linux/php-pecl-zip?distro=rocky-linux-8-4-legacy&epoch=0"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:1.18.2-1.module+el8.4.0+415+e936cba3"}],"database_specific":{"yum_repository":"AppStream"}}],"database_specific":{"source":"https://storage.googleapis.com/resf-osv-data/RLSA-2022:6158.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:H"}],"credits":[{"name":"Rocky Enterprise Software Foundation"},{"name":"Red Hat"}]}