{"id":"OESA-2023-1272","summary":"php security update","details":"PHP is an HTML-embedded scripting language. PHP attempts to make it easy for developers to write dynamically generated web pages. PHP also offers built-in database integration for several commercial and non-commercial database management systems, so writing a database-enabled webpage with PHP is fairly simple. The most common use of PHP coding is probably as a replacement for CGI scripts.The php package contains the module (often referred to as mod_php) which adds support for the PHP language to Apache HTTP Server.\r\n\r\nSecurity Fix(es):\r\n\r\nIn PHP versions before 7.4.31, 8.0.24 and 8.1.11, the vulnerability enables network and same-site attackers to set a standard insecure cookie in the victim&apos;s browser which is treated as a `__Host-` or `__Secure-` cookie by PHP applications.(CVE-2022-31629)\r\n\r\nIn PHP versions before 7.4.31, 8.0.24 and 8.1.11, the phar uncompressor code would recursively uncompress &quot;quines&quot; gzip files, resulting in an infinite loop.(CVE-2022-31628)","modified":"2025-09-03T06:18:16.088361Z","published":"2023-05-12T11:05:14Z","upstream":["CVE-2022-31628","CVE-2022-31629"],"database_specific":{"severity":"Medium"},"references":[{"type":"ADVISORY","url":"https://www.openeuler.org/en/security/safety-bulletin/detail.html?id=openEuler-SA-2023-1272"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-31629"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-31628"}],"affected":[{"package":{"name":"php","ecosystem":"openEuler:20.03-LTS-SP3","purl":"pkg:rpm/openEuler/php&distro=openEuler-20.03-LTS-SP3"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"8.0.28-1.oe1"}]}],"ecosystem_specific":{"x86_64":["php-snmp-8.0.28-1.oe1.x86_64.rpm","php-gd-8.0.28-1.oe1.x86_64.rpm","php-odbc-8.0.28-1.oe1.x86_64.rpm","php-common-8.0.28-1.oe1.x86_64.rpm","php-debuginfo-8.0.28-1.oe1.x86_64.rpm","php-gmp-8.0.28-1.oe1.x86_64.rpm","php-pgsql-8.0.28-1.oe1.x86_64.rpm","php-pdo-8.0.28-1.oe1.x86_64.rpm","php-embedded-8.0.28-1.oe1.x86_64.rpm","php-8.0.28-1.oe1.x86_64.rpm","php-opcache-8.0.28-1.oe1.x86_64.rpm","php-tidy-8.0.28-1.oe1.x86_64.rpm","php-dba-8.0.28-1.oe1.x86_64.rpm","php-help-8.0.28-1.oe1.x86_64.rpm","php-cli-8.0.28-1.oe1.x86_64.rpm","php-sodium-8.0.28-1.oe1.x86_64.rpm","php-bcmath-8.0.28-1.oe1.x86_64.rpm","php-ldap-8.0.28-1.oe1.x86_64.rpm","php-fpm-8.0.28-1.oe1.x86_64.rpm","php-ffi-8.0.28-1.oe1.x86_64.rpm","php-mbstring-8.0.28-1.oe1.x86_64.rpm","php-devel-8.0.28-1.oe1.x86_64.rpm","php-process-8.0.28-1.oe1.x86_64.rpm","php-soap-8.0.28-1.oe1.x86_64.rpm","php-enchant-8.0.28-1.oe1.x86_64.rpm","php-dbg-8.0.28-1.oe1.x86_64.rpm","php-mysqlnd-8.0.28-1.oe1.x86_64.rpm","php-intl-8.0.28-1.oe1.x86_64.rpm","php-xml-8.0.28-1.oe1.x86_64.rpm","php-debugsource-8.0.28-1.oe1.x86_64.rpm"],"aarch64":["php-embedded-8.0.28-1.oe1.aarch64.rpm","php-process-8.0.28-1.oe1.aarch64.rpm","php-opcache-8.0.28-1.oe1.aarch64.rpm","php-xml-8.0.28-1.oe1.aarch64.rpm","php-pgsql-8.0.28-1.oe1.aarch64.rpm","php-intl-8.0.28-1.oe1.aarch64.rpm","php-pdo-8.0.28-1.oe1.aarch64.rpm","php-ldap-8.0.28-1.oe1.aarch64.rpm","php-snmp-8.0.28-1.oe1.aarch64.rpm","php-common-8.0.28-1.oe1.aarch64.rpm","php-tidy-8.0.28-1.oe1.aarch64.rpm","php-dbg-8.0.28-1.oe1.aarch64.rpm","php-cli-8.0.28-1.oe1.aarch64.rpm","php-mysqlnd-8.0.28-1.oe1.aarch64.rpm","php-help-8.0.28-1.oe1.aarch64.rpm","php-debugsource-8.0.28-1.oe1.aarch64.rpm","php-dba-8.0.28-1.oe1.aarch64.rpm","php-soap-8.0.28-1.oe1.aarch64.rpm","php-bcmath-8.0.28-1.oe1.aarch64.rpm","php-gd-8.0.28-1.oe1.aarch64.rpm","php-enchant-8.0.28-1.oe1.aarch64.rpm","php-mbstring-8.0.28-1.oe1.aarch64.rpm","php-ffi-8.0.28-1.oe1.aarch64.rpm","php-debuginfo-8.0.28-1.oe1.aarch64.rpm","php-fpm-8.0.28-1.oe1.aarch64.rpm","php-devel-8.0.28-1.oe1.aarch64.rpm","php-gmp-8.0.28-1.oe1.aarch64.rpm","php-sodium-8.0.28-1.oe1.aarch64.rpm","php-8.0.28-1.oe1.aarch64.rpm","php-odbc-8.0.28-1.oe1.aarch64.rpm"],"src":["php-8.0.28-1.oe1.src.rpm"]},"database_specific":{"source":"https://repo.openeuler.org/security/data/osv/OESA-2023-1272.json"}}],"schema_version":"1.7.3"}