php: security bump to 7.3.1
PATCH 1/1 php: security bump to 7.3.1
From: Adam Duskett <[email protected]>
Fixes the following security issue:
- CVE-2018-19935: Allows remote attackers to cause a denial of service (NULL pointer dereference and application crash) via an empty string in the message argument to the imap_mail function.
https://www.cvedetails.com/cve/CVE-2018-19935/
--- package/php/php.hash | 2 +- package/php/php.mk | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-)
package/php/php.hash +1 -1
@@ -1,5 +1,5 @@ # From http://php.net/downloads.php -sha256 7d195cad55af8b288c3919c67023a14ff870a73e3acc2165a6d17a4850a560b5 php-7.3.0.tar.xz +sha256 cfe93e40be0350cd53c4a579f52fe5d8faf9c6db047f650a4566a2276bf33362 php-7.3.1.tar.xz # License file sha256 f689b8fa63bea7950ce6a21bf52ed88ea0d77673ee76e6de12f51191174d91b8 LICENSE
package/php/php.mk +4 -4
@@ -4,7 +4,7 @@ # ################################################################################ -PHP_VERSION = 7.3.0 +PHP_VERSION = 7.3.1 PHP_SITE = http://www.php.net/distributions PHP_SOURCE = php-$(PHP_VERSION).tar.xz PHP_INSTALL_STAGING = YES
@@ -243,9 +243,9 @@ endef PHP_POST_CONFIGURE_HOOKS += PHP_DISABLE_VALGRIND ### Use external PCRE if it's available -ifeq ($(BR2_PACKAGE_PCRE),y) -PHP_CONF_OPTS += --with-pcre-regex -PHP_DEPENDENCIES += pcre +ifeq ($(BR2_PACKAGE_PCRE2),y) +PHP_CONF_OPTS += --with-pcre-regex=$(STAGING_DIR)/usr +PHP_DEPENDENCIES += pcre2 else # The bundled pcre library is not configurable through ./configure options, # and by default is configured to be thread-safe, so it wants pthreads. So
Signature · 1 line
2.20.1
PATCH 1/1 php: security bump to 7.3.1
Quoted 41 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"aduskett" == aduskett <[email protected]> writes:
From: Adam Duskett <[email protected]>
Fixes the following security issue:- CVE-2018-19935: Allows remote attackers to cause a denial of service (NULL pointer dereference and application crash) via an empty string in the message argument to the
imap_mailfunction.
https://www.cvedetails.com/cve/CVE-2018-19935/Signed-off-by Adam Duskett <[email protected]>--- package/php/php.hash | 2 +- package/php/php.mk | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-)package/php/php.hash +1
-1@@ -1,5 +1,5 @@ # From http://php.net/downloads.php -sha256 7d195cad55af8b288c3919c67023a14ff870a73e3acc2165a6d17a4850a560b5 php-7.3.0.tar.xz +sha256 cfe93e40be0350cd53c4a579f52fe5d8faf9c6db047f650a4566a2276bf33362 php-7.3.1.tar.xz # License file sha256 f689b8fa63bea7950ce6a21bf52ed88ea0d77673ee76e6de12f51191174d91b8 LICENSEpackage/php/php.mk +1
-1@@ -4,7 +4,7 @@ # ################################################################################ -PHP_VERSION = 7.3.0 +PHP_VERSION = 7.3.1 PHP_SITE = http://www.php.net/distributions PHP_SOURCE = php-$(PHP_VERSION).tar.xz PHP_INSTALL_STAGING = YES
package/php/php.mk endef · line 248
Quoted 9 lines
package/php/php.mk +3
-3@@ -243,9 +243,9 @@ endef PHP_POST_CONFIGURE_HOOKS += PHP_DISABLE_VALGRIND ### Use external PCRE if it's available -ifeq ($(BR2_PACKAGE_PCRE),y) -PHP_CONF_OPTS += --with-pcre-regex -PHP_DEPENDENCIES += pcre +ifeq ($(BR2_PACKAGE_PCRE2),y) +PHP_CONF_OPTS += --with-pcre-regex=$(STAGING_DIR)/usr +PHP_DEPENDENCIES += pcre2
The pcre2 changes should not be part of the version bump. Committed with that dropped, thanks.
Signature · 1 line
Bye, Peter Korsgaard
PATCH 1/1 php: security bump to 7.3.1
In reply to aduskett at gmail.comQuoted 11 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"aduskett" == aduskett <[email protected]> writes:
From: Adam Duskett <[email protected]>
Fixes the following security issue:- CVE-2018-19935: Allows remote attackers to cause a denial of service (NULL pointer dereference and application crash) via an empty string in the message argument to the
imap_mailfunction.
https://www.cvedetails.com/cve/CVE-2018-19935/Signed-off-by Adam Duskett <[email protected]>
Given the fallout from moving to 7.3.x, I have NOT applied this to 2018.02.x / 2018.11.x. Instead I have applied a patch to bump the version to 7.2.14, which fixes the same CVE.
Signature · 1 line
Bye, Peter Korsgaard