From 7175a6b5b9e8c83736bf450537d7be76f8455344 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Tue, 7 Jun 2022 12:50:38 +0200 Subject: use oracle client library version 21.6 mysqlnd: fix #81719: mysqlnd/pdo password buffer overflow. CVE-2022-31626 pgsql: fix #81720: Uninitialized array in pg_query_params(). CVE-2022-31625 --- php.spec | 22 +++++++++++++--------- 1 file changed, 13 insertions(+), 9 deletions(-) (limited to 'php.spec') diff --git a/php.spec b/php.spec index 5d43a96..1ce12fb 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.3 +%global oraclever 21.6 %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: 10%{?dist} +Release: 11%{?dist} # All files licensed under PHP version 3.01, except # Zend is licensed under Zend # TSRM is licensed under BSD @@ -200,6 +200,8 @@ Patch204: php-bug76450.patch Patch205: php-bug81211.patch Patch206: php-bug81026.patch Patch207: php-bug79971.patch +Patch208: php-bug81719.patch +Patch209: php-bug81720.patch # Fixes for tests (300+) # Factory is droped from system tzdata @@ -738,12 +740,7 @@ Requires: %{?scl_prefix}php-common%{?_isa} = %{version}-%{release} BuildRequires: libjpeg-devel, libpng-devel, freetype-devel BuildRequires: libXpm-devel %if %{with_libgd} -BuildRequires: gd-devel >= 2.1.1 -%if 0%{?fedora} <= 19 && 0%{?rhel} <= 7 -Requires: gd-last%{?_isa} >= 2.1.1 -%else -Requires: gd%{?_isa} >= 2.1.1 -%endif +BuildRequires: gd-devel >= 2.3.3 %else BuildRequires: libwebp-devel Provides: bundled(gd) = 2.0.35 @@ -971,6 +968,8 @@ sed -e 's/php-devel/%{?scl_prefix}php-devel/' -i scripts/phpize.in %patch205 -p1 -b .bug81211 %patch206 -p1 -b .bug81026 %patch207 -p1 -b .bug79971 +%patch208 -p1 -b .bug81719 +%patch209 -p1 -b .bug81720 # Fixes for tests %patch300 -p1 -b .datetests @@ -1759,7 +1758,7 @@ cat << EOF WARNING : PHP 7.2 have reached its "End of Life" in November 2020. Even, if this package includes some of - the important security fix, backported from 7.3, the + the important security fix, backported from 7.4, the UPGRADE to a maintained version is very strongly RECOMMENDED. ===================================================================== @@ -1941,6 +1940,11 @@ EOF %changelog +* Tue Jun 7 2022 Remi Collet - 7.2.34-11 +- use oracle client library version 21.6 +- mysqlnd: fix #81719: mysqlnd/pdo password buffer overflow. CVE-2022-31626 +- pgsql: fix #81720: Uninitialized array in pg_query_params(). CVE-2022-31625 + * Mon Nov 15 2021 Remi Collet - 7.2.34-10 - Fix #79971 special character is breaking the path in xml function CVE-2021-21707 -- cgit