ADVISORIES

AlmaLinux Security Advisory

ALSA-2021:1761

Moderate: python27:2.7 security and bug fix update

Details

Python is an interpreted, interactive, object-oriented programming language that supports modules, classes, exceptions, high-level dynamic data types, and dynamic typing. The python27 packages provide a stable release of Python 2.7 with a number of additional utilities and database connectors for MySQL and PostgreSQL.

Security Fix(es):

  • python: CRLF injection via HTTP request method in httplib/http.client (CVE-2020-26116)
  • python-urllib3: CRLF injection via HTTP request method (CVE-2020-26137)
  • python-lxml: mXSS due to the use of improper parser (CVE-2020-27783)
  • python: Stack-based buffer overflow in PyCArg_repr in _ctypes/callproc.c (CVE-2021-3177)

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: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-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-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-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-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-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-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)

References