From 1d5141370036a2229892ea8ad375a4dfc24d4482 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Mon, 4 Jan 2021 16:18:43 +0100 Subject: Fix #77423 FILTER_VALIDATE_URL accepts URLs with invalid userinfo CVE-2020-7071 --- php56.spec | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) (limited to 'php56.spec') diff --git a/php56.spec b/php56.spec index 0fda68b..ef2d74f 100644 --- a/php56.spec +++ b/php56.spec @@ -38,7 +38,7 @@ %else %ifarch x86_64 -%global oraclever 19.8 +%global oraclever 19.9 %else %global oraclever 19.6 %endif @@ -157,7 +157,7 @@ Summary: PHP scripting language for creating dynamic web sites Name: php Version: 5.6.40 -Release: 23%{?dist} +Release: 24%{?dist} # All files licensed under PHP version 3.01, except # Zend is licensed under Zend # TSRM is licensed under BSD @@ -258,6 +258,7 @@ Patch242: php-bug78875.patch Patch243: php-bug79797.patch Patch244: php-bug79877.patch Patch246: php-bug79699.patch +Patch247: php-bug77423.patch # Fixes for tests (300+) # Factory is droped from system tzdata @@ -491,7 +492,7 @@ package and the php-cli package. %package devel Group: Development/Libraries Summary: Files needed for building PHP extensions -Requires: php-cli%{?_isa} = %{version}-%{release}, autoconf, automake +Requires: php-cli%{?_isa} = %{version}-%{release}, autoconf, automake, make # see "php-config --libs" Requires: krb5-devel%{?_isa} Requires: libedit-devel%{?_isa} @@ -1066,6 +1067,7 @@ echo CIBLE = %{name}-%{version}-%{release} oci8=%{with_oci8} libzip=%{with_libzi %patch243 -p1 -b .bug79797 %patch244 -p1 -b .bug79877 %patch246 -p1 -b .bug79699 +%patch247 -p1 -b .bug77423 # Fixes for tests %patch300 -p1 -b .datetests @@ -1943,7 +1945,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.2, the + the important security fix, backported from 7.3, the UPGRADE to a maintained version is very strongly RECOMMENDED. ===================================================================== @@ -2122,6 +2124,10 @@ EOF %changelog +* Mon Jan 4 2021 Remi Collet - 5.6.40-24 +- Fix #77423 FILTER_VALIDATE_URL accepts URLs with invalid userinfo + CVE-2020-7071 + * Tue Sep 29 2020 Remi Collet - 5.6.40-23 - Core: Fix #79699 PHP parses encoded cookie names so malicious `__Host-` cookies can be sent -- cgit