From 4bca046330415154abfc3cbdc04ebc24b5eeaf67 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Wed, 5 Jun 2024 12:39:27 +0200 Subject: Fix filter bypass in filter_var FILTER_VALIDATE_URL CVE-2024-5458 --- php56.spec | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) (limited to 'php56.spec') diff --git a/php56.spec b/php56.spec index 9c1c2c8..438763b 100644 --- a/php56.spec +++ b/php56.spec @@ -150,7 +150,7 @@ Summary: PHP scripting language for creating dynamic web sites Name: php Version: 5.6.40 -Release: 40%{?dist} +Release: 41%{?dist} # All files licensed under PHP version 3.01, except # Zend is licensed under Zend # TSRM is licensed under BSD @@ -272,6 +272,7 @@ Patch264: php-cve-2023-3823.patch Patch265: php-cve-2023-3824.patch Patch266: php-cve-2024-2756.patch Patch267: php-cve-2024-3096.patch +Patch268: php-cve-2024-5458.patch # Fixes for tests (300+) # Factory is droped from system tzdata @@ -982,7 +983,11 @@ Group: System Environment/Libraries License: PHP Requires: php-common%{?_isa} = %{version}-%{release} # Upstream requires 4.0, we require 69.1 to ensure use of libicu69 +%if 0%{?rhel} BuildRequires: libicu-devel = 69.1 +%else +BuildRequires: libicu-devel +%endif Obsoletes: php53-intl, php53u-intl, php54-intl, php54w-intl, php55u-intl, php55w-intl, php56u-intl, php56w-intl %description intl @@ -1097,6 +1102,7 @@ echo CIBLE = %{name}-%{version}-%{release} oci8=%{with_oci8} libzip=%{with_libzi %patch -P265 -p1 -b .cve3824 %patch -P266 -p1 -b .cve2756 %patch -P267 -p1 -b .cve3096 +%patch -P268 -p1 -b .cve5458 # Fixes for tests %patch -P300 -p1 -b .datetests @@ -2145,8 +2151,12 @@ EOF %changelog +* Tue Jun 4 2024 Remi Collet - 5.6.40-41 +- Fix filter bypass in filter_var FILTER_VALIDATE_URL + CVE-2024-5458 + * Wed Apr 10 2024 Remi Collet - 5.6.40-40 -- use oracle client library version 21.13 on x86_64, 19.19 on aarch64 +- use oracle client library version 21.13 - Fix __Host-/__Secure- cookie bypass due to partial CVE-2022-31629 fix CVE-2024-2756 - Fix password_verify can erroneously return true opening ATO risk -- cgit