Skip to content
OpenAdvisories
Medium ALSA-2024:2987 5 CVEs

Moderate: python27:2.7 security update

Published May 22, 2024 · Updated Oct 29, 2026

Summary

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

* pypa-setuptools: Regular Expression Denial of Service (ReDoS) in package_index.py (CVE-2022-40897)
* python: use after free in heappushpop() of heapq module (CVE-2022-48560)
* python: XML External Entity in XML processing plistlib module (CVE-2022-48565)
* python-urllib3: Cookie request header isn't stripped during cross-origin redirects (CVE-2023-43804)
* jinja2: HTML attribute injection when passing user input as keys to xmlattr filter (CVE-2024-22195)

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 73

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-psycopg2-doc 2.7.5-8.module_el8.9.0+3640+8d3927b5
AlmaLinux · 8 python-sqlalchemy-doc 1.3.2-2.module_el8.6.0+2781+fed64c13
AlmaLinux · 8 python2 2.7.18-17.module_el8.10.0+3783+2756348e.alma
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 1.0-16.module_el8.6.0+3162+01a09e5a
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-bson 3.7.0-1.module_el8.6.0+3162+01a09e5a
AlmaLinux · 8 python2-chardet 3.0.4-10.module_el8.6.0+2781+fed64c13
AlmaLinux · 8 python2-coverage 4.5.1-5.module_el8.9.0+3640+8d3927b5
AlmaLinux · 8 python2-Cython 0.28.1-7.module_el8.6.0+3162+01a09e5a
AlmaLinux · 8 python2-Cython 0.28.1-7.module_el8.6.0+2781+fed64c13
AlmaLinux · 8 python2-debug 2.7.18-17.module_el8.10.0+3783+2756348e.alma
AlmaLinux · 8 python2-devel 2.7.18-17.module_el8.10.0+3783+2756348e.alma
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-10.module_el8.10.0+3783+2756348e
AlmaLinux · 8 python2-libs 2.7.18-17.module_el8.10.0+3783+2756348e.alma
AlmaLinux · 8 python2-lxml 4.2.3-6.module_el8.6.0+2781+fed64c13
AlmaLinux · 8 python2-lxml 4.2.3-6.module_el8.6.0+3162+01a09e5a
AlmaLinux · 8 python2-markupsafe 0.23-19.module_el8.6.0+3162+01a09e5a
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 1:1.14.2-16.module_el8.6.0+3162+01a09e5a
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-numpy-f2py 1:1.14.2-16.module_el8.6.0+3162+01a09e5a
AlmaLinux · 8 python2-pip 9.0.3-19.module_el8.6.0+2781+fed64c13
AlmaLinux · 8 python2-pip-wheel 9.0.3-19.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-8.module_el8.9.0+3640+8d3927b5
AlmaLinux · 8 python2-psycopg2-debug 2.7.5-8.module_el8.9.0+3640+8d3927b5
AlmaLinux · 8 python2-psycopg2-tests 2.7.5-8.module_el8.9.0+3640+8d3927b5
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+3162+01a09e5a
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-pymongo-gridfs 3.7.0-1.module_el8.6.0+3162+01a09e5a
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-13.module_el8.9.0+3640+8d3927b5
AlmaLinux · 8 python2-pyyaml 3.12-16.module_el8.6.0+2781+fed64c13
AlmaLinux · 8 python2-pyyaml 3.12-16.module_el8.6.0+3162+01a09e5a
AlmaLinux · 8 python2-requests 2.20.0-4.module_el8.9.0+3640+8d3927b5
AlmaLinux · 8 python2-rpm-macros 3-38.module_el8.6.0+2781+fed64c13
AlmaLinux · 8 python2-scipy 1.0.0-22.module_el8.9.0+3640+8d3927b5
AlmaLinux · 8 python2-setuptools 39.0.1-14.module_el8.10.0+3783+2756348e
AlmaLinux · 8 python2-setuptools_scm 1.15.7-6.module_el8.6.0+2781+fed64c13
AlmaLinux · 8 python2-setuptools-wheel 39.0.1-14.module_el8.10.0+3783+2756348e
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-sqlalchemy 1.3.2-2.module_el8.6.0+3162+01a09e5a
AlmaLinux · 8 python2-test 2.7.18-17.module_el8.10.0+3783+2756348e.alma
AlmaLinux · 8 python2-tkinter 2.7.18-17.module_el8.10.0+3783+2756348e.alma
AlmaLinux · 8 python2-tools 2.7.18-17.module_el8.10.0+3783+2756348e.alma
AlmaLinux · 8 python2-urllib3 1.24.2-4.module_el8.10.0+3783+2756348e
AlmaLinux · 8 python2-virtualenv 15.1.0-22.module_el8.10.0+3783+2756348e
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 5

References

  • report
    https://access.redhat.com/security/cve/CVE-2022-40897
  • report
    https://access.redhat.com/security/cve/CVE-2022-48560
  • report
    https://access.redhat.com/security/cve/CVE-2022-48565
  • report
    https://access.redhat.com/security/cve/CVE-2023-43804
  • report
    https://access.redhat.com/security/cve/CVE-2024-22195
  • report
    https://bugzilla.redhat.com/2158559
  • report
    https://bugzilla.redhat.com/2240059
  • report
    https://bugzilla.redhat.com/2242493
  • report
    https://bugzilla.redhat.com/2249755
  • report
    https://bugzilla.redhat.com/2257854
  • advisory
    https://errata.almalinux.org/8/ALSA-2024-2987.html