AlmaLinux Security Advisory
ALSA-2022:1821
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):
- python: urllib: Regular expression DoS in AbstractBasicAuthHandler (CVE-2021-3733)
- python: ftplib should not use the host from the PASV response (CVE-2021-4189)
- python-lxml: HTML Cleaner allows crafted and SVG embedded scripts to pass through (CVE-2021-43818)
- python: urllib.parse does not sanitize URLs containing ASCII newline and tabs (CVE-2022-0391)
- python: urllib: HTTP client possible infinite loop on a 100 Continue response (CVE-2021-3737)
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-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:8 | python-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: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 | python-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:8 | python2 | All versions before 2.7.18-10.module_el8.6.0+2781+fed64c13.alma (fixed in 2.7.18-10.module_el8.6.0+2781+fed64c13.alma) |
| 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-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-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-4.module_el8.6.0+2781+fed64c13 (fixed in 4.5.1-4.module_el8.6.0+2781+fed64c13) |
| AlmaLinux:8 | python2-debug | All versions before 2.7.18-10.module_el8.6.0+2781+fed64c13.alma (fixed in 2.7.18-10.module_el8.6.0+2781+fed64c13.alma) |
| AlmaLinux:8 | python2-devel | All versions before 2.7.18-10.module_el8.6.0+2781+fed64c13.alma (fixed in 2.7.18-10.module_el8.6.0+2781+fed64c13.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-9.module_el8.6.0+2781+fed64c13 (fixed in 2.10-9.module_el8.6.0+2781+fed64c13) |
| AlmaLinux:8 | python2-libs | All versions before 2.7.18-10.module_el8.6.0+2781+fed64c13.alma (fixed in 2.7.18-10.module_el8.6.0+2781+fed64c13.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-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-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-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-7.module_el8.6.0+2781+fed64c13 (fixed in 2.7.5-7.module_el8.6.0+2781+fed64c13) |
| AlmaLinux:8 | python2-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:8 | python2-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: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+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-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-12.module_el8.6.0+2781+fed64c13 (fixed in 2017.2-12.module_el8.6.0+2781+fed64c13) |
| 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-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: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-21.module_el8.6.0+2781+fed64c13 (fixed in 1.0.0-21.module_el8.6.0+2781+fed64c13) |
| AlmaLinux:8 | python2-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:8 | python2-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: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-test | All versions before 2.7.18-10.module_el8.6.0+2781+fed64c13.alma (fixed in 2.7.18-10.module_el8.6.0+2781+fed64c13.alma) |
| AlmaLinux:8 | python2-tkinter | All versions before 2.7.18-10.module_el8.6.0+2781+fed64c13.alma (fixed in 2.7.18-10.module_el8.6.0+2781+fed64c13.alma) |
| AlmaLinux:8 | python2-tools | All versions before 2.7.18-10.module_el8.6.0+2781+fed64c13.alma (fixed in 2.7.18-10.module_el8.6.0+2781+fed64c13.alma) |
| AlmaLinux:8 | python2-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:8 | python2-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: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-2022:1821
- https://bugzilla.redhat.com/1995162
- https://bugzilla.redhat.com/1995234
- https://bugzilla.redhat.com/2006792
- https://bugzilla.redhat.com/2032569
- https://bugzilla.redhat.com/2036020
- https://bugzilla.redhat.com/2047376
- https://errata.almalinux.org/8/ALSA-2022-1821.html
- https://vulners.com/cve/CVE-2021-3733
- https://vulners.com/cve/CVE-2021-3737
- https://vulners.com/cve/CVE-2021-4189
- https://vulners.com/cve/CVE-2021-43818
- https://vulners.com/cve/CVE-2022-0391