Advisory

RLSA-2021:4162

Also known as: CVE-2019-18874, CVE-2020-27619, CVE-2020-28493, CVE-2021-20095, CVE-2021-23336, CVE-2021-28957, CVE-2021-29921, CVE-2021-33503, CVE-2021-3426, CVE-2021-3572, CVE-2021-42771

Summary

Moderate: python38:3.8 and python38-devel:3.8 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-psutil: Double free because of refcount mishandling (CVE-2019-18874)
  • python-jinja2: ReDoS vulnerability in the urlize filter (CVE-2020-28493)
  • python: Information disclosure via pydoc (CVE-2021-3426)
  • python-babel: Relative path traversal allows attacker to load arbitrary locale files and execute arbitrary code (CVE-2021-20095, CVE-2021-42771)
  • 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-lxml: Missing input sanitization for formaction HTML5 attributes may lead to XSS (CVE-2021-28957)
  • python-ipaddress: Improper input validation of octal strings (CVE-2021-29921)
  • python-urllib3: ReDoS in the parsing of authority part of URL (CVE-2021-33503)
  • python-pip: Incorrect handling of unicode separators in git references (CVE-2021-3572)

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

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

Dates

Published
2021-11-09 12:47 UTC
Modified
2026-02-05 03:45 UTC

Affected packages and fixes

42 affected packages; all RPM packages (rpm) · Rocky Linux 8; affected: earlier versions
PackageFix
babelsudo dnf upgrade babel-0:2.7.0-11.module+el8.5.0+672+ab6eb015
Cythonsudo dnf upgrade Cython-0:0.29.14-4.module+el8.4.0+570+c2eaf144
mod_wsgisudo dnf upgrade mod_wsgi-0:4.6.8-3.module+el8.4.0+570+c2eaf144
numpysudo dnf upgrade numpy-0:1.17.3-6.module+el8.5.0+672+ab6eb015
pytestsudo dnf upgrade pytest-0:4.6.6-3.module+el8.4.0+570+c2eaf144
python38sudo dnf upgrade python38-0:3.8.8-4.module+el8.5.0+672+ab6eb015
python-idnasudo dnf upgrade python-idna-0:2.8-6.module+el8.4.0+570+c2eaf144
python3x-pipsudo dnf upgrade python3x-pip-0:19.3.1-4.module+el8.5.0+672+ab6eb015
python3x-pyparsingsudo dnf upgrade python3x-pyparsing-0:2.4.5-3.module+el8.4.0+570+c2eaf144
python3x-setuptoolssudo dnf upgrade python3x-setuptools-0:41.6.0-5.module+el8.5.0+672+ab6eb015
python3x-sixsudo dnf upgrade python3x-six-0:1.12.0-10.module+el8.4.0+570+c2eaf144
python-asn1cryptosudo dnf upgrade python-asn1crypto-0:1.2.0-3.module+el8.4.0+570+c2eaf144
python-atomicwritessudo dnf upgrade python-atomicwrites-0:1.3.0-8.module+el8.4.0+570+c2eaf144
python-attrssudo dnf upgrade python-attrs-0:19.3.0-3.module+el8.4.0+570+c2eaf144
python-cffisudo dnf upgrade python-cffi-0:1.13.2-3.module+el8.4.0+570+c2eaf144
python-chardetsudo dnf upgrade python-chardet-0:3.0.4-19.module+el8.4.0+570+c2eaf144
python-cryptographysudo dnf upgrade python-cryptography-0:2.8-3.module+el8.5.0+672+ab6eb015
python-cryptographysudo dnf upgrade python-cryptography-0:2.8-3.module+el8.4.0+570+c2eaf144
python-jinja2sudo dnf upgrade python-jinja2-0:2.10.3-5.module+el8.5.0+672+ab6eb015
python-lxmlsudo dnf upgrade python-lxml-0:4.4.1-6.module+el8.5.0+672+ab6eb015
python-markupsafesudo dnf upgrade python-markupsafe-0:1.1.1-6.module+el8.4.0+570+c2eaf144
python-plysudo dnf upgrade python-ply-0:3.11-10.module+el8.4.0+570+c2eaf144
python-more-itertoolssudo dnf upgrade python-more-itertools-0:7.2.0-5.module+el8.4.0+570+c2eaf144
python-packagingsudo dnf upgrade python-packaging-0:19.2-3.module+el8.4.0+570+c2eaf144
python-pluggysudo dnf upgrade python-pluggy-0:0.13.0-3.module+el8.4.0+570+c2eaf144
python-psutilsudo dnf upgrade python-psutil-0:5.6.4-4.module+el8.5.0+672+ab6eb015
python-psycopg2sudo dnf upgrade python-psycopg2-0:2.8.4-4.module+el8.6.0+794+eba84017
python-psycopg2sudo dnf upgrade python-psycopg2-0:2.8.4-4.module+el8.4.0+570+c2eaf144
python-pysudo dnf upgrade python-py-0:1.8.0-8.module+el8.4.0+570+c2eaf144
python-pycparsersudo dnf upgrade python-pycparser-0:2.19-3.module+el8.4.0+570+c2eaf144
python-PyMySQLsudo dnf upgrade python-PyMySQL-0:0.10.1-1.module+el8.5.0+672+ab6eb015
python-PyMySQLsudo dnf upgrade python-PyMySQL-0:0.10.1-1.module+el8.4.0+570+c2eaf144
PyYAMLsudo dnf upgrade PyYAML-0:5.4.1-1.module+el8.5.0+672+ab6eb015
PyYAMLsudo dnf upgrade PyYAML-0:5.4.1-1.module+el8.4.0+574+843c4898
python-pysockssudo dnf upgrade python-pysocks-0:1.7.1-4.module+el8.4.0+570+c2eaf144
python-requestssudo dnf upgrade python-requests-0:2.22.0-9.module+el8.4.0+570+c2eaf144
python-urllib3sudo dnf upgrade python-urllib3-0:1.25.7-5.module+el8.5.0+672+ab6eb015
python-wcwidthsudo dnf upgrade python-wcwidth-0:0.1.7-16.module+el8.4.0+570+c2eaf144
python-wheelsudo dnf upgrade python-wheel-0:0.33.6-6.module+el8.5.0+672+ab6eb015
pytzsudo dnf upgrade pytz-0:2019.3-3.module+el8.4.0+570+c2eaf144
scipysudo dnf upgrade scipy-0:1.3.1-4.module+el8.5.0+672+ab6eb015
scipysudo dnf upgrade scipy-0:1.3.1-4.module+el8.4.0+570+c2eaf144

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