Skip to content

Commit 105b9ac

Browse files
authored
bpo-44549: Update bzip2 to 1.0.8 in Windows builds to mitigate CVE-2016-3189 and CVE-2019-12900 (pythonGH-31731)
1 parent c1069a4 commit 105b9ac

File tree

4 files changed

+5
-3
lines changed

4 files changed

+5
-3
lines changed
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
Update bzip2 to 1.0.8 in Windows builds to mitigate CVE-2016-3189 and
2+
CVE-2019-12900

PCbuild/get_externals.bat

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ if NOT DEFINED PYTHON (
5151
echo.Fetching external libraries...
5252

5353
set libraries=
54-
set libraries=%libraries% bzip2-1.0.6
54+
set libraries=%libraries% bzip2-1.0.8
5555
if NOT "%IncludeLibffiSrc%"=="false" set libraries=%libraries% libffi-3.4.2
5656
if NOT "%IncludeSSLSrc%"=="false" set libraries=%libraries% openssl-1.1.1m
5757
set libraries=%libraries% sqlite-3.37.2.0

PCbuild/python.props

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@
6262
<ExternalsDir Condition="$(ExternalsDir) == ''">$([System.IO.Path]::GetFullPath(`$(PySourcePath)externals`))</ExternalsDir>
6363
<ExternalsDir Condition="!HasTrailingSlash($(ExternalsDir))">$(ExternalsDir)\</ExternalsDir>
6464
<sqlite3Dir>$(ExternalsDir)sqlite-3.37.2.0\</sqlite3Dir>
65-
<bz2Dir>$(ExternalsDir)bzip2-1.0.6\</bz2Dir>
65+
<bz2Dir>$(ExternalsDir)bzip2-1.0.8\</bz2Dir>
6666
<lzmaDir>$(ExternalsDir)xz-5.2.2\</lzmaDir>
6767
<libffiDir>$(ExternalsDir)libffi-3.4.2\</libffiDir>
6868
<libffiOutDir>$(ExternalsDir)libffi-3.4.2\$(ArchName)\</libffiOutDir>

PCbuild/readme.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ interpreter, but they do implement several major features. See the
162162
about getting the source for building these libraries. The sub-projects
163163
are:
164164
_bz2
165-
Python wrapper for version 1.0.6 of the libbzip2 compression library
165+
Python wrapper for version 1.0.8 of the libbzip2 compression library
166166
Homepage:
167167
http://www.bzip.org/
168168
_lzma

0 commit comments

Comments
 (0)