ADVISORIES

AlmaLinux Security Advisory

ALSA-2021:4162

Moderate: python38:3.8 and python38-devel:3.8 security update

Details

Python is an interpreted, interactive, object-oriented programming language, which includes modules, classes, exceptions, very high level dynamic data types and dynamic typing. Python supports interfaces to many system calls and libraries, as well as to various windowing systems.

Security Fix(es):

  • python-psutil: Double free because of refcount mishandling (CVE-2019-18874)
  • python-jinja2: ReDoS vulnerability in the urlize filter (CVE-2020-28493)
  • python: Information disclosure via pydoc (CVE-2021-3426)
  • python-babel: Relative path traversal allows attacker to load arbitrary locale files and execute arbitrary code (CVE-2021-20095, CVE-2021-42771)
  • python: Web cache poisoning via urllib.parse.parse_qsl and urllib.parse.parse_qs by using a semicolon in query parameters (CVE-2021-23336)
  • python-lxml: Missing input sanitization for formaction HTML5 attributes may lead to XSS (CVE-2021-28957)
  • python-ipaddress: Improper input validation of octal strings (CVE-2021-29921)
  • python-urllib3: ReDoS in the parsing of authority part of URL (CVE-2021-33503)
  • python-pip: Incorrect handling of unicode separators in git references (CVE-2021-3572)

For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.

Additional Changes:

For detailed information on changes in this release, see the AlmaLinux Release Notes linked from the References section.

Affected packages

