diff options
author | Remi Collet <remi@remirepo.net> | 2021-10-20 12:15:22 +0200 |
---|---|---|
committer | Remi Collet <remi@php.net> | 2021-10-20 12:15:22 +0200 |
commit | 1e0b327cdd97a276a06c81ba22d2308bb003807a (patch) | |
tree | 1ecc637e5c2a3e4a371b87bf5c5e53145e4aee9a /php-7.1.33-intl.patch | |
parent | d9d789e77a047aaa4806994269a847c74b5ecf29 (diff) |
fix PHP-FPM oob R/W in root process leading to priv escalation
CVE-2021-21703
use libicu version 69
use oracle client library version 21.3
Diffstat (limited to 'php-7.1.33-intl.patch')
-rw-r--r-- | php-7.1.33-intl.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/php-7.1.33-intl.patch b/php-7.1.33-intl.patch new file mode 100644 index 0000000..961fd89 --- /dev/null +++ b/php-7.1.33-intl.patch @@ -0,0 +1,13 @@ +diff -up ./ext/intl/collator/collator_sort.c.old ./ext/intl/collator/collator_sort.c +diff -up ./ext/intl/config.m4.old ./ext/intl/config.m4 +--- ./ext/intl/config.m4.old 2021-09-07 07:38:38.698104692 +0200 ++++ ./ext/intl/config.m4 2021-09-07 07:38:42.909098288 +0200 +@@ -9,7 +9,7 @@ if test "$PHP_INTL" != "no"; then + PHP_SETUP_ICU(INTL_SHARED_LIBADD) + PHP_SUBST(INTL_SHARED_LIBADD) + PHP_REQUIRE_CXX() +- INTL_COMMON_FLAGS="$ICU_INCS -Wno-write-strings -D__STDC_LIMIT_MACROS -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1" ++ INTL_COMMON_FLAGS="$ICU_INCS -Wno-write-strings -DU_DEFINE_FALSE_AND_TRUE=1 -D__STDC_LIMIT_MACROS -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1" + if test "$icu_version" -ge "4002"; then + icu_spoof_src=" spoofchecker/spoofchecker_class.c \ + spoofchecker/spoofchecker.c\ |