Skip to content
OpenAdvisories
Medium ALSA-2021:4151 8 CVEs

Moderate: python27:2.7 security update

Published Nov 9, 2021 · Updated Oct 29, 2026

Summary

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.

Fixed packages 54

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

Vulnerabilities 8

References

  • report
    https://bugzilla.redhat.com/1889886
  • report
    https://bugzilla.redhat.com/1922136
  • report
    https://bugzilla.redhat.com/1928707
  • report
    https://bugzilla.redhat.com/1928904
  • report
    https://bugzilla.redhat.com/1940603
  • report
    https://bugzilla.redhat.com/1941534
  • report
    https://bugzilla.redhat.com/1945483
  • report
    https://bugzilla.redhat.com/1955615
  • advisory
    https://errata.almalinux.org/8/ALSA-2021-4151.html
  • report
    https://vulners.com/cve/CVE-2020-27619
  • report
    https://vulners.com/cve/CVE-2020-28493
  • report
    https://vulners.com/cve/CVE-2021-20095
  • report
    https://vulners.com/cve/CVE-2021-20270
  • report
    https://vulners.com/cve/CVE-2021-23336
  • report
    https://vulners.com/cve/CVE-2021-27291
  • report
    https://vulners.com/cve/CVE-2021-28957
  • report
    https://vulners.com/cve/CVE-2021-42771