AlmaLinux Security Advisory
ALSA-2024:2987
Moderate: python27:2.7 security 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):
- 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.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| AlmaLinux:8 | 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:8 | python-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:8 | python-psycopg2-doc | All versions before 2.7.5-8.module_el8.9.0+3640+8d3927b5 (fixed in 2.7.5-8.module_el8.9.0+3640+8d3927b5) |
| AlmaLinux:8 | python-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:8 | python2 | All versions before 2.7.18-17.module_el8.10.0+3783+2756348e.alma (fixed in 2.7.18-17.module_el8.10.0+3783+2756348e.alma) |
| AlmaLinux:8 | python2-Cython | All versions before 0.28.1-7.module_el8.6.0+3162+01a09e5a (fixed in 0.28.1-7.module_el8.6.0+3162+01a09e5a) |
| AlmaLinux:8 | python2-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:8 | python2-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:8 | python2-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:8 | python2-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:8 | python2-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:8 | python2-backports | All versions before 1.0-16.module_el8.6.0+3162+01a09e5a (fixed in 1.0-16.module_el8.6.0+3162+01a09e5a) |
| AlmaLinux:8 | python2-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:8 | python2-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:8 | python2-bson | All versions before 3.7.0-1.module_el8.6.0+3162+01a09e5a (fixed in 3.7.0-1.module_el8.6.0+3162+01a09e5a) |
| AlmaLinux:8 | python2-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:8 | python2-coverage | All versions before 4.5.1-5.module_el8.9.0+3640+8d3927b5 (fixed in 4.5.1-5.module_el8.9.0+3640+8d3927b5) |
| AlmaLinux:8 | python2-debug | All versions before 2.7.18-17.module_el8.10.0+3783+2756348e.alma (fixed in 2.7.18-17.module_el8.10.0+3783+2756348e.alma) |
| AlmaLinux:8 | python2-devel | All versions before 2.7.18-17.module_el8.10.0+3783+2756348e.alma (fixed in 2.7.18-17.module_el8.10.0+3783+2756348e.alma) |
| AlmaLinux:8 | python2-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:8 | python2-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:8 | python2-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:8 | python2-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:8 | python2-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:8 | python2-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:8 | python2-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:8 | python2-jinja2 | All versions before 2.10-10.module_el8.10.0+3783+2756348e (fixed in 2.10-10.module_el8.10.0+3783+2756348e) |
| AlmaLinux:8 | python2-libs | All versions before 2.7.18-17.module_el8.10.0+3783+2756348e.alma (fixed in 2.7.18-17.module_el8.10.0+3783+2756348e.alma) |
| AlmaLinux:8 | python2-lxml | All versions before 4.2.3-6.module_el8.6.0+2781+fed64c13 (fixed in 4.2.3-6.module_el8.6.0+2781+fed64c13) |
| AlmaLinux:8 | python2-lxml | All versions before 4.2.3-6.module_el8.6.0+3162+01a09e5a (fixed in 4.2.3-6.module_el8.6.0+3162+01a09e5a) |
| AlmaLinux:8 | python2-markupsafe | All versions before 0.23-19.module_el8.6.0+3162+01a09e5a (fixed in 0.23-19.module_el8.6.0+3162+01a09e5a) |
| AlmaLinux:8 | python2-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:8 | python2-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:8 | python2-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:8 | python2-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:8 | python2-numpy | All versions before 1:1.14.2-16.module_el8.6.0+3162+01a09e5a (fixed in 1:1.14.2-16.module_el8.6.0+3162+01a09e5a) |
| AlmaLinux:8 | python2-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:8 | python2-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:8 | python2-numpy-f2py | All versions before 1:1.14.2-16.module_el8.6.0+3162+01a09e5a (fixed in 1:1.14.2-16.module_el8.6.0+3162+01a09e5a) |
| AlmaLinux:8 | python2-pip | All versions before 9.0.3-19.module_el8.6.0+2781+fed64c13 (fixed in 9.0.3-19.module_el8.6.0+2781+fed64c13) |
| AlmaLinux:8 | python2-pip-wheel | All versions before 9.0.3-19.module_el8.6.0+2781+fed64c13 (fixed in 9.0.3-19.module_el8.6.0+2781+fed64c13) |
| AlmaLinux:8 | python2-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:8 | python2-psycopg2 | All versions before 2.7.5-8.module_el8.9.0+3640+8d3927b5 (fixed in 2.7.5-8.module_el8.9.0+3640+8d3927b5) |
| AlmaLinux:8 | python2-psycopg2-debug | All versions before 2.7.5-8.module_el8.9.0+3640+8d3927b5 (fixed in 2.7.5-8.module_el8.9.0+3640+8d3927b5) |
| AlmaLinux:8 | python2-psycopg2-tests | All versions before 2.7.5-8.module_el8.9.0+3640+8d3927b5 (fixed in 2.7.5-8.module_el8.9.0+3640+8d3927b5) |
| AlmaLinux:8 | python2-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:8 | python2-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:8 | python2-pymongo | All versions before 3.7.0-1.module_el8.6.0+3162+01a09e5a (fixed in 3.7.0-1.module_el8.6.0+3162+01a09e5a) |
| AlmaLinux:8 | python2-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:8 | python2-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:8 | python2-pymongo-gridfs | All versions before 3.7.0-1.module_el8.6.0+3162+01a09e5a (fixed in 3.7.0-1.module_el8.6.0+3162+01a09e5a) |
| AlmaLinux:8 | python2-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:8 | python2-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:8 | python2-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:8 | python2-pytz | All versions before 2017.2-13.module_el8.9.0+3640+8d3927b5 (fixed in 2017.2-13.module_el8.9.0+3640+8d3927b5) |
| AlmaLinux:8 | python2-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:8 | python2-pyyaml | All versions before 3.12-16.module_el8.6.0+3162+01a09e5a (fixed in 3.12-16.module_el8.6.0+3162+01a09e5a) |
| AlmaLinux:8 | python2-requests | All versions before 2.20.0-4.module_el8.9.0+3640+8d3927b5 (fixed in 2.20.0-4.module_el8.9.0+3640+8d3927b5) |
| AlmaLinux:8 | python2-rpm-macros | All versions before 3-38.module_el8.6.0+2781+fed64c13 (fixed in 3-38.module_el8.6.0+2781+fed64c13) |
| AlmaLinux:8 | python2-scipy | All versions before 1.0.0-22.module_el8.9.0+3640+8d3927b5 (fixed in 1.0.0-22.module_el8.9.0+3640+8d3927b5) |
| AlmaLinux:8 | python2-setuptools | All versions before 39.0.1-14.module_el8.10.0+3783+2756348e (fixed in 39.0.1-14.module_el8.10.0+3783+2756348e) |
| AlmaLinux:8 | python2-setuptools-wheel | All versions before 39.0.1-14.module_el8.10.0+3783+2756348e (fixed in 39.0.1-14.module_el8.10.0+3783+2756348e) |
| AlmaLinux:8 | python2-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:8 | python2-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:8 | python2-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:8 | python2-sqlalchemy | All versions before 1.3.2-2.module_el8.6.0+3162+01a09e5a (fixed in 1.3.2-2.module_el8.6.0+3162+01a09e5a) |
| AlmaLinux:8 | python2-test | All versions before 2.7.18-17.module_el8.10.0+3783+2756348e.alma (fixed in 2.7.18-17.module_el8.10.0+3783+2756348e.alma) |
| AlmaLinux:8 | python2-tkinter | All versions before 2.7.18-17.module_el8.10.0+3783+2756348e.alma (fixed in 2.7.18-17.module_el8.10.0+3783+2756348e.alma) |
| AlmaLinux:8 | python2-tools | All versions before 2.7.18-17.module_el8.10.0+3783+2756348e.alma (fixed in 2.7.18-17.module_el8.10.0+3783+2756348e.alma) |
| AlmaLinux:8 | python2-urllib3 | All versions before 1.24.2-4.module_el8.10.0+3783+2756348e (fixed in 1.24.2-4.module_el8.10.0+3783+2756348e) |
| AlmaLinux:8 | python2-virtualenv | All versions before 15.1.0-22.module_el8.10.0+3783+2756348e (fixed in 15.1.0-22.module_el8.10.0+3783+2756348e) |
| AlmaLinux:8 | python2-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:8 | python2-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
- https://access.redhat.com/errata/RHSA-2024:2987
- https://access.redhat.com/security/cve/CVE-2022-40897
- https://access.redhat.com/security/cve/CVE-2022-48560
- https://access.redhat.com/security/cve/CVE-2022-48565
- https://access.redhat.com/security/cve/CVE-2023-43804
- https://access.redhat.com/security/cve/CVE-2024-22195
- https://bugzilla.redhat.com/2158559
- https://bugzilla.redhat.com/2240059
- https://bugzilla.redhat.com/2242493
- https://bugzilla.redhat.com/2249755
- https://bugzilla.redhat.com/2257854
- https://errata.almalinux.org/8/ALSA-2024-2987.html