EcosystemPackageAffected versions
AlmaLinux:8python38-Cython
All versions before 0.29.14-4.module_el8.6.0+2778+cd494b30 (fixed in 0.29.14-4.module_el8.6.0+2778+cd494b30)
AlmaLinux:8python38-PyMySQL
All versions before 0.10.1-1.module_el8.6.0+2778+cd494b30 (fixed in 0.10.1-1.module_el8.6.0+2778+cd494b30)
AlmaLinux:8python38-asn1crypto
All versions before 1.2.0-3.module_el8.6.0+2778+cd494b30 (fixed in 1.2.0-3.module_el8.6.0+2778+cd494b30)
AlmaLinux:8python38-atomicwrites
All versions before 1.3.0-8.module_el8.6.0+2778+cd494b30 (fixed in 1.3.0-8.module_el8.6.0+2778+cd494b30)
AlmaLinux:8python38-attrs
All versions before 19.3.0-3.module_el8.6.0+2778+cd494b30 (fixed in 19.3.0-3.module_el8.6.0+2778+cd494b30)
AlmaLinux:8python38-babel
All versions before 2.7.0-11.module_el8.6.0+2778+cd494b30 (fixed in 2.7.0-11.module_el8.6.0+2778+cd494b30)
AlmaLinux:8python38-cffi
All versions before 1.13.2-3.module_el8.6.0+2778+cd494b30 (fixed in 1.13.2-3.module_el8.6.0+2778+cd494b30)
AlmaLinux:8python38-chardet
All versions before 3.0.4-19.module_el8.6.0+2778+cd494b30 (fixed in 3.0.4-19.module_el8.6.0+2778+cd494b30)
AlmaLinux:8python38-cryptography
All versions before 2.8-3.module_el8.6.0+2778+cd494b30 (fixed in 2.8-3.module_el8.6.0+2778+cd494b30)
AlmaLinux:8python38-idna
All versions before 2.8-6.module_el8.6.0+2778+cd494b30 (fixed in 2.8-6.module_el8.6.0+2778+cd494b30)
AlmaLinux:8python38-jinja2
All versions before 2.10.3-5.module_el8.6.0+2778+cd494b30 (fixed in 2.10.3-5.module_el8.6.0+2778+cd494b30)
AlmaLinux:8python38-markupsafe
All versions before 1.1.1-6.module_el8.6.0+2778+cd494b30 (fixed in 1.1.1-6.module_el8.6.0+2778+cd494b30)
AlmaLinux:8python38-mod_wsgi
All versions before 4.6.8-3.module_el8.6.0+2778+cd494b30 (fixed in 4.6.8-3.module_el8.6.0+2778+cd494b30)
AlmaLinux:8python38-more-itertools
All versions before 7.2.0-5.module_el8.6.0+2778+cd494b30 (fixed in 7.2.0-5.module_el8.6.0+2778+cd494b30)
AlmaLinux:8python38-numpy
All versions before 1.17.3-6.module_el8.6.0+2778+cd494b30 (fixed in 1.17.3-6.module_el8.6.0+2778+cd494b30)
AlmaLinux:8python38-numpy-doc
All versions before 1.17.3-6.module_el8.6.0+2778+cd494b30 (fixed in 1.17.3-6.module_el8.6.0+2778+cd494b30)
AlmaLinux:8python38-numpy-f2py
All versions before 1.17.3-6.module_el8.6.0+2778+cd494b30 (fixed in 1.17.3-6.module_el8.6.0+2778+cd494b30)
AlmaLinux:8python38-packaging
All versions before 19.2-3.module_el8.6.0+2778+cd494b30 (fixed in 19.2-3.module_el8.6.0+2778+cd494b30)
AlmaLinux:8python38-pluggy
All versions before 0.13.0-3.module_el8.6.0+2778+cd494b30 (fixed in 0.13.0-3.module_el8.6.0+2778+cd494b30)
AlmaLinux:8python38-ply
All versions before 3.11-10.module_el8.6.0+2778+cd494b30 (fixed in 3.11-10.module_el8.6.0+2778+cd494b30)
AlmaLinux:8python38-psutil
All versions before 5.6.4-4.module_el8.6.0+2778+cd494b30 (fixed in 5.6.4-4.module_el8.6.0+2778+cd494b30)
AlmaLinux:8python38-psycopg2
All versions before 2.8.4-4.module_el8.6.0+2778+cd494b30 (fixed in 2.8.4-4.module_el8.6.0+2778+cd494b30)
AlmaLinux:8python38-psycopg2-doc
All versions before 2.8.4-4.module_el8.6.0+2778+cd494b30 (fixed in 2.8.4-4.module_el8.6.0+2778+cd494b30)
AlmaLinux:8python38-psycopg2-tests
All versions before 2.8.4-4.module_el8.6.0+2778+cd494b30 (fixed in 2.8.4-4.module_el8.6.0+2778+cd494b30)
AlmaLinux:8python38-py
All versions before 1.8.0-8.module_el8.6.0+2778+cd494b30 (fixed in 1.8.0-8.module_el8.6.0+2778+cd494b30)
AlmaLinux:8python38-pycparser
All versions before 2.19-3.module_el8.6.0+2778+cd494b30 (fixed in 2.19-3.module_el8.6.0+2778+cd494b30)
AlmaLinux:8python38-pyparsing
All versions before 2.4.5-3.module_el8.6.0+2778+cd494b30 (fixed in 2.4.5-3.module_el8.6.0+2778+cd494b30)
AlmaLinux:8python38-pysocks
All versions before 1.7.1-4.module_el8.6.0+2778+cd494b30 (fixed in 1.7.1-4.module_el8.6.0+2778+cd494b30)
AlmaLinux:8python38-pytest
All versions before 4.6.6-3.module_el8.6.0+2778+cd494b30 (fixed in 4.6.6-3.module_el8.6.0+2778+cd494b30)
AlmaLinux:8python38-pytz
All versions before 2019.3-3.module_el8.6.0+2778+cd494b30 (fixed in 2019.3-3.module_el8.6.0+2778+cd494b30)
AlmaLinux:8python38-pyyaml
All versions before 5.4.1-1.module_el8.6.0+2778+cd494b30 (fixed in 5.4.1-1.module_el8.6.0+2778+cd494b30)
AlmaLinux:8python38-requests
All versions before 2.22.0-9.module_el8.6.0+2778+cd494b30 (fixed in 2.22.0-9.module_el8.6.0+2778+cd494b30)
AlmaLinux:8python38-scipy
All versions before 1.3.1-4.module_el8.6.0+2778+cd494b30 (fixed in 1.3.1-4.module_el8.6.0+2778+cd494b30)
AlmaLinux:8python38-setuptools
All versions before 41.6.0-5.module_el8.6.0+2778+cd494b30 (fixed in 41.6.0-5.module_el8.6.0+2778+cd494b30)
AlmaLinux:8python38-setuptools-wheel
All versions before 41.6.0-5.module_el8.6.0+2778+cd494b30 (fixed in 41.6.0-5.module_el8.6.0+2778+cd494b30)
AlmaLinux:8python38-six
All versions before 1.12.0-10.module_el8.6.0+2778+cd494b30 (fixed in 1.12.0-10.module_el8.6.0+2778+cd494b30)
AlmaLinux:8python38-urllib3
All versions before 1.25.7-5.module_el8.6.0+2778+cd494b30 (fixed in 1.25.7-5.module_el8.6.0+2778+cd494b30)
AlmaLinux:8python38-wcwidth
All versions before 0.1.7-16.module_el8.6.0+2778+cd494b30 (fixed in 0.1.7-16.module_el8.6.0+2778+cd494b30)
AlmaLinux:8python38-wheel
All versions before 0.33.6-6.module_el8.6.0+2778+cd494b30 (fixed in 0.33.6-6.module_el8.6.0+2778+cd494b30)
AlmaLinux:8python38-wheel-wheel
All versions before 0.33.6-6.module_el8.6.0+2778+cd494b30 (fixed in 0.33.6-6.module_el8.6.0+2778+cd494b30)

References