From 06fa1a3ab1e3f8ceaf961ce2b55131c2adfe8ab1 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Wed, 20 Oct 2021 16:45:51 +0200 Subject: fix PHP-FPM oob R/W in root process leading to priv escalation CVE-2021-21703 use libicu version 69 use oracle client library version 21.3 --- php56.spec | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) (limited to 'php56.spec') diff --git a/php56.spec b/php56.spec index 7c7cfc1..657a442 100644 --- a/php56.spec +++ b/php56.spec @@ -28,7 +28,7 @@ %global mysql_sock %(mysql_config --socket 2>/dev/null || echo /var/lib/mysql/mysql.sock) -%global oraclever 21.1 +%global oraclever 21.3 %global oraclelib 21.1 # Build for LiteSpeed Web Server (LSAPI) @@ -143,7 +143,7 @@ Summary: PHP scripting language for creating dynamic web sites Name: php Version: 5.6.40 -Release: 29%{?dist} +Release: 31%{?dist} # All files licensed under PHP version 3.01, except # Zend is licensed under Zend # TSRM is licensed under BSD @@ -250,6 +250,7 @@ Patch249: php-bug80710.patch Patch250: php-bug81122.patch Patch251: php-bug76450.patch Patch252: php-bug81211.patch +Patch253: php-bug81026.patch # Fixes for tests (300+) # Factory is droped from system tzdata @@ -964,7 +965,7 @@ Group: System Environment/Libraries License: PHP Requires: php-common%{?_isa} = %{version}-%{release} # Upstream requires 4.0, we require 50 to ensure use of libicu-last -BuildRequires: libicu-devel >= 50 +BuildRequires: libicu-devel >= 69 Obsoletes: php53-intl, php53u-intl, php54-intl, php54w-intl, php55u-intl, php55w-intl, php56u-intl, php56w-intl %description intl @@ -1064,6 +1065,7 @@ echo CIBLE = %{name}-%{version}-%{release} oci8=%{with_oci8} libzip=%{with_libzi %patch250 -p1 -b .bug81122 %patch251 -p1 -b .bug76450 %patch252 -p1 -b .bug81211 +%patch253 -p1 -b .bug81026 # Fixes for tests %patch300 -p1 -b .datetests @@ -1556,7 +1558,7 @@ popd %check %if %runselftest -cd build-apache +cd build-fpm # Run tests, using the CLI SAPI export NO_INTERACTION=1 REPORT_EXIT_STATUS=1 MALLOC_CHECK_=2 @@ -2120,6 +2122,12 @@ EOF %changelog +* Wed Oct 20 2021 Remi Collet - 5.6.40-31 +- fix PHP-FPM oob R/W in root process leading to priv escalation + CVE-2021-21703 +- use libicu version 69 +- use oracle client library version 21.3 + * Thu Aug 26 2021 Remi Collet - 5.6.40-29 - Fix #81211 Symlinks are followed when creating PHAR archive -- cgit