Advisory
RLSA-2021:1761
Also known as: CVE-2020-26116, CVE-2020-26137, CVE-2020-27783, CVE-2021-3177
Summary
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 Rocky Linux 8.4 Release Notes linked from the References section.
Severity
Medium Basis: CVSS v3 score 6.5, vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
Dates
- Published
- 2021-05-18 06:02 UTC
- Modified
- 2026-02-04 09:15 UTC
Affected packages and fixes
| Package | Fix |
|---|---|
| babel | sudo dnf upgrade babel-0:2.5.1-9.module+el8.4.0+403+9ae17a31 |
| Cython | sudo dnf upgrade Cython-0:0.28.1-7.module+el8.5.0+706+735ec4b3 |
| Cython | sudo dnf upgrade Cython-0:0.28.1-7.module+el8.4.0+403+9ae17a31 |
| numpy | sudo dnf upgrade numpy-1:1.14.2-16.module+el8.5.0+706+735ec4b3 |
| numpy | sudo dnf upgrade numpy-1:1.14.2-16.module+el8.4.0+403+9ae17a31 |
| pytest | sudo dnf upgrade pytest-0:3.4.2-13.module+el8.5.0+706+735ec4b3 |
| pytest | sudo dnf upgrade pytest-0:3.4.2-13.module+el8.4.0+403+9ae17a31 |
| python2 | sudo dnf upgrade python2-0:2.7.18-4.module+el8.4.0+403+9ae17a31 |
| python2-pip | sudo dnf upgrade python2-pip-0:9.0.3-18.module+el8.4.0+403+9ae17a31 |
| python2-rpm-macros | sudo dnf upgrade python2-rpm-macros-0:3-38.module+el8.4.0+403+9ae17a31 |
| python2-setuptools | sudo dnf upgrade python2-setuptools-0:39.0.1-13.module+el8.4.0+403+9ae17a31 |
| python2-six | sudo dnf upgrade python2-six-0:1.11.0-6.module+el8.4.0+403+9ae17a31 |
| python-attrs | sudo dnf upgrade python-attrs-0:17.4.0-10.module+el8.5.0+706+735ec4b3 |
| python-attrs | sudo dnf upgrade python-attrs-0:17.4.0-10.module+el8.4.0+403+9ae17a31 |
| python-backports | sudo dnf upgrade python-backports-0:1.0-16.module+el8.4.0+403+9ae17a31 |
| python-backports-ssl_match_hostname | sudo dnf upgrade python-backports-ssl_match_hostname-0:3.5.0.1-12.module+el8.4.0+403+9ae17a31 |
| python-chardet | sudo dnf upgrade python-chardet-0:3.0.4-10.module+el8.5.0+706+735ec4b3 |
| python-chardet | sudo dnf upgrade python-chardet-0:3.0.4-10.module+el8.4.0+403+9ae17a31 |
| python-coverage | sudo dnf upgrade python-coverage-0:4.5.1-4.module+el8.5.0+706+735ec4b3 |
| python-coverage | sudo dnf upgrade python-coverage-0:4.5.1-4.module+el8.4.0+403+9ae17a31 |
| python-dns | sudo dnf upgrade python-dns-0:1.15.0-10.module+el8.7.0+1062+663ba31c |
| python-dns | sudo dnf upgrade python-dns-0:1.15.0-10.el8 |
| python-dns | sudo dnf upgrade python-dns-0:1.15.0-10.module+el8.4.0+403+9ae17a31 |
| python-docs | sudo dnf upgrade python-docs-0:2.7.16-2.module+el8.4.0+403+9ae17a31 |
| python-docutils | sudo dnf upgrade python-docutils-0:0.14-12.module+el8.4.0+403+9ae17a31 |
| python-docutils | sudo dnf upgrade python-docutils-0:0.14-12.module+el8.3.0+120+426d8baf |
| python-funcsigs | sudo dnf upgrade python-funcsigs-0:1.0.2-13.module+el8.4.0+403+9ae17a31 |
| python-idna | sudo dnf upgrade python-idna-0:2.5-7.module+el8.5.0+706+735ec4b3 |
| python-idna | sudo dnf upgrade python-idna-0:2.5-7.module+el8.4.0+403+9ae17a31 |
| python-ipaddress | sudo dnf upgrade python-ipaddress-0:1.0.18-6.module+el8.4.0+403+9ae17a31 |
| python-jinja2 | sudo dnf upgrade python-jinja2-0:2.10-8.module+el8.4.0+403+9ae17a31 |
| python-lxml | sudo dnf upgrade python-lxml-0:4.2.3-4.el8 |
| python-lxml | sudo dnf upgrade python-lxml-0:4.2.3-4.module+el8.4.0+403+9ae17a31 |
| python-markupsafe | sudo dnf upgrade python-markupsafe-0:0.23-19.el8 |
| python-markupsafe | sudo dnf upgrade python-markupsafe-0:0.23-19.module+el8.5.0+706+735ec4b3 |
| python-mock | sudo dnf upgrade python-mock-0:2.0.0-13.module+el8.4.0+403+9ae17a31 |
| python-nose | sudo dnf upgrade python-nose-0:1.3.7-30.module+el8.3.0+120+426d8baf |
| python-pluggy | sudo dnf upgrade python-pluggy-0:0.6.0-8.module+el8.5.0+706+735ec4b3 |
| python-pluggy | sudo dnf upgrade python-pluggy-0:0.6.0-8.module+el8.4.0+403+9ae17a31 |
| python-psycopg2 | sudo dnf upgrade python-psycopg2-0:2.7.5-7.el8 |
| python-psycopg2 | sudo dnf upgrade python-psycopg2-0:2.7.5-7.module+el8.5.0+706+735ec4b3 |
| python-py | sudo dnf upgrade python-py-0:1.5.3-6.module+el8.5.0+706+735ec4b3 |
| python-py | sudo dnf upgrade python-py-0:1.5.3-6.module+el8.4.0+403+9ae17a31 |
| python-pygments | sudo dnf upgrade python-pygments-0:2.2.0-20.module+el8.3.0+120+426d8baf |
| python-pymongo | sudo dnf upgrade python-pymongo-0:3.6.1-11.module+el8.3.0+120+426d8baf |
| python-PyMySQL | sudo dnf upgrade python-PyMySQL-0:0.8.0-10.module+el8.5.0+706+735ec4b3 |
| python-PyMySQL | sudo dnf upgrade python-PyMySQL-0:0.8.0-10.module+el8.3.0+120+426d8baf |
| python-pysocks | sudo dnf upgrade python-pysocks-0:1.6.8-6.module+el8.5.0+706+735ec4b3 |
| python-pysocks | sudo dnf upgrade python-pysocks-0:1.6.8-6.module+el8.4.0+403+9ae17a31 |
| python-pytest-mock | sudo dnf upgrade python-pytest-mock-0:1.9.0-4.module+el8.4.0+403+9ae17a31 |
| python-requests | sudo dnf upgrade python-requests-0:2.20.0-3.module+el8.5.0+706+735ec4b3 |
| python-requests | sudo dnf upgrade python-requests-0:2.20.0-3.module+el8.4.0+403+9ae17a31 |
| python-setuptools_scm | sudo dnf upgrade python-setuptools_scm-0:1.15.7-6.module+el8.4.0+403+9ae17a31 |
| python-sqlalchemy | sudo dnf upgrade python-sqlalchemy-0:1.3.2-2.module+el8.4.0+403+9ae17a31 |
| python-sqlalchemy | sudo dnf upgrade python-sqlalchemy-0:1.3.2-2.module+el8.3.0+120+426d8baf |
| python-urllib3 | sudo dnf upgrade python-urllib3-0:1.24.2-3.module+el8.5.0+706+735ec4b3 |
| python-urllib3 | sudo dnf upgrade python-urllib3-0:1.24.2-3.module+el8.4.0+403+9ae17a31 |
| python-virtualenv | sudo dnf upgrade python-virtualenv-0:15.1.0-19.module+el8.3.0+120+426d8baf |
| python-wheel | sudo dnf upgrade python-wheel-1:0.31.1-2.module+el8.3.0+120+426d8baf |
| pytz | sudo dnf upgrade pytz-0:2017.2-12.module+el8.5.0+706+735ec4b3 |
| pytz | sudo dnf upgrade pytz-0:2017.2-12.module+el8.4.0+403+9ae17a31 |
| PyYAML | sudo dnf upgrade PyYAML-0:3.12-16.module+el8.5.0+706+735ec4b3 |
| PyYAML | sudo dnf upgrade PyYAML-0:3.12-16.module+el8.4.0+403+9ae17a31 |
| scipy | sudo dnf upgrade scipy-0:1.0.0-20.module+el8.3.0+120+426d8baf |
Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Links
- https://errata.rockylinux.org/RLSA-2021:1761
- https://bugzilla.redhat.com/show_bug.cgi?id=1883014
- https://bugzilla.redhat.com/show_bug.cgi?id=1883632
- https://bugzilla.redhat.com/show_bug.cgi?id=1886754
- https://bugzilla.redhat.com/show_bug.cgi?id=1901633
- https://bugzilla.redhat.com/show_bug.cgi?id=1918168
Source
Source: Rocky Linux errata (Apollo)
Rocky Linux errata, Rocky Enterprise Software Foundation.