mirror of
https://github.com/openresty/openresty.git
synced 2024-10-13 00:29:41 +00:00
bugfix: backport fixes for CVE-2024-24989 and CVE-2024-24990.
This commit is contained in:
@ -513,6 +513,18 @@ if [ "$answer" = "Y" ]; then
|
||||
fi
|
||||
fi
|
||||
|
||||
answer=`$root/util/ver-ge "$main_ver" 1.25.3`
|
||||
if [ "$answer" = "Y" ]; then
|
||||
answer=`$root/util/ver-ge "$main_ver" 1.25.4`
|
||||
if [ "$answer" = "N" ]; then
|
||||
echo "$info_txt applying the patch for nginx security advisory (CVE-2024-24989)"
|
||||
patch -p1 < $root/patches/nginx-CVE-2024-24989.patch || exit 1
|
||||
echo "$info_txt applying the patch for nginx security advisory (CVE-2024-24990)"
|
||||
patch -p1 < $root/patches/nginx-CVE-2024-24990.patch || exit 1
|
||||
fi
|
||||
fi
|
||||
|
||||
|
||||
echo "$info_txt applying the upstream_timeout_fields patch for nginx"
|
||||
patch -p1 < $root/patches/nginx-$main_ver-upstream_timeout_fields.patch || exit 1
|
||||
echo
|
||||
|
||||
Reference in New Issue
Block a user