ADVISORIES

Rocky Linux Security Advisory

RLSA-2021:4162

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.

Affected packages

EcosystemPackageAffected versions
Rocky Linux:8babel
All versions before 0:2.7.0-11.module+el8.5.0+672+ab6eb015 (fixed in 0:2.7.0-11.module+el8.5.0+672+ab6eb015)
Rocky Linux:8Cython
All versions before 0:0.29.14-4.module+el8.4.0+570+c2eaf144 (fixed in 0:0.29.14-4.module+el8.4.0+570+c2eaf144)
Rocky Linux:8mod_wsgi
All versions before 0:4.6.8-3.module+el8.4.0+570+c2eaf144 (fixed in 0:4.6.8-3.module+el8.4.0+570+c2eaf144)
Rocky Linux:8numpy
All versions before 0:1.17.3-6.module+el8.5.0+672+ab6eb015 (fixed in 0:1.17.3-6.module+el8.5.0+672+ab6eb015)
Rocky Linux:8pytest
All versions before 0:4.6.6-3.module+el8.4.0+570+c2eaf144 (fixed in 0:4.6.6-3.module+el8.4.0+570+c2eaf144)
Rocky Linux:8python38
All versions before 0:3.8.8-4.module+el8.5.0+672+ab6eb015 (fixed in 0:3.8.8-4.module+el8.5.0+672+ab6eb015)
Rocky Linux:8python-idna
All versions before 0:2.8-6.module+el8.4.0+570+c2eaf144 (fixed in 0:2.8-6.module+el8.4.0+570+c2eaf144)
Rocky Linux:8python3x-pip
All versions before 0:19.3.1-4.module+el8.5.0+672+ab6eb015 (fixed in 0:19.3.1-4.module+el8.5.0+672+ab6eb015)
Rocky Linux:8python3x-pyparsing
All versions before 0:2.4.5-3.module+el8.4.0+570+c2eaf144 (fixed in 0:2.4.5-3.module+el8.4.0+570+c2eaf144)
Rocky Linux:8python3x-setuptools
All versions before 0:41.6.0-5.module+el8.5.0+672+ab6eb015 (fixed in 0:41.6.0-5.module+el8.5.0+672+ab6eb015)
Rocky Linux:8python3x-six
All versions before 0:1.12.0-10.module+el8.4.0+570+c2eaf144 (fixed in 0:1.12.0-10.module+el8.4.0+570+c2eaf144)
Rocky Linux:8python-asn1crypto
All versions before 0:1.2.0-3.module+el8.4.0+570+c2eaf144 (fixed in 0:1.2.0-3.module+el8.4.0+570+c2eaf144)
Rocky Linux:8python-atomicwrites
All versions before 0:1.3.0-8.module+el8.4.0+570+c2eaf144 (fixed in 0:1.3.0-8.module+el8.4.0+570+c2eaf144)
Rocky Linux:8python-attrs
All versions before 0:19.3.0-3.module+el8.4.0+570+c2eaf144 (fixed in 0:19.3.0-3.module+el8.4.0+570+c2eaf144)
Rocky Linux:8python-cffi
All versions before 0:1.13.2-3.module+el8.4.0+570+c2eaf144 (fixed in 0:1.13.2-3.module+el8.4.0+570+c2eaf144)
Rocky Linux:8python-chardet
All versions before 0:3.0.4-19.module+el8.4.0+570+c2eaf144 (fixed in 0:3.0.4-19.module+el8.4.0+570+c2eaf144)
Rocky Linux:8python-cryptography
All versions before 0:2.8-3.module+el8.5.0+672+ab6eb015 (fixed in 0:2.8-3.module+el8.5.0+672+ab6eb015)
Rocky Linux:8python-cryptography
All versions before 0:2.8-3.module+el8.4.0+570+c2eaf144 (fixed in 0:2.8-3.module+el8.4.0+570+c2eaf144)
Rocky Linux:8python-jinja2
All versions before 0:2.10.3-5.module+el8.5.0+672+ab6eb015 (fixed in 0:2.10.3-5.module+el8.5.0+672+ab6eb015)
Rocky Linux:8python-lxml
All versions before 0:4.4.1-6.module+el8.5.0+672+ab6eb015 (fixed in 0:4.4.1-6.module+el8.5.0+672+ab6eb015)
Rocky Linux:8python-markupsafe
All versions before 0:1.1.1-6.module+el8.4.0+570+c2eaf144 (fixed in 0:1.1.1-6.module+el8.4.0+570+c2eaf144)
Rocky Linux:8python-ply
All versions before 0:3.11-10.module+el8.4.0+570+c2eaf144 (fixed in 0:3.11-10.module+el8.4.0+570+c2eaf144)
Rocky Linux:8python-more-itertools
All versions before 0:7.2.0-5.module+el8.4.0+570+c2eaf144 (fixed in 0:7.2.0-5.module+el8.4.0+570+c2eaf144)
Rocky Linux:8python-packaging
All versions before 0:19.2-3.module+el8.4.0+570+c2eaf144 (fixed in 0:19.2-3.module+el8.4.0+570+c2eaf144)
Rocky Linux:8python-pluggy
All versions before 0:0.13.0-3.module+el8.4.0+570+c2eaf144 (fixed in 0:0.13.0-3.module+el8.4.0+570+c2eaf144)
Rocky Linux:8python-psutil
All versions before 0:5.6.4-4.module+el8.5.0+672+ab6eb015 (fixed in 0:5.6.4-4.module+el8.5.0+672+ab6eb015)
Rocky Linux:8python-psycopg2
All versions before 0:2.8.4-4.module+el8.6.0+794+eba84017 (fixed in 0:2.8.4-4.module+el8.6.0+794+eba84017)
Rocky Linux:8python-psycopg2
All versions before 0:2.8.4-4.module+el8.4.0+570+c2eaf144 (fixed in 0:2.8.4-4.module+el8.4.0+570+c2eaf144)
Rocky Linux:8python-py
All versions before 0:1.8.0-8.module+el8.4.0+570+c2eaf144 (fixed in 0:1.8.0-8.module+el8.4.0+570+c2eaf144)
Rocky Linux:8python-pycparser
All versions before 0:2.19-3.module+el8.4.0+570+c2eaf144 (fixed in 0:2.19-3.module+el8.4.0+570+c2eaf144)
Rocky Linux:8python-PyMySQL
All versions before 0:0.10.1-1.module+el8.5.0+672+ab6eb015 (fixed in 0:0.10.1-1.module+el8.5.0+672+ab6eb015)
Rocky Linux:8python-PyMySQL
All versions before 0:0.10.1-1.module+el8.4.0+570+c2eaf144 (fixed in 0:0.10.1-1.module+el8.4.0+570+c2eaf144)
Rocky Linux:8PyYAML
All versions before 0:5.4.1-1.module+el8.5.0+672+ab6eb015 (fixed in 0:5.4.1-1.module+el8.5.0+672+ab6eb015)
Rocky Linux:8PyYAML
All versions before 0:5.4.1-1.module+el8.4.0+574+843c4898 (fixed in 0:5.4.1-1.module+el8.4.0+574+843c4898)
Rocky Linux:8python-pysocks
All versions before 0:1.7.1-4.module+el8.4.0+570+c2eaf144 (fixed in 0:1.7.1-4.module+el8.4.0+570+c2eaf144)
Rocky Linux:8python-requests
All versions before 0:2.22.0-9.module+el8.4.0+570+c2eaf144 (fixed in 0:2.22.0-9.module+el8.4.0+570+c2eaf144)
Rocky Linux:8python-urllib3
All versions before 0:1.25.7-5.module+el8.5.0+672+ab6eb015 (fixed in 0:1.25.7-5.module+el8.5.0+672+ab6eb015)
Rocky Linux:8python-wcwidth
All versions before 0:0.1.7-16.module+el8.4.0+570+c2eaf144 (fixed in 0:0.1.7-16.module+el8.4.0+570+c2eaf144)
Rocky Linux:8python-wheel
All versions before 0:0.33.6-6.module+el8.5.0+672+ab6eb015 (fixed in 0:0.33.6-6.module+el8.5.0+672+ab6eb015)
Rocky Linux:8pytz
All versions before 0:2019.3-3.module+el8.4.0+570+c2eaf144 (fixed in 0:2019.3-3.module+el8.4.0+570+c2eaf144)
Rocky Linux:8scipy
All versions before 0:1.3.1-4.module+el8.5.0+672+ab6eb015 (fixed in 0:1.3.1-4.module+el8.5.0+672+ab6eb015)
Rocky Linux:8scipy
All versions before 0:1.3.1-4.module+el8.4.0+570+c2eaf144 (fixed in 0:1.3.1-4.module+el8.4.0+570+c2eaf144)

References