From fae7cf559945a51ab02fd3855eb7097c2b3ca5b6 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Tue, 27 Sep 2022 16:01:27 +0200 Subject: phar: fix #81726 DOS when using quine gzip file. CVE-2022-31628 core: fix #81727 Don't mangle HTTP variable names that clash with ones that have a specific semantic meaning. CVE-2022-31629 use oracle client library version 21.7 use ICU 71.1 --- php.spec | 35 ++++++++++++++++++++++++++++++----- 1 file changed, 30 insertions(+), 5 deletions(-) (limited to 'php.spec') diff --git a/php.spec b/php.spec index 21edd09..be40280 100644 --- a/php.spec +++ b/php.spec @@ -55,7 +55,7 @@ %global mysql_sock %(mysql_config --socket 2>/dev/null || echo /var/lib/mysql/mysql.sock) -%global oraclever 21.6 +%global oraclever 21.7 %global oraclelib 21.1 # Build for LiteSpeed Web Server (LSAPI) @@ -126,7 +126,7 @@ Summary: PHP scripting language for creating dynamic web sites Name: %{?scl_prefix}php Version: %{upver}%{?rcver:~%{rcver}} -Release: 3%{?dist} +Release: 4%{?dist} # All files licensed under PHP version 3.01, except # Zend is licensed under Zend # TSRM is licensed under BSD @@ -200,6 +200,8 @@ Patch102: php-pcre1038.patch # Security fixes (200+) Patch200: php-bug81719.patch Patch201: php-bug81720.patch +Patch202: php-bug81727.patch +Patch203: php-bug81726.patch # Fixes for tests (300+) # Factory is droped from system tzdata @@ -316,7 +318,6 @@ The %{?scl_prefix}php-dbg package contains the interactive PHP debugger. Group: Development/Languages Summary: PHP FastCGI Process Manager BuildRequires: libacl-devel -Requires(pre): %{_root_sbindir}/useradd Requires: %{?scl_prefix}php-common%{?_isa} = %{version}-%{release} %if %{with_systemd} BuildRequires: systemd-devel @@ -336,6 +337,8 @@ Requires(pre): httpd-filesystem # For php.conf in /etc/httpd/conf.d # and version 2.4.10 for proxy support in SetHandler Requires: httpd-filesystem >= 2.4.10 +%else +Requires(pre): %{_root_sbindir}/useradd %endif %description fpm @@ -856,8 +859,8 @@ Group: System Environment/Libraries # All files licensed under PHP version 3.01 License: PHP Requires: %{?scl_prefix}php-common%{?_isa} = %{version}-%{release} -# Upstream requires 4.0, we require 50 to ensure use of libicu-last / libicu65 -BuildRequires: libicu-devel >= 69 +# Upstream requires 4.0, we require 69.1 to ensure use of libicu69 +BuildRequires: libicu-devel = 69.1 %description intl @@ -970,6 +973,8 @@ sed -e 's/php-devel/%{?scl_prefix}php-devel/' -i scripts/phpize.in # security patches %patch200 -p1 -b .bug81719 %patch201 -p1 -b .bug81720 +%patch202 -p1 -b .bug81727 +%patch203 -p1 -b .bug81726 # Fixes for tests %patch300 -p1 -b .datetests @@ -1742,6 +1747,19 @@ fi %endif +%posttrans common +cat << EOF +===================================================================== + + WARNING : PHP 7.3 have reached its "End of Life" in + December 2021. Even, if this package includes some of + the important security fix, backported from 7.4, the + UPGRADE to a maintained version is very strongly RECOMMENDED. + +===================================================================== +EOF + + %{!?_licensedir:%global license %%doc} %files @@ -1916,6 +1934,13 @@ fi %changelog +* Tue Sep 27 2022 Remi Collet - 7.3.33-4 +- phar: fix #81726 DOS when using quine gzip file. CVE-2022-31628 +- core: fix #81727 Don't mangle HTTP variable names that clash with ones + that have a specific semantic meaning. CVE-2022-31629 +- use oracle client library version 21.7 +- use ICU 71.1 + * Tue Jun 7 2022 Remi Collet - 7.3.33-3 - use oracle client library version 21.6 - mysqlnd: fix #81719: mysqlnd/pdo password buffer overflow. CVE-2022-31626 -- cgit