From b9deb8e88205dd96a233b1c90fe59176272f18a6 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Tue, 7 Jun 2022 14:52:31 +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 --- php56.spec | 24 ++++++++++++++---------- 1 file changed, 14 insertions(+), 10 deletions(-) (limited to 'php56.spec') diff --git a/php56.spec b/php56.spec index 9345eb8..fca36e0 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.3 +%global oraclever 21.6 %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: 32%{?dist} +Release: 33%{?dist} # All files licensed under PHP version 3.01, except # Zend is licensed under Zend # TSRM is licensed under BSD @@ -252,6 +252,8 @@ Patch251: php-bug76450.patch Patch252: php-bug81211.patch Patch253: php-bug81026.patch Patch254: php-bug79971.patch +Patch255: php-bug81719.patch +Patch256: php-bug81720.patch # Fixes for tests (300+) # Factory is droped from system tzdata @@ -815,12 +817,7 @@ License: PHP and BSD Requires: php-common%{?_isa} = %{version}-%{release} BuildRequires: t1lib-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 # Required to build the bundled GD library BuildRequires: libjpeg-devel @@ -1068,6 +1065,8 @@ echo CIBLE = %{name}-%{version}-%{release} oci8=%{with_oci8} libzip=%{with_libzi %patch252 -p1 -b .bug81211 %patch253 -p1 -b .bug81026 %patch254 -p1 -b .bug79971 +%patch255 -p1 -b .bug81719 +%patch256 -p1 -b .bug81720 # Fixes for tests %patch300 -p1 -b .datetests @@ -1844,7 +1843,7 @@ sed -e "s/@PHP_APIVER@/%{apiver}%{isasuffix}/" \ %endif < %{SOURCE3} > macros.php %if 0%{?fedora} >= 24 -echo '%pecl_xmldir %{_localstatedir}/lib/php/peclxml' >>macros.php +echo '%%pecl_xmldir %{_localstatedir}/lib/php/peclxml' >>macros.php %endif install -m 644 -D macros.php \ $RPM_BUILD_ROOT%{macrosdir}/macros.php @@ -1945,7 +1944,7 @@ cat << EOF WARNING : PHP 5.6 have reached its "End of Life" in January 2019. 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. ===================================================================== @@ -2124,6 +2123,11 @@ EOF %changelog +* Tue Jun 7 2022 Remi Collet - 5.6.40-33 +- 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 - 5.6.40-32 - Fix #79971 special character is breaking the path in xml function CVE-2021-21707 -- cgit