Advisory

RLSA-2021:4150

Also known as: CVE-2021-20270, CVE-2021-27291

Summary

Moderate: python36:3.6 security and bug fix 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-pygments: Infinite loop in SML lexer may lead to DoS (CVE-2021-20270)
  • python-pygments: ReDoS in multiple lexers (CVE-2021-27291)

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.5, vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Dates

Published
2021-11-09 08:24 UTC
Modified
2026-02-05 09:00 UTC

Affected packages and fixes

17 affected packages; all RPM packages (rpm) · Rocky Linux 8; affected: earlier versions
PackageFix
python36sudo dnf upgrade python36-0:3.6.8-38.module+el8.5.0+671+195e4563
python-distrosudo dnf upgrade python-distro-0:1.4.0-2.module+el8.3.0+120+426d8baf
python-docssudo dnf upgrade python-docs-0:3.6.7-2.module+el8.4.0+597+ddf0ddea
python-docssudo dnf upgrade python-docs-0:3.6.7-2.module+el8.3.0+120+426d8baf
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-nosesudo dnf upgrade python-nose-0:1.3.7-31.module+el8.5.0+671+195e4563
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.10.1-2.module+el8.4.0+597+ddf0ddea
python-PyMySQLsudo dnf upgrade python-PyMySQL-0:0.10.1-2.module+el8.4.0+574+843c4898
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-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
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