From 9880f2e141b82073c70c279f00646c251ff917d5 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Tue, 1 Aug 2023 15:46:12 +0200 Subject: Fix Security issue with external entity loading in XML without enabling it GHSA-3qrf-m4j2-pcrr CVE-2023-3823 Fix Buffer mismanagement in phar_dir_read() GHSA-jqcx-ccgc-xwhv CVE-2023-3824 move httpd/nginx wants directive to config files in /etc --- php73.spec | 22 ++++++++++++++++------ 1 file changed, 16 insertions(+), 6 deletions(-) (limited to 'php73.spec') diff --git a/php73.spec b/php73.spec index 68bc0fe..5edc92a 100644 --- a/php73.spec +++ b/php73.spec @@ -111,7 +111,7 @@ Summary: PHP scripting language for creating dynamic web sites Name: 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 @@ -194,6 +194,8 @@ Patch206: php-bug81744.patch Patch207: php-bug81746.patch Patch208: php-cve-2023-0662.patch Patch209: php-cve-2023-3247.patch +Patch210: php-cve-2023-3823.patch +Patch211: php-cve-2023-3824.patch # Fixes for tests (300+) # Factory is droped from system tzdata @@ -1189,6 +1191,8 @@ low-level PHP extension for the libsodium cryptographic library. %patch -P207 -p1 -b .bug81746 %patch -P208 -p1 -b .cve0662 %patch -P209 -p1 -b .cve3247 +%patch -P210 -p1 -b .cve3823 +%patch -P211 -p1 -b .cve3824 # Fixes for tests %if 0%{?fedora} >= 25 || 0%{?rhel} >= 6 @@ -1849,8 +1853,8 @@ install -m 755 -d $RPM_BUILD_ROOT/run/php-fpm install -m 755 -d $RPM_BUILD_ROOT%{_sysconfdir}/systemd/system/php-fpm.service.d install -Dm 644 %{SOURCE6} $RPM_BUILD_ROOT%{_unitdir}/php-fpm.service %if 0%{?fedora} >= 27 || 0%{?rhel} >= 8 -install -Dm 644 %{SOURCE12} $RPM_BUILD_ROOT%{_unitdir}/httpd.service.d/php-fpm.conf -install -Dm 644 %{SOURCE12} $RPM_BUILD_ROOT%{_unitdir}/nginx.service.d/php-fpm.conf +install -Dm 644 %{SOURCE12} $RPM_BUILD_ROOT%{_sysconfdir}/systemd/system/httpd.service.d/php-fpm.conf +install -Dm 644 %{SOURCE12} $RPM_BUILD_ROOT%{_sysconfdir}/systemd/system/nginx.service.d/php-fpm.conf %endif %else sed -ne '1,2p' -i $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig/php-fpm @@ -2202,8 +2206,8 @@ EOF %if %{with_systemd} %{_unitdir}/php-fpm.service %if 0%{?fedora} >= 27 || 0%{?rhel} >= 8 -%{_unitdir}/httpd.service.d/%{?scl_prefix}php-fpm.conf -%{_unitdir}/nginx.service.d/%{?scl_prefix}php-fpm.conf +%config(noreplace) %{_sysconfdir}/systemd/system/httpd.service.d/%{?scl_prefix}php-fpm.conf +%config(noreplace) %{_sysconfdir}/systemd/system/nginx.service.d/%{?scl_prefix}php-fpm.conf %endif %dir %{_sysconfdir}/systemd/system/php-fpm.service.d %dir %ghost /run/php-fpm @@ -2289,9 +2293,15 @@ EOF %changelog +* Tue Aug 1 2023 Remi Collet - 7.3.33-11 +- Fix Security issue with external entity loading in XML without enabling it + GHSA-3qrf-m4j2-pcrr CVE-2023-3823 +- Fix Buffer mismanagement in phar_dir_read() + GHSA-jqcx-ccgc-xwhv CVE-2023-3824 +- move httpd/nginx wants directive to config files in /etc + * Tue Jun 20 2023 Remi Collet - 7.3.33-10 - fix possible buffer overflow in date -- define %%php73___phpize and %%php73___phpconfig * Wed Jun 7 2023 Remi Collet - 7.3.33-9 - Fix Missing error check and insufficient random bytes in HTTP Digest -- cgit