Advisory

RLSA-2021:4151

Also known as: CVE-2020-27619, CVE-2020-28493, CVE-2021-20095, CVE-2021-20270, CVE-2021-23336, CVE-2021-27291, CVE-2021-28957, CVE-2021-42771

Summary

Moderate: python27:2.7 security update

Details

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 Rocky Linux 8.5 Release Notes linked from the References section.

Severity

High Basis: CVSS v3 score 7.8, vector CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Dates

Published
2021-11-09 08:24 UTC
Modified
2026-02-04 16:45 UTC

Affected packages and fixes

65 affected packages; all RPM packages (rpm) · Rocky Linux 8; affected: earlier versions
PackageFix
python-markupsafesudo dnf upgrade python-markupsafe-0:0.23-19.el8
python-markupsafesudo dnf upgrade python-markupsafe-0:0.23-19.module+el8.5.0+706+735ec4b3
babelsudo dnf upgrade babel-0:2.5.1-10.module+el8.5.0+706+735ec4b3
Cythonsudo dnf upgrade Cython-0:0.28.1-7.module+el8.5.0+706+735ec4b3
Cythonsudo dnf upgrade Cython-0:0.28.1-7.module+el8.4.0+403+9ae17a31
numpysudo dnf upgrade numpy-1:1.14.2-16.module+el8.5.0+706+735ec4b3
numpysudo dnf upgrade numpy-1:1.14.2-16.module+el8.4.0+403+9ae17a31
pytestsudo dnf upgrade pytest-0:3.4.2-13.module+el8.5.0+706+735ec4b3
pytestsudo dnf upgrade pytest-0:3.4.2-13.module+el8.4.0+403+9ae17a31
python2sudo dnf upgrade python2-0:2.7.18-7.module+el8.5.0+706+735ec4b3.rocky.0.1
python2-pipsudo dnf upgrade python2-pip-0:9.0.3-18.module+el8.4.0+403+9ae17a31
python2-rpm-macrossudo dnf upgrade python2-rpm-macros-0:3-38.module+el8.4.0+403+9ae17a31
python2-setuptoolssudo dnf upgrade python2-setuptools-0:39.0.1-13.module+el8.4.0+403+9ae17a31
python2-sixsudo dnf upgrade python2-six-0:1.11.0-6.module+el8.4.0+403+9ae17a31
python-attrssudo dnf upgrade python-attrs-0:17.4.0-10.module+el8.5.0+706+735ec4b3
python-attrssudo dnf upgrade python-attrs-0:17.4.0-10.module+el8.4.0+403+9ae17a31
python-backportssudo dnf upgrade python-backports-0:1.0-16.module+el8.4.0+403+9ae17a31
python-backports-ssl_match_hostnamesudo dnf upgrade python-backports-ssl_match_hostname-0:3.5.0.1-12.module+el8.4.0+403+9ae17a31
python-chardetsudo dnf upgrade python-chardet-0:3.0.4-10.module+el8.5.0+706+735ec4b3
python-chardetsudo dnf upgrade python-chardet-0:3.0.4-10.module+el8.4.0+403+9ae17a31
python-coveragesudo dnf upgrade python-coverage-0:4.5.1-4.module+el8.5.0+706+735ec4b3
python-coveragesudo dnf upgrade python-coverage-0:4.5.1-4.module+el8.4.0+403+9ae17a31
python-dnssudo dnf upgrade python-dns-0:1.15.0-10.module+el8.7.0+1062+663ba31c
python-dnssudo dnf upgrade python-dns-0:1.15.0-10.el8
python-dnssudo dnf upgrade python-dns-0:1.15.0-10.module+el8.4.0+403+9ae17a31
python-docssudo dnf upgrade python-docs-0:2.7.16-2.module+el8.4.0+403+9ae17a31
python-docutilssudo dnf upgrade python-docutils-0:0.14-12.module+el8.4.0+403+9ae17a31
python-docutilssudo dnf upgrade python-docutils-0:0.14-12.module+el8.3.0+120+426d8baf
python-funcsigssudo dnf upgrade python-funcsigs-0:1.0.2-13.module+el8.4.0+403+9ae17a31
python-idnasudo dnf upgrade python-idna-0:2.5-7.module+el8.5.0+706+735ec4b3
python-idnasudo dnf upgrade python-idna-0:2.5-7.module+el8.4.0+403+9ae17a31
python-ipaddresssudo dnf upgrade python-ipaddress-0:1.0.18-6.module+el8.4.0+403+9ae17a31
python-jinja2sudo dnf upgrade python-jinja2-0:2.10-9.module+el8.7.0+1062+663ba31c
python-jinja2sudo dnf upgrade python-jinja2-0:2.10-9.module+el8.5.0+706+735ec4b3
python-lxmlsudo dnf upgrade python-lxml-0:4.2.3-5.module+el8.5.0+706+735ec4b3
python-mocksudo dnf upgrade python-mock-0:2.0.0-13.module+el8.4.0+403+9ae17a31
python-nosesudo dnf upgrade python-nose-0:1.3.7-31.module+el8.5.0+671+195e4563
python-pluggysudo dnf upgrade python-pluggy-0:0.6.0-8.module+el8.5.0+706+735ec4b3
python-pluggysudo dnf upgrade python-pluggy-0:0.6.0-8.module+el8.4.0+403+9ae17a31
python-psycopg2sudo dnf upgrade python-psycopg2-0:2.7.5-7.el8
python-psycopg2sudo dnf upgrade python-psycopg2-0:2.7.5-7.module+el8.5.0+706+735ec4b3
python-pysudo dnf upgrade python-py-0:1.5.3-6.module+el8.5.0+706+735ec4b3
python-pysudo dnf upgrade python-py-0:1.5.3-6.module+el8.4.0+403+9ae17a31
python-pygmentssudo dnf upgrade python-pygments-0:2.2.0-22.module+el8.5.0+671+195e4563
python-pymongosudo dnf upgrade python-pymongo-0:3.7.0-1.module+el8.5.0+671+195e4563
python-pymongosudo dnf upgrade python-pymongo-0:3.7.0-1.module+el8.4.0+597+ddf0ddea
python-PyMySQLsudo dnf upgrade python-PyMySQL-0:0.8.0-10.module+el8.5.0+706+735ec4b3
python-PyMySQLsudo dnf upgrade python-PyMySQL-0:0.8.0-10.module+el8.3.0+120+426d8baf
python-pysockssudo dnf upgrade python-pysocks-0:1.6.8-6.module+el8.5.0+706+735ec4b3
python-pysockssudo dnf upgrade python-pysocks-0:1.6.8-6.module+el8.4.0+403+9ae17a31
python-pytest-mocksudo dnf upgrade python-pytest-mock-0:1.9.0-4.module+el8.4.0+403+9ae17a31
python-requestssudo dnf upgrade python-requests-0:2.20.0-3.module+el8.5.0+706+735ec4b3
python-requestssudo dnf upgrade python-requests-0:2.20.0-3.module+el8.4.0+403+9ae17a31
python-setuptools_scmsudo dnf upgrade python-setuptools_scm-0:1.15.7-6.module+el8.4.0+403+9ae17a31
python-sqlalchemysudo dnf upgrade python-sqlalchemy-0:1.3.2-2.module+el8.4.0+403+9ae17a31
python-sqlalchemysudo dnf upgrade python-sqlalchemy-0:1.3.2-2.module+el8.3.0+120+426d8baf
python-urllib3sudo dnf upgrade python-urllib3-0:1.24.2-3.module+el8.5.0+706+735ec4b3
python-urllib3sudo dnf upgrade python-urllib3-0:1.24.2-3.module+el8.4.0+403+9ae17a31
python-virtualenvsudo dnf upgrade python-virtualenv-0:15.1.0-21.module+el8.5.0+671+195e4563
python-wheelsudo dnf upgrade python-wheel-1:0.31.1-3.module+el8.5.0+671+195e4563
pytzsudo dnf upgrade pytz-0:2017.2-12.module+el8.5.0+706+735ec4b3
pytzsudo dnf upgrade pytz-0:2017.2-12.module+el8.4.0+403+9ae17a31
PyYAMLsudo dnf upgrade PyYAML-0:3.12-16.module+el8.5.0+706+735ec4b3
PyYAMLsudo dnf upgrade PyYAML-0:3.12-16.module+el8.4.0+403+9ae17a31
scipysudo dnf upgrade scipy-0:1.0.0-21.module+el8.5.0+671+195e4563

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

View this record on OSV.dev

Source

Source: Rocky Linux errata (Apollo)

Rocky Linux errata, Rocky Enterprise Software Foundation.

Sources & licences