From: Zachary Ware Date: Tue, 1 Nov 2022 18:02:51 +0000 (-0500) Subject: gh-98689: Update Windows builds to zlib v1.2.13 (GH-98968) X-Git-Tag: v3.12.0a2~175 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=c0859743d9ad3bbd4c021200f4162cfeadc0c17a;p=thirdparty%2FPython%2Fcpython.git gh-98689: Update Windows builds to zlib v1.2.13 (GH-98968) --- diff --git a/Misc/NEWS.d/next/Windows/2022-11-01-11-07-33.gh-issue-98689.0f6e_N.rst b/Misc/NEWS.d/next/Windows/2022-11-01-11-07-33.gh-issue-98689.0f6e_N.rst new file mode 100644 index 000000000000..295debb81369 --- /dev/null +++ b/Misc/NEWS.d/next/Windows/2022-11-01-11-07-33.gh-issue-98689.0f6e_N.rst @@ -0,0 +1,2 @@ +Update Windows builds to zlib v1.2.13. v1.2.12 has CVE-2022-37434, but +the vulnerable ``inflateGetHeader`` API is not used by Python. diff --git a/PCbuild/get_externals.bat b/PCbuild/get_externals.bat index 681c79f85d0c..98cca979fdfc 100644 --- a/PCbuild/get_externals.bat +++ b/PCbuild/get_externals.bat @@ -59,7 +59,7 @@ if NOT "%IncludeTkinterSrc%"=="false" set libraries=%libraries% tcl-core-8.6.12. if NOT "%IncludeTkinterSrc%"=="false" set libraries=%libraries% tk-8.6.12.1 if NOT "%IncludeTkinterSrc%"=="false" set libraries=%libraries% tix-8.4.3.6 set libraries=%libraries% xz-5.2.5 -set libraries=%libraries% zlib-1.2.12 +set libraries=%libraries% zlib-1.2.13 for %%e in (%libraries%) do ( if exist "%EXTERNALS_DIR%\%%e" ( diff --git a/PCbuild/python.props b/PCbuild/python.props index 5fa32dfffd17..320d41f4cc20 100644 --- a/PCbuild/python.props +++ b/PCbuild/python.props @@ -71,7 +71,7 @@ $(ExternalsDir)openssl-bin-1.1.1q\$(ArchName)\ $(opensslOutDir)include $(ExternalsDir)\nasm-2.11.06\ - $(ExternalsDir)\zlib-1.2.12\ + $(ExternalsDir)\zlib-1.2.13\ _d