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
| Package | Fix |
|---|---|
| python36 | sudo dnf upgrade python36-0:3.6.8-38.module+el8.5.0+671+195e4563 |
| python-distro | sudo dnf upgrade python-distro-0:1.4.0-2.module+el8.3.0+120+426d8baf |
| python-docs | sudo dnf upgrade python-docs-0:3.6.7-2.module+el8.4.0+597+ddf0ddea |
| python-docs | sudo dnf upgrade python-docs-0:3.6.7-2.module+el8.3.0+120+426d8baf |
| python-docutils | sudo dnf upgrade python-docutils-0:0.14-12.module+el8.4.0+403+9ae17a31 |
| python-docutils | sudo dnf upgrade python-docutils-0:0.14-12.module+el8.3.0+120+426d8baf |
| python-nose | sudo dnf upgrade python-nose-0:1.3.7-31.module+el8.5.0+671+195e4563 |
| python-pygments | sudo dnf upgrade python-pygments-0:2.2.0-22.module+el8.5.0+671+195e4563 |
| python-pymongo | sudo dnf upgrade python-pymongo-0:3.7.0-1.module+el8.5.0+671+195e4563 |
| python-pymongo | sudo dnf upgrade python-pymongo-0:3.7.0-1.module+el8.4.0+597+ddf0ddea |
| python-PyMySQL | sudo dnf upgrade python-PyMySQL-0:0.10.1-2.module+el8.4.0+597+ddf0ddea |
| python-PyMySQL | sudo dnf upgrade python-PyMySQL-0:0.10.1-2.module+el8.4.0+574+843c4898 |
| python-sqlalchemy | sudo dnf upgrade python-sqlalchemy-0:1.3.2-2.module+el8.4.0+403+9ae17a31 |
| python-sqlalchemy | sudo dnf upgrade python-sqlalchemy-0:1.3.2-2.module+el8.3.0+120+426d8baf |
| python-virtualenv | sudo dnf upgrade python-virtualenv-0:15.1.0-21.module+el8.5.0+671+195e4563 |
| python-wheel | sudo dnf upgrade python-wheel-1:0.31.1-3.module+el8.5.0+671+195e4563 |
| scipy | sudo 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
Links
Source
Source: Rocky Linux errata (Apollo)
Rocky Linux errata, Rocky Enterprise Software Foundation.