Skip to content

Commit

Permalink
chore: Upgrade bundled Expat to 2.6.0
Browse files Browse the repository at this point in the history
Update the bundled Expat library to version 2.6.0 for the fix
related to CVE-2023-52425.
  • Loading branch information
t5scc committed Apr 29, 2024
1 parent c7353cb commit 70bb485
Show file tree
Hide file tree
Showing 6 changed files with 30 additions and 18 deletions.
8 changes: 5 additions & 3 deletions 3.10/x86/deplib/build_expat.sh
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
#!/bin/sh

# https://github.com/libexpat/libexpat/releases/download/R_2_5_0/expat-2.5.0.tar.gz
# https://github.com/libexpat/libexpat/releases/download/R_2_6_0/expat-2.6.0.tar.gz
# Please upgrade bundled Expat to 2.6.0 (e.g. for the fix to CVE-2023-52425)
# https://github.com/python/cpython/issues/115399
set -e
export EXPAT_VERSION=2.5.0
export EXPAT_LITERIAL_VERSION=2_5_0
export EXPAT_VERSION=2.6.0
export EXPAT_LITERIAL_VERSION=2_6_0

wget https://github.com/libexpat/libexpat/releases/download/R_${EXPAT_LITERIAL_VERSION}/expat-${EXPAT_VERSION}.tar.gz

Expand Down
8 changes: 5 additions & 3 deletions 3.10/x86_64/deplib/build_expat.sh
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
#!/bin/sh

# https://github.com/libexpat/libexpat/releases/download/R_2_5_0/expat-2.5.0.tar.gz
# https://github.com/libexpat/libexpat/releases/download/R_2_6_0/expat-2.6.0.tar.gz
# Please upgrade bundled Expat to 2.6.0 (e.g. for the fix to CVE-2023-52425)
# https://github.com/python/cpython/issues/115399
set -e
export EXPAT_VERSION=2.5.0
export EXPAT_LITERIAL_VERSION=2_5_0
export EXPAT_VERSION=2.6.0
export EXPAT_LITERIAL_VERSION=2_6_0

wget https://github.com/libexpat/libexpat/releases/download/R_${EXPAT_LITERIAL_VERSION}/expat-${EXPAT_VERSION}.tar.gz

Expand Down
8 changes: 5 additions & 3 deletions 3.11/x86/deplib/build_expat.sh
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
#!/bin/sh

# https://github.com/libexpat/libexpat/releases/download/R_2_5_0/expat-2.5.0.tar.gz
# https://github.com/libexpat/libexpat/releases/download/R_2_6_0/expat-2.6.0.tar.gz
# Please upgrade bundled Expat to 2.6.0 (e.g. for the fix to CVE-2023-52425)
# https://github.com/python/cpython/issues/115399
set -e
export EXPAT_VERSION=2.5.0
export EXPAT_LITERIAL_VERSION=2_5_0
export EXPAT_VERSION=2.6.0
export EXPAT_LITERIAL_VERSION=2_6_0

wget https://github.com/libexpat/libexpat/releases/download/R_${EXPAT_LITERIAL_VERSION}/expat-${EXPAT_VERSION}.tar.gz

Expand Down
8 changes: 5 additions & 3 deletions 3.11/x86_64/deplib/build_expat.sh
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
#!/bin/sh

# https://github.com/libexpat/libexpat/releases/download/R_2_5_0/expat-2.5.0.tar.gz
# https://github.com/libexpat/libexpat/releases/download/R_2_6_0/expat-2.6.0.tar.gz
# Please upgrade bundled Expat to 2.6.0 (e.g. for the fix to CVE-2023-52425)
# https://github.com/python/cpython/issues/115399
set -e
export EXPAT_VERSION=2.5.0
export EXPAT_LITERIAL_VERSION=2_5_0
export EXPAT_VERSION=2.6.0
export EXPAT_LITERIAL_VERSION=2_6_0

wget https://github.com/libexpat/libexpat/releases/download/R_${EXPAT_LITERIAL_VERSION}/expat-${EXPAT_VERSION}.tar.gz

Expand Down
8 changes: 5 additions & 3 deletions 3.12/x86/deplib/build_expat.sh
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
#!/bin/sh

# https://github.com/libexpat/libexpat/releases/download/R_2_5_0/expat-2.5.0.tar.gz
# https://github.com/libexpat/libexpat/releases/download/R_2_6_0/expat-2.6.0.tar.gz
# Please upgrade bundled Expat to 2.6.0 (e.g. for the fix to CVE-2023-52425)
# https://github.com/python/cpython/issues/115399
set -e
export EXPAT_VERSION=2.5.0
export EXPAT_LITERIAL_VERSION=2_5_0
export EXPAT_VERSION=2.6.0
export EXPAT_LITERIAL_VERSION=2_6_0

wget https://github.com/libexpat/libexpat/releases/download/R_${EXPAT_LITERIAL_VERSION}/expat-${EXPAT_VERSION}.tar.gz

Expand Down
8 changes: 5 additions & 3 deletions 3.12/x86_64/deplib/build_expat.sh
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
#!/bin/sh

# https://github.com/libexpat/libexpat/releases/download/R_2_5_0/expat-2.5.0.tar.gz
# https://github.com/libexpat/libexpat/releases/download/R_2_6_0/expat-2.6.0.tar.gz
# Please upgrade bundled Expat to 2.6.0 (e.g. for the fix to CVE-2023-52425)
# https://github.com/python/cpython/issues/115399
set -e
export EXPAT_VERSION=2.5.0
export EXPAT_LITERIAL_VERSION=2_5_0
export EXPAT_VERSION=2.6.0
export EXPAT_LITERIAL_VERSION=2_6_0

wget https://github.com/libexpat/libexpat/releases/download/R_${EXPAT_LITERIAL_VERSION}/expat-${EXPAT_VERSION}.tar.gz

Expand Down

0 comments on commit 70bb485

Please sign in to comment.