ADVISORIES

AlmaLinux Security Advisory

ALSA-2021:4151

Moderate: python27:2.7 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: Unsafe use of eval() on data retrieved via HTTP in the test suite (CVE-2020-27619)
  • python-jinja2: ReDoS vulnerability in the urlize filter (CVE-2020-28493)
  • python-babel: Relative path traversal allows attacker to load arbitrary locale files and execute arbitrary code (CVE-2021-20095, CVE-2021-42771)
  • python-pygments: Infinite loop in SML lexer may lead to DoS (CVE-2021-20270)
  • 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-pygments: ReDoS in multiple lexers (CVE-2021-27291)
  • python-lxml: Missing input sanitization for formaction HTML5 attributes may lead to XSS (CVE-2021-28957)

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:8babel
All versions before 2.5.1-10.module_el8.6.0+2781+fed64c13 (fixed in 2.5.1-10.module_el8.6.0+2781+fed64c13)
AlmaLinux:8python-nose-docs
All versions before 1.3.7-31.module_el8.6.0+2781+fed64c13 (fixed in 1.3.7-31.module_el8.6.0+2781+fed64c13)
AlmaLinux:8python-nose-docs
All versions before 1.3.7-31.module_el8.5.0+2569+5c5719bc (fixed in 1.3.7-31.module_el8.5.0+2569+5c5719bc)
AlmaLinux:8python-psycopg2-doc
All versions before 2.7.5-7.module_el8.6.0+2781+fed64c13 (fixed in 2.7.5-7.module_el8.6.0+2781+fed64c13)
AlmaLinux:8python-sqlalchemy-doc
All versions before 1.3.2-2.module_el8.6.0+2781+fed64c13 (fixed in 1.3.2-2.module_el8.6.0+2781+fed64c13)
AlmaLinux:8python-sqlalchemy-doc
All versions before 1.3.2-2.module_el8.5.0+2569+5c5719bc (fixed in 1.3.2-2.module_el8.5.0+2569+5c5719bc)
AlmaLinux:8python2-Cython
All versions before 0.28.1-7.module_el8.6.0+2781+fed64c13 (fixed in 0.28.1-7.module_el8.6.0+2781+fed64c13)
AlmaLinux:8python2-PyMySQL
All versions before 0.8.0-10.module_el8.6.0+2781+fed64c13 (fixed in 0.8.0-10.module_el8.6.0+2781+fed64c13)
AlmaLinux:8python2-attrs
All versions before 17.4.0-10.module_el8.6.0+2781+fed64c13 (fixed in 17.4.0-10.module_el8.6.0+2781+fed64c13)
AlmaLinux:8python2-babel
All versions before 2.5.1-10.module_el8.6.0+2781+fed64c13 (fixed in 2.5.1-10.module_el8.6.0+2781+fed64c13)
AlmaLinux:8python2-backports
All versions before 1.0-16.module_el8.6.0+2781+fed64c13 (fixed in 1.0-16.module_el8.6.0+2781+fed64c13)
AlmaLinux:8python2-backports-ssl_match_hostname
All versions before 3.5.0.1-12.module_el8.6.0+2781+fed64c13 (fixed in 3.5.0.1-12.module_el8.6.0+2781+fed64c13)
AlmaLinux:8python2-bson
All versions before 3.7.0-1.module_el8.6.0+2781+fed64c13 (fixed in 3.7.0-1.module_el8.6.0+2781+fed64c13)
AlmaLinux:8python2-chardet
All versions before 3.0.4-10.module_el8.6.0+2781+fed64c13 (fixed in 3.0.4-10.module_el8.6.0+2781+fed64c13)
AlmaLinux:8python2-coverage
All versions before 4.5.1-4.module_el8.6.0+2781+fed64c13 (fixed in 4.5.1-4.module_el8.6.0+2781+fed64c13)
AlmaLinux:8python2-dns
All versions before 1.15.0-10.module_el8.6.0+2781+fed64c13 (fixed in 1.15.0-10.module_el8.6.0+2781+fed64c13)
AlmaLinux:8python2-docs
All versions before 2.7.16-2.module_el8.6.0+2781+fed64c13 (fixed in 2.7.16-2.module_el8.6.0+2781+fed64c13)
AlmaLinux:8python2-docs-info
All versions before 2.7.16-2.module_el8.6.0+2781+fed64c13 (fixed in 2.7.16-2.module_el8.6.0+2781+fed64c13)
AlmaLinux:8python2-docutils
All versions before 0.14-12.module_el8.6.0+2781+fed64c13 (fixed in 0.14-12.module_el8.6.0+2781+fed64c13)
AlmaLinux:8python2-funcsigs
All versions before 1.0.2-13.module_el8.6.0+2781+fed64c13 (fixed in 1.0.2-13.module_el8.6.0+2781+fed64c13)
AlmaLinux:8python2-idna
All versions before 2.5-7.module_el8.6.0+2781+fed64c13 (fixed in 2.5-7.module_el8.6.0+2781+fed64c13)
AlmaLinux:8python2-ipaddress
All versions before 1.0.18-6.module_el8.6.0+2781+fed64c13 (fixed in 1.0.18-6.module_el8.6.0+2781+fed64c13)
AlmaLinux:8python2-jinja2
All versions before 2.10-9.module_el8.6.0+2781+fed64c13 (fixed in 2.10-9.module_el8.6.0+2781+fed64c13)
AlmaLinux:8python2-markupsafe
All versions before 0.23-19.module_el8.6.0+2781+fed64c13 (fixed in 0.23-19.module_el8.6.0+2781+fed64c13)
AlmaLinux:8python2-mock
All versions before 2.0.0-13.module_el8.6.0+2781+fed64c13 (fixed in 2.0.0-13.module_el8.6.0+2781+fed64c13)
AlmaLinux:8python2-nose
All versions before 1.3.7-31.module_el8.6.0+2781+fed64c13 (fixed in 1.3.7-31.module_el8.6.0+2781+fed64c13)
AlmaLinux:8python2-numpy
All versions before 1:1.14.2-16.module_el8.6.0+2781+fed64c13 (fixed in 1:1.14.2-16.module_el8.6.0+2781+fed64c13)
AlmaLinux:8python2-numpy-doc
All versions before 1:1.14.2-16.module_el8.6.0+2781+fed64c13 (fixed in 1:1.14.2-16.module_el8.6.0+2781+fed64c13)
AlmaLinux:8python2-numpy-f2py
All versions before 1:1.14.2-16.module_el8.6.0+2781+fed64c13 (fixed in 1:1.14.2-16.module_el8.6.0+2781+fed64c13)
AlmaLinux:8python2-pluggy
All versions before 0.6.0-8.module_el8.6.0+2781+fed64c13 (fixed in 0.6.0-8.module_el8.6.0+2781+fed64c13)
AlmaLinux:8python2-psycopg2
All versions before 2.7.5-7.module_el8.6.0+2781+fed64c13 (fixed in 2.7.5-7.module_el8.6.0+2781+fed64c13)
AlmaLinux:8python2-psycopg2-debug
All versions before 2.7.5-7.module_el8.6.0+2781+fed64c13 (fixed in 2.7.5-7.module_el8.6.0+2781+fed64c13)
AlmaLinux:8python2-psycopg2-tests
All versions before 2.7.5-7.module_el8.6.0+2781+fed64c13 (fixed in 2.7.5-7.module_el8.6.0+2781+fed64c13)
AlmaLinux:8python2-py
All versions before 1.5.3-6.module_el8.6.0+2781+fed64c13 (fixed in 1.5.3-6.module_el8.6.0+2781+fed64c13)
AlmaLinux:8python2-pygments
All versions before 2.2.0-22.module_el8.6.0+2781+fed64c13 (fixed in 2.2.0-22.module_el8.6.0+2781+fed64c13)
AlmaLinux:8python2-pymongo
All versions before 3.7.0-1.module_el8.6.0+2781+fed64c13 (fixed in 3.7.0-1.module_el8.6.0+2781+fed64c13)
AlmaLinux:8python2-pymongo-gridfs
All versions before 3.7.0-1.module_el8.6.0+2781+fed64c13 (fixed in 3.7.0-1.module_el8.6.0+2781+fed64c13)
AlmaLinux:8python2-pysocks
All versions before 1.6.8-6.module_el8.6.0+2781+fed64c13 (fixed in 1.6.8-6.module_el8.6.0+2781+fed64c13)
AlmaLinux:8python2-pytest
All versions before 3.4.2-13.module_el8.6.0+2781+fed64c13 (fixed in 3.4.2-13.module_el8.6.0+2781+fed64c13)
AlmaLinux:8python2-pytest-mock
All versions before 1.9.0-4.module_el8.6.0+2781+fed64c13 (fixed in 1.9.0-4.module_el8.6.0+2781+fed64c13)
AlmaLinux:8python2-pytz
All versions before 2017.2-12.module_el8.6.0+2781+fed64c13 (fixed in 2017.2-12.module_el8.6.0+2781+fed64c13)
AlmaLinux:8python2-pyyaml
All versions before 3.12-16.module_el8.6.0+2781+fed64c13 (fixed in 3.12-16.module_el8.6.0+2781+fed64c13)
AlmaLinux:8python2-requests
All versions before 2.20.0-3.module_el8.6.0+2781+fed64c13 (fixed in 2.20.0-3.module_el8.6.0+2781+fed64c13)
AlmaLinux:8python2-rpm-macros
All versions before 3-38.module_el8.6.0+2781+fed64c13 (fixed in 3-38.module_el8.6.0+2781+fed64c13)
AlmaLinux:8python2-scipy
All versions before 1.0.0-21.module_el8.6.0+2781+fed64c13 (fixed in 1.0.0-21.module_el8.6.0+2781+fed64c13)
AlmaLinux:8python2-setuptools
All versions before 39.0.1-13.module_el8.6.0+2781+fed64c13 (fixed in 39.0.1-13.module_el8.6.0+2781+fed64c13)
AlmaLinux:8python2-setuptools-wheel
All versions before 39.0.1-13.module_el8.6.0+2781+fed64c13 (fixed in 39.0.1-13.module_el8.6.0+2781+fed64c13)
AlmaLinux:8python2-setuptools_scm
All versions before 1.15.7-6.module_el8.6.0+2781+fed64c13 (fixed in 1.15.7-6.module_el8.6.0+2781+fed64c13)
AlmaLinux:8python2-six
All versions before 1.11.0-6.module_el8.6.0+2781+fed64c13 (fixed in 1.11.0-6.module_el8.6.0+2781+fed64c13)
AlmaLinux:8python2-sqlalchemy
All versions before 1.3.2-2.module_el8.6.0+2781+fed64c13 (fixed in 1.3.2-2.module_el8.6.0+2781+fed64c13)
AlmaLinux:8python2-urllib3
All versions before 1.24.2-3.module_el8.6.0+2781+fed64c13 (fixed in 1.24.2-3.module_el8.6.0+2781+fed64c13)
AlmaLinux:8python2-virtualenv
All versions before 15.1.0-21.module_el8.6.0+2781+fed64c13 (fixed in 15.1.0-21.module_el8.6.0+2781+fed64c13)
AlmaLinux:8python2-wheel
All versions before 1:0.31.1-3.module_el8.6.0+2781+fed64c13 (fixed in 1:0.31.1-3.module_el8.6.0+2781+fed64c13)
AlmaLinux:8python2-wheel-wheel
All versions before 1:0.31.1-3.module_el8.6.0+2781+fed64c13 (fixed in 1:0.31.1-3.module_el8.6.0+2781+fed64c13)

References