ADVISORIES

Rocky Linux Security Advisory

RLSA-2024:2987

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):

  • pypa-setuptools: Regular Expression Denial of Service (ReDoS) in package_index.py (CVE-2022-40897)
  • python: use after free in heappushpop() of heapq module (CVE-2022-48560)
  • python: XML External Entity in XML processing plistlib module (CVE-2022-48565)
  • python-urllib3: Cookie request header isn't stripped during cross-origin redirects (CVE-2023-43804)
  • jinja2: HTML attribute injection when passing user input as keys to xmlattr filter (CVE-2024-22195)

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

Affected packages

EcosystemPackageAffected versions
Rocky Linux:8babel
All versions before 0:2.5.1-10.module+el8.9.0+1531+a18208f5 (fixed in 0:2.5.1-10.module+el8.9.0+1531+a18208f5)
Rocky Linux:8Cython
All versions before 0:0.28.1-7.module+el8.9.0+1531+a18208f5 (fixed in 0:0.28.1-7.module+el8.9.0+1531+a18208f5)
Rocky Linux:8numpy
All versions before 1:1.14.2-16.module+el8.9.0+1531+a18208f5 (fixed in 1:1.14.2-16.module+el8.9.0+1531+a18208f5)
Rocky Linux:8pytest
All versions before 0:3.4.2-13.module+el8.9.0+1531+a18208f5 (fixed in 0:3.4.2-13.module+el8.9.0+1531+a18208f5)
Rocky Linux:8python2
All versions before 0:2.7.18-17.module+el8.10.0+1813+4b021305.rocky.0.2 (fixed in 0:2.7.18-17.module+el8.10.0+1813+4b021305.rocky.0.2)
Rocky Linux:8python2-pip
All versions before 0:9.0.3-19.module+el8.9.0+1531+a18208f5 (fixed in 0:9.0.3-19.module+el8.9.0+1531+a18208f5)
Rocky Linux:8python2-rpm-macros
All versions before 0:3-38.module+el8.9.0+1531+a18208f5 (fixed in 0:3-38.module+el8.9.0+1531+a18208f5)
Rocky Linux:8python2-setuptools
All versions before 0:39.0.1-14.module+el8.10.0+1813+4b021305 (fixed in 0:39.0.1-14.module+el8.10.0+1813+4b021305)
Rocky Linux:8python2-six
All versions before 0:1.11.0-6.module+el8.9.0+1531+a18208f5 (fixed in 0:1.11.0-6.module+el8.9.0+1531+a18208f5)
Rocky Linux:8python-attrs
All versions before 0:17.4.0-10.module+el8.9.0+1531+a18208f5 (fixed in 0:17.4.0-10.module+el8.9.0+1531+a18208f5)
Rocky Linux:8python-backports
All versions before 0:1.0-16.module+el8.9.0+1531+a18208f5 (fixed in 0:1.0-16.module+el8.9.0+1531+a18208f5)
Rocky Linux:8python-backports-ssl_match_hostname
All versions before 0:3.5.0.1-12.module+el8.9.0+1531+a18208f5 (fixed in 0:3.5.0.1-12.module+el8.9.0+1531+a18208f5)
Rocky Linux:8python-chardet
All versions before 0:3.0.4-10.module+el8.9.0+1531+a18208f5 (fixed in 0:3.0.4-10.module+el8.9.0+1531+a18208f5)
Rocky Linux:8python-coverage
All versions before 0:4.5.1-5.module+el8.10.0+1817+0b01df83 (fixed in 0:4.5.1-5.module+el8.10.0+1817+0b01df83)
Rocky Linux:8python-dns
All versions before 0:1.15.0-10.module+el8.9.0+1531+a18208f5 (fixed in 0:1.15.0-10.module+el8.9.0+1531+a18208f5)
Rocky Linux:8python-docs
All versions before 0:2.7.16-2.module+el8.9.0+1531+a18208f5 (fixed in 0:2.7.16-2.module+el8.9.0+1531+a18208f5)
Rocky Linux:8python-docutils
All versions before 0:0.14-12.module+el8.10.0+1592+61442852 (fixed in 0:0.14-12.module+el8.10.0+1592+61442852)
Rocky Linux:8python-docutils
All versions before 0:0.14-12.module+el8.10.0+1910+234ad790 (fixed in 0:0.14-12.module+el8.10.0+1910+234ad790)
Rocky Linux:8python-docutils
All versions before 0:0.14-12.module+el8.9.0+1531+a18208f5 (fixed in 0:0.14-12.module+el8.9.0+1531+a18208f5)
Rocky Linux:8python-funcsigs
All versions before 0:1.0.2-13.module+el8.9.0+1531+a18208f5 (fixed in 0:1.0.2-13.module+el8.9.0+1531+a18208f5)
Rocky Linux:8python-idna
All versions before 0:2.5-7.module+el8.9.0+1531+a18208f5 (fixed in 0:2.5-7.module+el8.9.0+1531+a18208f5)
Rocky Linux:8python-ipaddress
All versions before 0:1.0.18-6.module+el8.9.0+1531+a18208f5 (fixed in 0:1.0.18-6.module+el8.9.0+1531+a18208f5)
Rocky Linux:8python-jinja2
All versions before 0:2.10-10.module+el8.10.0+1813+4b021305 (fixed in 0:2.10-10.module+el8.10.0+1813+4b021305)
Rocky Linux:8python-lxml
All versions before 0:4.2.3-6.module+el8.9.0+1531+a18208f5 (fixed in 0:4.2.3-6.module+el8.9.0+1531+a18208f5)
Rocky Linux:8python-markupsafe
All versions before 0:0.23-19.module+el8.9.0+1531+a18208f5 (fixed in 0:0.23-19.module+el8.9.0+1531+a18208f5)
Rocky Linux:8python-mock
All versions before 0:2.0.0-13.module+el8.9.0+1531+a18208f5 (fixed in 0:2.0.0-13.module+el8.9.0+1531+a18208f5)
Rocky Linux:8python-nose
All versions before 0:1.3.7-31.module+el8.10.0+1592+61442852 (fixed in 0:1.3.7-31.module+el8.10.0+1592+61442852)
Rocky Linux:8python-nose
All versions before 0:1.3.7-31.module+el8.10.0+1910+234ad790 (fixed in 0:1.3.7-31.module+el8.10.0+1910+234ad790)
Rocky Linux:8python-nose
All versions before 0:1.3.7-31.module+el8.9.0+1531+a18208f5 (fixed in 0:1.3.7-31.module+el8.9.0+1531+a18208f5)
Rocky Linux:8python-pluggy
All versions before 0:0.6.0-8.module+el8.9.0+1531+a18208f5 (fixed in 0:0.6.0-8.module+el8.9.0+1531+a18208f5)
Rocky Linux:8python-psycopg2
All versions before 0:2.7.5-8.module+el8.10.0+1817+0b01df83 (fixed in 0:2.7.5-8.module+el8.10.0+1817+0b01df83)
Rocky Linux:8python-py
All versions before 0:1.5.3-6.module+el8.9.0+1531+a18208f5 (fixed in 0:1.5.3-6.module+el8.9.0+1531+a18208f5)
Rocky Linux:8python-pygments
All versions before 0:2.2.0-22.module+el8.10.0+1592+61442852 (fixed in 0:2.2.0-22.module+el8.10.0+1592+61442852)
Rocky Linux:8python-pygments
All versions before 0:2.2.0-22.module+el8.10.0+1910+234ad790 (fixed in 0:2.2.0-22.module+el8.10.0+1910+234ad790)
Rocky Linux:8python-pygments
All versions before 0:2.2.0-22.module+el8.9.0+1531+a18208f5 (fixed in 0:2.2.0-22.module+el8.9.0+1531+a18208f5)
Rocky Linux:8python-pymongo
All versions before 0:3.7.0-1.module+el8.10.0+1592+61442852 (fixed in 0:3.7.0-1.module+el8.10.0+1592+61442852)
Rocky Linux:8python-pymongo
All versions before 0:3.7.0-1.module+el8.10.0+1910+234ad790 (fixed in 0:3.7.0-1.module+el8.10.0+1910+234ad790)
Rocky Linux:8python-pymongo
All versions before 0:3.7.0-1.module+el8.9.0+1531+a18208f5 (fixed in 0:3.7.0-1.module+el8.9.0+1531+a18208f5)
Rocky Linux:8python-PyMySQL
All versions before 0:0.8.0-10.module+el8.9.0+1531+a18208f5 (fixed in 0:0.8.0-10.module+el8.9.0+1531+a18208f5)
Rocky Linux:8python-pysocks
All versions before 0:1.6.8-6.module+el8.9.0+1531+a18208f5 (fixed in 0:1.6.8-6.module+el8.9.0+1531+a18208f5)
Rocky Linux:8python-pytest-mock
All versions before 0:1.9.0-4.module+el8.9.0+1531+a18208f5 (fixed in 0:1.9.0-4.module+el8.9.0+1531+a18208f5)
Rocky Linux:8python-requests
All versions before 0:2.20.0-4.module+el8.10.0+1817+0b01df83 (fixed in 0:2.20.0-4.module+el8.10.0+1817+0b01df83)
Rocky Linux:8python-setuptools_scm
All versions before 0:1.15.7-6.module+el8.9.0+1531+a18208f5 (fixed in 0:1.15.7-6.module+el8.9.0+1531+a18208f5)
Rocky Linux:8python-sqlalchemy
All versions before 0:1.3.2-2.module+el8.9.0+1531+a18208f5 (fixed in 0:1.3.2-2.module+el8.9.0+1531+a18208f5)
Rocky Linux:8python-urllib3
All versions before 0:1.24.2-4.module+el8.10.0+1813+4b021305 (fixed in 0:1.24.2-4.module+el8.10.0+1813+4b021305)
Rocky Linux:8python-virtualenv
All versions before 0:15.1.0-22.module+el8.10.0+1592+61442852 (fixed in 0:15.1.0-22.module+el8.10.0+1592+61442852)
Rocky Linux:8python-wheel
All versions before 1:0.31.1-3.module+el8.10.0+1592+61442852 (fixed in 1:0.31.1-3.module+el8.10.0+1592+61442852)
Rocky Linux:8python-wheel
All versions before 1:0.31.1-3.module+el8.10.0+1910+234ad790 (fixed in 1:0.31.1-3.module+el8.10.0+1910+234ad790)
Rocky Linux:8python-wheel
All versions before 1:0.31.1-3.module+el8.9.0+1531+a18208f5 (fixed in 1:0.31.1-3.module+el8.9.0+1531+a18208f5)
Rocky Linux:8pytz
All versions before 0:2017.2-13.module+el8.10.0+1817+0b01df83 (fixed in 0:2017.2-13.module+el8.10.0+1817+0b01df83)
Rocky Linux:8PyYAML
All versions before 0:3.12-16.module+el8.9.0+1531+a18208f5 (fixed in 0:3.12-16.module+el8.9.0+1531+a18208f5)
Rocky Linux:8scipy
All versions before 0:1.0.0-22.module+el8.10.0+1817+0b01df83 (fixed in 0:1.0.0-22.module+el8.10.0+1817+0b01df83)

References