summaryrefslogtreecommitdiffstats
path: root/php71.spec
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2024-06-05 09:29:22 +0200
committerRemi Collet <remi@php.net>2024-06-05 09:29:22 +0200
commit6ece0a982f310b4762ceccf9a957d97d9ed5ce23 (patch)
tree15e3167c9fc94920fde33f238b39f1718236c6d6 /php71.spec
parentb3e24c777fe6ea82822992fb815a4ed7775336e9 (diff)
Fix filter bypass in filter_var FILTER_VALIDATE_URLHEADmaster
CVE-2024-5458
Diffstat (limited to 'php71.spec')
-rw-r--r--php71.spec18
1 files changed, 13 insertions, 5 deletions
diff --git a/php71.spec b/php71.spec
index ff15726..d24cd2b 100644
--- a/php71.spec
+++ b/php71.spec
@@ -27,9 +27,9 @@
%global mysql_sock %(mysql_config --socket 2>/dev/null || echo /var/lib/mysql/mysql.sock)
%ifarch aarch64
-%global oraclever 19.19
+%global oraclever 19.22
%global oraclelib 19.1
-%global oracledir 19.19
+%global oracledir 19.22
%else
%global oraclever 21.13
%global oraclelib 21.1
@@ -116,7 +116,7 @@
Summary: PHP scripting language for creating dynamic web sites
Name: php
Version: %{upver}%{?rcver:~%{rcver}}
-Release: 28%{?dist}
+Release: 29%{?dist}
# All files licensed under PHP version 3.01, except
# Zend is licensed under Zend
# TSRM is licensed under BSD
@@ -219,6 +219,7 @@ Patch239: php-cve-2023-3823.patch
Patch240: php-cve-2023-3824.patch
Patch241: php-cve-2024-2756.patch
Patch242: php-cve-2024-3096.patch
+Patch243: php-cve-2024-5458.patch
# Fixes for tests (300+)
# Factory is droped from system tzdata
@@ -970,9 +971,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
-BuildRequires: libicu-devel = 69.1
%if 0%{?rhel}
+BuildRequires: libicu-devel = 69.1
Obsoletes: php53-intl, php53u-intl, php54-intl, php54w-intl, php55u-intl, php55w-intl, php56u-intl, php56w-intl, php70u-intl, php70w-intl, php71u-intl, php71w-intl
+%else
+BuildRequires: libicu-devel
%endif
%description intl
@@ -1115,6 +1118,7 @@ support for JavaScript Object Notation (JSON) to PHP.
%patch -P240 -p1 -b .cve3824
%patch -P241 -p1 -b .cve2756
%patch -P242 -p1 -b .cve3096
+%patch -P243 -p1 -b .cve5458
# Fixes for tests
%if 0%{?fedora} >= 25 || 0%{?rhel} >= 6
@@ -2181,8 +2185,12 @@ EOF
%changelog
+* Tue Jun 4 2024 Remi Collet <remi@remirepo.net> - 7.1.33-29
+- Fix filter bypass in filter_var FILTER_VALIDATE_URL
+ CVE-2024-5458
+
* Wed Apr 10 2024 Remi Collet <remi@remirepo.net> - 7.1.33-28
-- 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