From 105b9ac00174d7bcc653f9e9dc5052215e197c77 Mon Sep 17 00:00:00 2001 From: Steve Dower Date: Mon, 7 Mar 2022 18:23:29 +0000 Subject: [PATCH] bpo-44549: Update bzip2 to 1.0.8 in Windows builds to mitigate CVE-2016-3189 and CVE-2019-12900 (GH-31731) --- .../next/Windows/2022-03-07-17-46-40.bpo-44549.SPrGS9.rst | 2 ++ PCbuild/get_externals.bat | 2 +- PCbuild/python.props | 2 +- PCbuild/readme.txt | 2 +- 4 files changed, 5 insertions(+), 3 deletions(-) create mode 100644 Misc/NEWS.d/next/Windows/2022-03-07-17-46-40.bpo-44549.SPrGS9.rst diff --git a/Misc/NEWS.d/next/Windows/2022-03-07-17-46-40.bpo-44549.SPrGS9.rst b/Misc/NEWS.d/next/Windows/2022-03-07-17-46-40.bpo-44549.SPrGS9.rst new file mode 100644 index 00000000000..0f1ef9af6c6 --- /dev/null +++ b/Misc/NEWS.d/next/Windows/2022-03-07-17-46-40.bpo-44549.SPrGS9.rst @@ -0,0 +1,2 @@ +Update bzip2 to 1.0.8 in Windows builds to mitigate CVE-2016-3189 and +CVE-2019-12900 diff --git a/PCbuild/get_externals.bat b/PCbuild/get_externals.bat index d4e052ef32c..b8279e2c789 100644 --- a/PCbuild/get_externals.bat +++ b/PCbuild/get_externals.bat @@ -51,7 +51,7 @@ if NOT DEFINED PYTHON ( echo.Fetching external libraries... set libraries= -set libraries=%libraries% bzip2-1.0.6 +set libraries=%libraries% bzip2-1.0.8 if NOT "%IncludeLibffiSrc%"=="false" set libraries=%libraries% libffi-3.4.2 if NOT "%IncludeSSLSrc%"=="false" set libraries=%libraries% openssl-1.1.1m set libraries=%libraries% sqlite-3.37.2.0 diff --git a/PCbuild/python.props b/PCbuild/python.props index c614c151c90..71531b5a236 100644 --- a/PCbuild/python.props +++ b/PCbuild/python.props @@ -62,7 +62,7 @@ $([System.IO.Path]::GetFullPath(`$(PySourcePath)externals`)) $(ExternalsDir)\ $(ExternalsDir)sqlite-3.37.2.0\ - $(ExternalsDir)bzip2-1.0.6\ + $(ExternalsDir)bzip2-1.0.8\ $(ExternalsDir)xz-5.2.2\ $(ExternalsDir)libffi-3.4.2\ $(ExternalsDir)libffi-3.4.2\$(ArchName)\ diff --git a/PCbuild/readme.txt b/PCbuild/readme.txt index 9f5a513445d..69531f06556 100644 --- a/PCbuild/readme.txt +++ b/PCbuild/readme.txt @@ -162,7 +162,7 @@ interpreter, but they do implement several major features. See the about getting the source for building these libraries. The sub-projects are: _bz2 - Python wrapper for version 1.0.6 of the libbzip2 compression library + Python wrapper for version 1.0.8 of the libbzip2 compression library Homepage: http://www.bzip.org/ _lzma