Skip to content

Commit

Permalink
package/python3: security bump to version 3.8.4
Browse files Browse the repository at this point in the history
Fixes the following security issues:

- bpo-41162: Audit hooks are now cleared later during finalization to avoid
  missing events.

- bpo-29778: Ensure python3.dll is loaded from correct locations when Python
  is embedded (CVE-2020-15523).

- bpo-41004: The __hash__() methods of ipaddress.IPv4Interface and
  ipaddress.IPv6Interface incorrectly generated constant hash values of 32
  and 128 respectively.  This resulted in always causing hash collisions.
  The fix uses hash() to generate hash values for the tuple of (address,
  mask length, network address).

- bpo-39073: Disallow CR or LF in email.headerregistry.Address arguments to
  guard against header injection attacks.

For more details, see the changelog:
https://docs.python.org/release/3.8.4/whatsnew/changelog.html#security

Signed-off-by: Adam Duskett <[email protected]>
Signed-off-by: Yann E. MORIN <[email protected]>
(cherry picked from commit d6ff343d67383df37c0e6f1f8ec64464a1be467b)
[Peter: mention security impact]
Signed-off-by: Peter Korsgaard <[email protected]>
  • Loading branch information
aduskett authored and jacmet committed Jul 22, 2020
1 parent e39c1d1 commit 87b8b6f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions package/python3/python3.hash
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# From https://www.python.org/downloads/release/python-383/
md5 3000cf50aaa413052aef82fd2122ca78 Python-3.8.3.tar.xz
# From https://www.python.org/downloads/release/python-384/
md5 e16df33cd7b58702e57e137f8f5d13e7 Python-3.8.4.tar.xz
# Locally computed
sha256 dfab5ec723c218082fe3d5d7ae17ecbdebffa9a1aea4d64aa3a2ecdd2e795864 Python-3.8.3.tar.xz
sha256 5f41968a95afe9bc12192d7e6861aab31e80a46c46fa59d3d837def6a4cd4d37 Python-3.8.4.tar.xz
sha256 de4d1f2d2ad5ad0cfd1657a106476b31cb5db5ef9d1ff842b237c0c81f0c8a23 LICENSE
2 changes: 1 addition & 1 deletion package/python3/python3.mk
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
################################################################################

PYTHON3_VERSION_MAJOR = 3.8
PYTHON3_VERSION = $(PYTHON3_VERSION_MAJOR).3
PYTHON3_VERSION = $(PYTHON3_VERSION_MAJOR).4
PYTHON3_SOURCE = Python-$(PYTHON3_VERSION).tar.xz
PYTHON3_SITE = https://python.org/ftp/python/$(PYTHON3_VERSION)
PYTHON3_LICENSE = Python-2.0, others
Expand Down

0 comments on commit 87b8b6f

Please sign in to comment.